Spaces:
Sleeping
Sleeping
upadte the dashboard
Browse files- redmindgen.log +0 -0
- static/css/dashboard1.css +89 -4
- static/css/data_connectors.css +123 -2
- static/css/sidepane.css +8 -0
- templates/dashboard.html +140 -47
- templates/data_connectors.html +44 -50
- templates/index.html +48 -21
- templates/prompt_template.html +1 -1
redmindgen.log
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
static/css/dashboard1.css
CHANGED
|
@@ -4,6 +4,20 @@
|
|
| 4 |
border-color: #0d6efd;
|
| 5 |
}
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
#sidebarToggle {
|
| 8 |
border-radius: 4px;
|
| 9 |
margin-left: 250px;
|
|
@@ -20,9 +34,10 @@
|
|
| 20 |
.wrapper {
|
| 21 |
flex: 1;
|
| 22 |
padding: 10px;
|
| 23 |
-
margin-left:
|
| 24 |
/* Default sidebar width */
|
| 25 |
transition: margin-left 0.3s ease;
|
|
|
|
| 26 |
}
|
| 27 |
|
| 28 |
.main-header {
|
|
@@ -35,6 +50,10 @@
|
|
| 35 |
border-radius: 8px;
|
| 36 |
overflow: hidden;
|
| 37 |
transition: background-color 0.3s ease;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
}
|
| 39 |
|
| 40 |
.card-body {
|
|
@@ -60,20 +79,86 @@
|
|
| 60 |
}
|
| 61 |
|
| 62 |
.fs-30 {
|
| 63 |
-
font-size:
|
|
|
|
| 64 |
}
|
| 65 |
|
| 66 |
.fs-48 {
|
| 67 |
-
font-size:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
}
|
| 69 |
|
| 70 |
|
| 71 |
/* Responsive Styles */
|
| 72 |
-
@media (max-width:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
.wrapper {
|
| 74 |
margin-left: 200px;
|
| 75 |
}
|
| 76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
.main-header {
|
| 78 |
padding: 15px;
|
| 79 |
}
|
|
|
|
| 4 |
border-color: #0d6efd;
|
| 5 |
}
|
| 6 |
|
| 7 |
+
body {
|
| 8 |
+
background-color: white;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
select {
|
| 12 |
+
border: 1px solid rgba(0, 0, 0, 0.468) !important;
|
| 13 |
+
height: 45px !important;
|
| 14 |
+
color: rgba(0, 0, 0, 0.468) !important;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.canvasjs-chart-credit {
|
| 18 |
+
display: none !important;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
#sidebarToggle {
|
| 22 |
border-radius: 4px;
|
| 23 |
margin-left: 250px;
|
|
|
|
| 34 |
.wrapper {
|
| 35 |
flex: 1;
|
| 36 |
padding: 10px;
|
| 37 |
+
margin-left: 250px;
|
| 38 |
/* Default sidebar width */
|
| 39 |
transition: margin-left 0.3s ease;
|
| 40 |
+
flex-wrap: wrap;
|
| 41 |
}
|
| 42 |
|
| 43 |
.main-header {
|
|
|
|
| 50 |
border-radius: 8px;
|
| 51 |
overflow: hidden;
|
| 52 |
transition: background-color 0.3s ease;
|
| 53 |
+
font-size: 20px !important;
|
| 54 |
+
max-width: 350px !important;
|
| 55 |
+
min-width: 300px;
|
| 56 |
+
|
| 57 |
}
|
| 58 |
|
| 59 |
.card-body {
|
|
|
|
| 79 |
}
|
| 80 |
|
| 81 |
.fs-30 {
|
| 82 |
+
font-size: 20px !important;
|
| 83 |
+
margin-right: 25px !important;
|
| 84 |
}
|
| 85 |
|
| 86 |
.fs-48 {
|
| 87 |
+
font-size: 40px !important;
|
| 88 |
+
margin-right: 25px !important;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
.card {
|
| 92 |
+
padding: 15px 0px;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
body {
|
| 96 |
+
height: 100dvh;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
.row {
|
| 100 |
+
display: flex !important;
|
| 101 |
+
flex-wrap: wrap !important;
|
| 102 |
+
row-gap: 20px;
|
| 103 |
+
column-gap: 20px;
|
| 104 |
+
align-items: center;
|
| 105 |
+
justify-content: center;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
.graph {
|
| 109 |
+
display: flex;
|
| 110 |
+
flex-wrap: wrap;
|
| 111 |
+
justify-content: space-between;
|
| 112 |
+
gap: 20px;
|
| 113 |
+
/* Adds space between the charts */
|
| 114 |
+
padding: 20px;
|
| 115 |
+
margin-top: 10px !important;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
.graph1 {
|
| 119 |
+
flex: 1 1 45%;
|
| 120 |
+
min-width: 300px;
|
| 121 |
+
height: auto;
|
| 122 |
+
display: flex;
|
| 123 |
+
flex-direction: column;
|
| 124 |
+
align-items: center;
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
canvas {
|
| 128 |
+
min-width: 350px !important;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
#chartContainer,
|
| 132 |
+
#chartContainer1 {
|
| 133 |
+
max-width: 100%;
|
| 134 |
+
min-width: 100%;
|
| 135 |
+
height: 350px;
|
| 136 |
+
|
| 137 |
}
|
| 138 |
|
| 139 |
|
| 140 |
/* Responsive Styles */
|
| 141 |
+
@media (max-width: 991px) {
|
| 142 |
+
#sidebarToggle {
|
| 143 |
+
display: block !important;
|
| 144 |
+
margin-left: 210px !important;
|
| 145 |
+
border: 2px solid rgba(0, 0, 0, 0.384);
|
| 146 |
+
color: rgba(0, 0, 0, 0.404) !important;
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
.wrapper {
|
| 150 |
margin-left: 200px;
|
| 151 |
}
|
| 152 |
|
| 153 |
+
.graph {
|
| 154 |
+
margin-left: -220px;
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
.graph1 h1 {
|
| 158 |
+
font-size: 20px;
|
| 159 |
+
margin-top: 20px;
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
.main-header {
|
| 163 |
padding: 15px;
|
| 164 |
}
|
static/css/data_connectors.css
CHANGED
|
@@ -47,8 +47,8 @@ body {
|
|
| 47 |
.form-group input,
|
| 48 |
.form-group select,
|
| 49 |
.form-group textarea {
|
| 50 |
-
width:
|
| 51 |
-
margin-right: 10% !important;
|
| 52 |
padding: 2px;
|
| 53 |
border: 1px solid #ccc;
|
| 54 |
|
|
@@ -191,6 +191,7 @@ aside {
|
|
| 191 |
margin-top: 100px !important;
|
| 192 |
}
|
| 193 |
|
|
|
|
| 194 |
.navbar {
|
| 195 |
|
| 196 |
margin-left: 0px !important;
|
|
@@ -216,3 +217,123 @@ textarea {
|
|
| 216 |
padding: 10px !important;
|
| 217 |
line-height: 35px !important;
|
| 218 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
.form-group input,
|
| 48 |
.form-group select,
|
| 49 |
.form-group textarea {
|
| 50 |
+
width: 100%;
|
| 51 |
+
/* margin-right: 10% !important; */
|
| 52 |
padding: 2px;
|
| 53 |
border: 1px solid #ccc;
|
| 54 |
|
|
|
|
| 191 |
margin-top: 100px !important;
|
| 192 |
}
|
| 193 |
|
| 194 |
+
|
| 195 |
.navbar {
|
| 196 |
|
| 197 |
margin-left: 0px !important;
|
|
|
|
| 217 |
padding: 10px !important;
|
| 218 |
line-height: 35px !important;
|
| 219 |
}
|
| 220 |
+
|
| 221 |
+
.btn1 {
|
| 222 |
+
padding: 6px;
|
| 223 |
+
border: 0.5px solid rgba(0, 0, 0, 0.413);
|
| 224 |
+
color: rgba(0, 0, 0, 0.507);
|
| 225 |
+
background-color: white !important;
|
| 226 |
+
|
| 227 |
+
}
|
| 228 |
+
|
| 229 |
+
.paginate_button {
|
| 230 |
+
color: rgba(0, 0, 0, 0.507);
|
| 231 |
+
padding: 5px;
|
| 232 |
+
margin-left: 5px;
|
| 233 |
+
}
|
| 234 |
+
|
| 235 |
+
@media screen and (max-width:800px) {
|
| 236 |
+
.form-label {
|
| 237 |
+
width: auto !important;
|
| 238 |
+
overflow: hidden !important;
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
.form-group1 {}
|
| 242 |
+
|
| 243 |
+
#selectedTables {
|
| 244 |
+
margin-top: 350px !important;
|
| 245 |
+
margin-left: 185px;
|
| 246 |
+
width: 300px !important;
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
#schema-table-section {
|
| 250 |
+
margin-left: 70px !important;
|
| 251 |
+
height: auto !important
|
| 252 |
+
}
|
| 253 |
+
|
| 254 |
+
#saveBtn {
|
| 255 |
+
margin-top: 350px !important;
|
| 256 |
+
width: 300px !important;
|
| 257 |
+
margin-left: -50px;
|
| 258 |
+
}
|
| 259 |
+
|
| 260 |
+
.dropdown-menu {
|
| 261 |
+
width: 320px !important;
|
| 262 |
+
}
|
| 263 |
+
|
| 264 |
+
select {
|
| 265 |
+
width: 265px !important;
|
| 266 |
+
|
| 267 |
+
}
|
| 268 |
+
|
| 269 |
+
#labelselected {
|
| 270 |
+
display: block !important;
|
| 271 |
+
z-index: 20;
|
| 272 |
+
}
|
| 273 |
+
|
| 274 |
+
}
|
| 275 |
+
|
| 276 |
+
@media screen and (max-width:600px) {
|
| 277 |
+
|
| 278 |
+
.main-header {
|
| 279 |
+
width: 100%;
|
| 280 |
+
overflow: hidden;
|
| 281 |
+
z-index: 0;
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
.btn-container button {
|
| 285 |
+
max-width: 100% !important;
|
| 286 |
+
min-width: 320px;
|
| 287 |
+
margin-bottom: 10px;
|
| 288 |
+
overflow: hidden;
|
| 289 |
+
margin-left: 70px;
|
| 290 |
+
|
| 291 |
+
}
|
| 292 |
+
|
| 293 |
+
#connectBtn {
|
| 294 |
+
margin-left: 80px;
|
| 295 |
+
|
| 296 |
+
}
|
| 297 |
+
|
| 298 |
+
#btnbox {
|
| 299 |
+
width: 800px !important;
|
| 300 |
+
padding: 5px !important;
|
| 301 |
+
margin-top: -40px;
|
| 302 |
+
|
| 303 |
+
}
|
| 304 |
+
|
| 305 |
+
#tablename {
|
| 306 |
+
font-size: 25px !important;
|
| 307 |
+
margin-bottom: 3clear
|
| 308 |
+
0px !important;
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
.dataTables_length select {
|
| 312 |
+
width: 50px !important;
|
| 313 |
+
}
|
| 314 |
+
|
| 315 |
+
.dataTables_length {
|
| 316 |
+
margin-bottom: 10px !important;
|
| 317 |
+
font-size: 15px !important;
|
| 318 |
+
}
|
| 319 |
+
|
| 320 |
+
td {
|
| 321 |
+
font-size: 15px !important;
|
| 322 |
+
}
|
| 323 |
+
|
| 324 |
+
.dataTables_info {
|
| 325 |
+
padding-bottom: 20px !important;
|
| 326 |
+
}
|
| 327 |
+
|
| 328 |
+
.dataTables_paginate {
|
| 329 |
+
padding-bottom: 40px !important;
|
| 330 |
+
}
|
| 331 |
+
|
| 332 |
+
#database {
|
| 333 |
+
max-width: 350px !important;
|
| 334 |
+
min-width: 320px;
|
| 335 |
+
}
|
| 336 |
+
|
| 337 |
+
|
| 338 |
+
|
| 339 |
+
}
|
static/css/sidepane.css
CHANGED
|
@@ -99,6 +99,14 @@ i{
|
|
| 99 |
|
| 100 |
#sidebarToggle{
|
| 101 |
display: block !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
}
|
| 103 |
.main-header{
|
| 104 |
margin-left: -210px;
|
|
|
|
| 99 |
|
| 100 |
#sidebarToggle{
|
| 101 |
display: block !important;
|
| 102 |
+
margin-left: 0px;
|
| 103 |
+
}
|
| 104 |
+
.m-0{
|
| 105 |
+
font-size: 15px !important;
|
| 106 |
+
margin-left: 50px;
|
| 107 |
+
}
|
| 108 |
+
img{
|
| 109 |
+
display: none !important;
|
| 110 |
}
|
| 111 |
.main-header{
|
| 112 |
margin-left: -210px;
|
templates/dashboard.html
CHANGED
|
@@ -14,12 +14,17 @@
|
|
| 14 |
</head>
|
| 15 |
|
| 16 |
<body>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
{% set company_name = company_name %}
|
| 18 |
{% include 'sidepane.html' %}
|
| 19 |
|
| 20 |
<div class="wrapper">
|
| 21 |
<section class="main-header">
|
| 22 |
<div class="container-fluid">
|
|
|
|
| 23 |
<div id="company-block" class="form-group" style="display: none;">
|
| 24 |
<label for="company" class="ml-3" style="display: inline-block; margin-right: 0px;">
|
| 25 |
Select the Company Name to view the details <span class="text-danger">*</span>
|
|
@@ -30,69 +35,64 @@
|
|
| 30 |
</select>
|
| 31 |
</div>
|
| 32 |
|
|
|
|
| 33 |
<div class="row">
|
| 34 |
-
<div class="
|
| 35 |
-
<div class="card
|
| 36 |
-
<div class="
|
| 37 |
-
<
|
| 38 |
-
<
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
</span>
|
| 41 |
-
<div class="media-body">
|
| 42 |
-
<p class="fs-30 text-white mb-2">KnowledgeBase</p>
|
| 43 |
-
<span id="knowledgeBaseCount"
|
| 44 |
-
class="fs-48 text-white font-w600">{{table_count_of_each_table.knowledge_base}}</span>
|
| 45 |
-
</div>
|
| 46 |
</div>
|
| 47 |
</div>
|
| 48 |
</div>
|
| 49 |
</div>
|
| 50 |
-
<div class="
|
| 51 |
-
<div class="card
|
| 52 |
-
<div class="
|
| 53 |
-
<
|
| 54 |
-
<
|
| 55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
</span>
|
| 57 |
-
<div class="media-body">
|
| 58 |
-
<p class="fs-30 text-white mb-2">Data connectors</p>
|
| 59 |
-
<span id="dataConnectorsCount"
|
| 60 |
-
class="fs-48 text-white font-w600">{{table_count_of_each_table.data_connectors}}</span>
|
| 61 |
-
</div>
|
| 62 |
</div>
|
| 63 |
</div>
|
| 64 |
</div>
|
| 65 |
</div>
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
|
|
|
|
|
|
| 74 |
</span>
|
| 75 |
-
<div class="media-body">
|
| 76 |
-
<p class="fs-30 text-white mb-2">API Connectors</p>
|
| 77 |
-
<span id="apiConnectorsCount"
|
| 78 |
-
class="fs-48 text-white font-w600">{{table_count_of_each_table.api_connectors}}</span>
|
| 79 |
-
</div>
|
| 80 |
</div>
|
| 81 |
</div>
|
| 82 |
</div>
|
| 83 |
</div>
|
| 84 |
-
<div class="
|
| 85 |
-
<div class="card
|
| 86 |
-
<div class="
|
| 87 |
-
<
|
| 88 |
-
<
|
| 89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
</span>
|
| 91 |
-
<div class="media-body">
|
| 92 |
-
<p class="fs-30 text-white mb-2">Prompt_Templates</p>
|
| 93 |
-
<span id="promptTemplatesCount"
|
| 94 |
-
class="fs-48 text-white font-w600">{{table_count_of_each_table.prompt_templates}}</span>
|
| 95 |
-
</div>
|
| 96 |
</div>
|
| 97 |
</div>
|
| 98 |
</div>
|
|
@@ -100,11 +100,24 @@
|
|
| 100 |
</div>
|
| 101 |
</div>
|
| 102 |
</section>
|
|
|
|
| 103 |
<input type="hidden" id="userRole" name="userRole" value={{role}}>
|
| 104 |
<input type="hidden" id="company_id" name="company_id" value={{company_id}}>
|
| 105 |
<input type="hidden" id="username" name="username" value={{username}}>
|
| 106 |
<input type="hidden" id="company_name" name="company_name" value={{company_name}}>
|
| 107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
</div>
|
| 109 |
|
| 110 |
|
|
@@ -112,8 +125,88 @@
|
|
| 112 |
|
| 113 |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/adminlte.min.js"></script>
|
| 114 |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
|
|
|
|
|
|
|
| 115 |
<script>
|
| 116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
|
| 118 |
// function updateCompanyName(newCompanyName) {
|
| 119 |
// sessionStorage.setItem('company_name', newCompanyName);
|
|
|
|
| 14 |
</head>
|
| 15 |
|
| 16 |
<body>
|
| 17 |
+
<style>
|
| 18 |
+
|
| 19 |
+
</style>
|
| 20 |
+
|
| 21 |
{% set company_name = company_name %}
|
| 22 |
{% include 'sidepane.html' %}
|
| 23 |
|
| 24 |
<div class="wrapper">
|
| 25 |
<section class="main-header">
|
| 26 |
<div class="container-fluid">
|
| 27 |
+
<!-- Company dropdown section, visibility toggled by JS -->
|
| 28 |
<div id="company-block" class="form-group" style="display: none;">
|
| 29 |
<label for="company" class="ml-3" style="display: inline-block; margin-right: 0px;">
|
| 30 |
Select the Company Name to view the details <span class="text-danger">*</span>
|
|
|
|
| 35 |
</select>
|
| 36 |
</div>
|
| 37 |
|
| 38 |
+
<!-- Flex container for the cards -->
|
| 39 |
<div class="row">
|
| 40 |
+
<div class="card bg-primary">
|
| 41 |
+
<div class="card-body">
|
| 42 |
+
<div class="media align-items-center">
|
| 43 |
+
<span class="p-3 mr-3 feature-icon rounded">
|
| 44 |
+
<img src="../static/logos/calendar-silhouette.svg" />
|
| 45 |
+
</span>
|
| 46 |
+
<div class="media-body">
|
| 47 |
+
<p class="fs-20 text-white mb-2">KnowledgeBase</p>
|
| 48 |
+
<span id="knowledgeBaseCount" class="fs-36 text-white font-w600">
|
| 49 |
+
{{table_count_of_each_table.knowledge_base}}
|
| 50 |
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
</div>
|
| 52 |
</div>
|
| 53 |
</div>
|
| 54 |
</div>
|
| 55 |
+
<div class="card bg-info">
|
| 56 |
+
<div class="card-body">
|
| 57 |
+
<div class="media align-items-center">
|
| 58 |
+
<span class="p-3 mr-3 feature-icon rounded">
|
| 59 |
+
<img src="../static/logos/calendar-silhouette.svg" />
|
| 60 |
+
</span>
|
| 61 |
+
<div class="media-body">
|
| 62 |
+
<p class="fs-20 text-white mb-2">Data connectors</p>
|
| 63 |
+
<span id="dataConnectorsCount" class="fs-36 text-white font-w600">
|
| 64 |
+
{{table_count_of_each_table.data_connectors}}
|
| 65 |
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
</div>
|
| 67 |
</div>
|
| 68 |
</div>
|
| 69 |
</div>
|
| 70 |
+
<div class="card bg-success">
|
| 71 |
+
<div class="card-body">
|
| 72 |
+
<div class="media align-items-center">
|
| 73 |
+
<span class="p-3 mr-3 feature-icon rounded">
|
| 74 |
+
<img src="../static/logos/email.svg" />
|
| 75 |
+
</span>
|
| 76 |
+
<div class="media-body">
|
| 77 |
+
<p class="fs-20 text-white mb-2">API Connectors</p>
|
| 78 |
+
<span id="apiConnectorsCount" class="fs-36 text-white font-w600">
|
| 79 |
+
{{table_count_of_each_table.api_connectors}}
|
| 80 |
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
</div>
|
| 82 |
</div>
|
| 83 |
</div>
|
| 84 |
</div>
|
| 85 |
+
<div class="card bg-secondary">
|
| 86 |
+
<div class="card-body">
|
| 87 |
+
<div class="media align-items-center">
|
| 88 |
+
<span class="p-3 mr-3 feature-icon rounded">
|
| 89 |
+
<img src="../static/logos/dots.svg" />
|
| 90 |
+
</span>
|
| 91 |
+
<div class="media-body">
|
| 92 |
+
<p class="fs-20 text-white mb-2">Prompt_Templates</p>
|
| 93 |
+
<span id="promptTemplatesCount" class="fs-36 text-white font-w600">
|
| 94 |
+
{{table_count_of_each_table.prompt_templates}}
|
| 95 |
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
</div>
|
| 97 |
</div>
|
| 98 |
</div>
|
|
|
|
| 100 |
</div>
|
| 101 |
</div>
|
| 102 |
</section>
|
| 103 |
+
|
| 104 |
<input type="hidden" id="userRole" name="userRole" value={{role}}>
|
| 105 |
<input type="hidden" id="company_id" name="company_id" value={{company_id}}>
|
| 106 |
<input type="hidden" id="username" name="username" value={{username}}>
|
| 107 |
<input type="hidden" id="company_name" name="company_name" value={{company_name}}>
|
| 108 |
|
| 109 |
+
<div class="graph">
|
| 110 |
+
<div class="graph1">
|
| 111 |
+
<h1 class="text-center">API Usage</h1>
|
| 112 |
+
<div id="chartContainer"></div>
|
| 113 |
+
</div>
|
| 114 |
+
|
| 115 |
+
<div class="graph1">
|
| 116 |
+
<h1 class="text-center">Customer Feedback</h1>
|
| 117 |
+
<div id="chartContainer1"></div>
|
| 118 |
+
</div>
|
| 119 |
+
</div>
|
| 120 |
+
|
| 121 |
</div>
|
| 122 |
|
| 123 |
|
|
|
|
| 125 |
|
| 126 |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/adminlte.min.js"></script>
|
| 127 |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
|
| 128 |
+
<script src="https://canvasjs.com/assets/script/jquery-1.11.1.min.js"></script>
|
| 129 |
+
<script src="https://cdn.canvasjs.com/jquery.canvasjs.min.js"></script>
|
| 130 |
<script>
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
window.onload = function () {
|
| 134 |
+
|
| 135 |
+
var chart = new CanvasJS.Chart("chartContainer", {
|
| 136 |
+
animationEnabled: true,
|
| 137 |
+
|
| 138 |
+
axisX: {
|
| 139 |
+
valueFormatString: "DD MMM",
|
| 140 |
+
crosshair: {
|
| 141 |
+
enabled: true,
|
| 142 |
+
snapToDataPoint: true
|
| 143 |
+
}
|
| 144 |
+
},
|
| 145 |
+
axisY: {
|
| 146 |
+
title: "",
|
| 147 |
+
valueFormatString: "##0.00",
|
| 148 |
+
crosshair: {
|
| 149 |
+
enabled: true,
|
| 150 |
+
snapToDataPoint: true,
|
| 151 |
+
labelFormatter: function (e) {
|
| 152 |
+
return CanvasJS.formatNumber(e.value, "##0.00");
|
| 153 |
+
}
|
| 154 |
+
}
|
| 155 |
+
},
|
| 156 |
+
data: [{
|
| 157 |
+
type: "area",
|
| 158 |
+
xValueFormatString: "DD MMM",
|
| 159 |
+
yValueFormatString: "$##0.00",
|
| 160 |
+
dataPoints: [
|
| 161 |
+
{ x: new Date(2016, 7, 1), y: 76.727997 },
|
| 162 |
+
{ x: new Date(2016, 7, 2), y: 75.459999 },
|
| 163 |
+
{ x: new Date(2016, 7, 3), y: 76.011002 },
|
| 164 |
+
{ x: new Date(2016, 7, 4), y: 75.751999 },
|
| 165 |
+
{ x: new Date(2016, 7, 5), y: 77.500000 },
|
| 166 |
+
{ x: new Date(2016, 7, 8), y: 77.436996 },
|
| 167 |
+
{ x: new Date(2016, 7, 9), y: 79.650002 },
|
| 168 |
+
{ x: new Date(2016, 7, 10), y: 79.750999 },
|
| 169 |
+
{ x: new Date(2016, 7, 11), y: 80.169998 },
|
| 170 |
+
{ x: new Date(2016, 7, 12), y: 79.570000 },
|
| 171 |
+
{ x: new Date(2016, 7, 15), y: 80.699997 },
|
| 172 |
+
{ x: new Date(2016, 7, 16), y: 79.686996 },
|
| 173 |
+
{ x: new Date(2016, 7, 17), y: 78.996002 },
|
| 174 |
+
{ x: new Date(2016, 7, 18), y: 78.899002 },
|
| 175 |
+
{ x: new Date(2016, 7, 19), y: 77.127998 },
|
| 176 |
+
{ x: new Date(2016, 7, 22), y: 76.759003 },
|
| 177 |
+
{ x: new Date(2016, 7, 23), y: 77.480003 },
|
| 178 |
+
{ x: new Date(2016, 7, 24), y: 77.623001 },
|
| 179 |
+
{ x: new Date(2016, 7, 25), y: 76.408997 },
|
| 180 |
+
{ x: new Date(2016, 7, 26), y: 76.041000 },
|
| 181 |
+
{ x: new Date(2016, 7, 29), y: 76.778999 },
|
| 182 |
+
{ x: new Date(2016, 7, 30), y: 78.654999 },
|
| 183 |
+
{ x: new Date(2016, 7, 31), y: 77.667000 }
|
| 184 |
+
]
|
| 185 |
+
}]
|
| 186 |
+
});
|
| 187 |
+
chart.render();
|
| 188 |
+
|
| 189 |
+
|
| 190 |
+
var chart = new CanvasJS.Chart("chartContainer1", {
|
| 191 |
+
animationEnabled: true,
|
| 192 |
+
data: [{
|
| 193 |
+
type: "doughnut",
|
| 194 |
+
startAngle: 60,
|
| 195 |
+
//innerRadius: 60,
|
| 196 |
+
indexLabelFontSize: 17,
|
| 197 |
+
indexLabel: "{label} - #percent%",
|
| 198 |
+
toolTipContent: "<b>{label}:</b> {y} (#percent%)",
|
| 199 |
+
dataPoints: [
|
| 200 |
+
{ y: 20, label: "Netural" },
|
| 201 |
+
{ y: 30, label: "Negative" },
|
| 202 |
+
{ y: 50, label: "Postive" },
|
| 203 |
+
]
|
| 204 |
+
}]
|
| 205 |
+
});
|
| 206 |
+
chart.render();
|
| 207 |
+
|
| 208 |
+
}
|
| 209 |
+
|
| 210 |
|
| 211 |
// function updateCompanyName(newCompanyName) {
|
| 212 |
// sessionStorage.setItem('company_name', newCompanyName);
|
templates/data_connectors.html
CHANGED
|
@@ -16,19 +16,7 @@
|
|
| 16 |
|
| 17 |
</head>
|
| 18 |
<style>
|
| 19 |
-
|
| 20 |
-
padding: 6px;
|
| 21 |
-
border: 0.5px solid rgba(0, 0, 0, 0.413);
|
| 22 |
-
color: rgba(0, 0, 0, 0.507);
|
| 23 |
-
background-color: white !important;
|
| 24 |
-
|
| 25 |
-
}
|
| 26 |
-
|
| 27 |
-
.paginate_button {
|
| 28 |
-
color: rgba(0, 0, 0, 0.507);
|
| 29 |
-
padding: 5px;
|
| 30 |
-
margin-left: 5px;
|
| 31 |
-
}
|
| 32 |
</style>
|
| 33 |
|
| 34 |
|
|
@@ -57,36 +45,35 @@
|
|
| 57 |
|
| 58 |
<form id="databaseconnectorForm" class="needs-validation" novalidate action="/save_data_connectors"
|
| 59 |
method="post">
|
| 60 |
-
<div class="main" id="main">
|
| 61 |
<div class="form-group">
|
| 62 |
-
<!-- <label for="company_id">company_id</label>--->
|
| 63 |
<input type="hidden" id="company_id" name="company_id" class="form-control" required>
|
| 64 |
</div>
|
| 65 |
-
<h4 id="selectedCompany"
|
| 66 |
<div class="row">
|
| 67 |
-
<div class="col-md-3">
|
| 68 |
<div class="form-group">
|
| 69 |
-
<label for="database">Database Type<span class="text-danger">*</span></label>
|
| 70 |
-
<select
|
| 71 |
<option value="" selected>Select</option>
|
| 72 |
<option value="Postgres">Postgres</option>
|
| 73 |
-
<option value="mysql">
|
| 74 |
</select>
|
| 75 |
</div>
|
| 76 |
</div>
|
| 77 |
-
<div class="col-md-3">
|
| 78 |
<div class="form-group">
|
| 79 |
<label for="server">Server IP <span class="text-danger">*</span></label>
|
| 80 |
<input type="text" id="server" name="server" class="form-control" required>
|
| 81 |
</div>
|
| 82 |
</div>
|
| 83 |
-
<div class="col-md-3">
|
| 84 |
<div class="form-group">
|
| 85 |
<label for="port">Port <span class="text-danger">*</span></label>
|
| 86 |
<input type="text" id="port" name="port" class="form-control" required>
|
| 87 |
</div>
|
| 88 |
</div>
|
| 89 |
-
<div class="col-md-3">
|
| 90 |
<div class="form-group">
|
| 91 |
<label for="databaseName">Database Name <span class="text-danger">*</span></label>
|
| 92 |
<input type="text" id="databaseName" name="databaseName" class="form-control" required>
|
|
@@ -94,50 +81,57 @@
|
|
| 94 |
</div>
|
| 95 |
</div>
|
| 96 |
<div class="row">
|
| 97 |
-
<div class="col-md-3">
|
| 98 |
<div class="form-group">
|
| 99 |
-
<label for="
|
| 100 |
<input type="text" id="username" name="username" class="form-control" required>
|
| 101 |
</div>
|
| 102 |
</div>
|
| 103 |
-
<div class="col-md-3">
|
| 104 |
<div class="form-group">
|
| 105 |
<label for="password">Password <span class="text-danger">*</span></label>
|
| 106 |
<input type="password" id="password" name="password" class="form-control" required>
|
| 107 |
</div>
|
| 108 |
</div>
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
<div class="
|
| 112 |
-
<
|
| 113 |
-
|
| 114 |
-
<button type="reset" class="btn btn-primary">Clear</button>
|
| 115 |
-
</div>
|
| 116 |
</div>
|
| 117 |
</div>
|
| 118 |
</div>
|
| 119 |
</div>
|
| 120 |
|
|
|
|
|
|
|
| 121 |
<!-- Table -->
|
| 122 |
-
<div class="table"
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
</div>
|
| 139 |
|
| 140 |
|
|
|
|
| 141 |
<div id="schema-table-section" style="margin-left: 30px; width: 100%; height: 530px; display: none;">
|
| 142 |
<div class="row">
|
| 143 |
<div class="col-md-3">
|
|
@@ -545,7 +539,7 @@
|
|
| 545 |
}
|
| 546 |
});
|
| 547 |
|
| 548 |
-
|
| 549 |
|
| 550 |
|
| 551 |
|
|
|
|
| 16 |
|
| 17 |
</head>
|
| 18 |
<style>
|
| 19 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
</style>
|
| 21 |
|
| 22 |
|
|
|
|
| 45 |
|
| 46 |
<form id="databaseconnectorForm" class="needs-validation" novalidate action="/save_data_connectors"
|
| 47 |
method="post">
|
| 48 |
+
<div class="container-fluid main" id="main">
|
| 49 |
<div class="form-group">
|
|
|
|
| 50 |
<input type="hidden" id="company_id" name="company_id" class="form-control" required>
|
| 51 |
</div>
|
| 52 |
+
<h4 id="selectedCompany" class="text-center mb-4"></h4>
|
| 53 |
<div class="row">
|
| 54 |
+
<div class="col-md-6 col-lg-3 mb-3">
|
| 55 |
<div class="form-group">
|
| 56 |
+
<label for="database">Database Type <span class="text-danger">*</span></label>
|
| 57 |
+
<select id="database" name="database" class="form-control" required>
|
| 58 |
<option value="" selected>Select</option>
|
| 59 |
<option value="Postgres">Postgres</option>
|
| 60 |
+
<option value="mysql">MySQL</option>
|
| 61 |
</select>
|
| 62 |
</div>
|
| 63 |
</div>
|
| 64 |
+
<div class="col-md-6 col-lg-3 mb-3">
|
| 65 |
<div class="form-group">
|
| 66 |
<label for="server">Server IP <span class="text-danger">*</span></label>
|
| 67 |
<input type="text" id="server" name="server" class="form-control" required>
|
| 68 |
</div>
|
| 69 |
</div>
|
| 70 |
+
<div class="col-md-6 col-lg-3 mb-3">
|
| 71 |
<div class="form-group">
|
| 72 |
<label for="port">Port <span class="text-danger">*</span></label>
|
| 73 |
<input type="text" id="port" name="port" class="form-control" required>
|
| 74 |
</div>
|
| 75 |
</div>
|
| 76 |
+
<div class="col-md-6 col-lg-3 mb-3">
|
| 77 |
<div class="form-group">
|
| 78 |
<label for="databaseName">Database Name <span class="text-danger">*</span></label>
|
| 79 |
<input type="text" id="databaseName" name="databaseName" class="form-control" required>
|
|
|
|
| 81 |
</div>
|
| 82 |
</div>
|
| 83 |
<div class="row">
|
| 84 |
+
<div class="col-md-6 col-lg-3 mb-3">
|
| 85 |
<div class="form-group">
|
| 86 |
+
<label for="username">UserName <span class="text-danger">*</span></label>
|
| 87 |
<input type="text" id="username" name="username" class="form-control" required>
|
| 88 |
</div>
|
| 89 |
</div>
|
| 90 |
+
<div class="col-md-6 col-lg-3 mb-3">
|
| 91 |
<div class="form-group">
|
| 92 |
<label for="password">Password <span class="text-danger">*</span></label>
|
| 93 |
<input type="password" id="password" name="password" class="form-control" required>
|
| 94 |
</div>
|
| 95 |
</div>
|
| 96 |
+
<div class="col-md-12 col-lg-6 d-flex justify-content-center align-items-center mb-3 "
|
| 97 |
+
id="btnbox">
|
| 98 |
+
<div class="btn-container">
|
| 99 |
+
<button type="button" id="connectBtn" class="btn btn-primary me-2">Connect</button>
|
| 100 |
+
<button type="reset" class="btn btn-secondary">Clear</button>
|
|
|
|
|
|
|
| 101 |
</div>
|
| 102 |
</div>
|
| 103 |
</div>
|
| 104 |
</div>
|
| 105 |
|
| 106 |
+
|
| 107 |
+
|
| 108 |
<!-- Table -->
|
| 109 |
+
<div class="container-fluid table-container" style="display: none;" id="table">
|
| 110 |
+
<div class="row">
|
| 111 |
+
<div class="col-12">
|
| 112 |
+
<div class="card shadow p-4">
|
| 113 |
+
<h1 class="text-center fs-4" id="tablename">Selected Tables</h1>
|
| 114 |
+
<div class="table-responsive">
|
| 115 |
+
<table id="adminlte-table" class="table table-bordered table-striped">
|
| 116 |
+
<thead>
|
| 117 |
+
<tr>
|
| 118 |
+
<th>Sno</th>
|
| 119 |
+
<th>Table Name</th>
|
| 120 |
+
<th>Schema Name</th>
|
| 121 |
+
</tr>
|
| 122 |
+
</thead>
|
| 123 |
+
<tbody id="table-body">
|
| 124 |
+
|
| 125 |
+
</tbody>
|
| 126 |
+
</table>
|
| 127 |
+
</div>
|
| 128 |
+
</div>
|
| 129 |
+
</div>
|
| 130 |
+
</div>
|
| 131 |
</div>
|
| 132 |
|
| 133 |
|
| 134 |
+
|
| 135 |
<div id="schema-table-section" style="margin-left: 30px; width: 100%; height: 530px; display: none;">
|
| 136 |
<div class="row">
|
| 137 |
<div class="col-md-3">
|
|
|
|
| 539 |
}
|
| 540 |
});
|
| 541 |
|
| 542 |
+
|
| 543 |
|
| 544 |
|
| 545 |
|
templates/index.html
CHANGED
|
@@ -15,45 +15,72 @@
|
|
| 15 |
|
| 16 |
</style>
|
| 17 |
</head>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
<body class="login-page" style="background-image: url('static/img/Brain.png'); background-size: cover;">
|
| 20 |
-
|
| 21 |
-
<
|
|
|
|
| 22 |
<div class="container" id="container">
|
| 23 |
<div class="form-container sign-in-container">
|
| 24 |
<form action='/validate-user' name='signUpForm' method="post">
|
| 25 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
<input type="text" placeholder="Name" name="username" required />
|
| 27 |
<input type="password" placeholder="Password" name="password" required />
|
| 28 |
-
<button type="submit">Sign in</button>
|
| 29 |
</form>
|
| 30 |
</div>
|
| 31 |
|
| 32 |
-
|
| 33 |
|
| 34 |
-
|
| 35 |
-
<div class="overlay">
|
| 36 |
-
<div class="overlay
|
| 37 |
-
<
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
<div class="
|
| 43 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
</div>
|
| 45 |
-
<h1>RedMindGPT</h1>
|
| 46 |
-
<p> Start Journey With Us</p>
|
| 47 |
</div>
|
| 48 |
</div>
|
| 49 |
</div>
|
| 50 |
-
</
|
| 51 |
-
</main>
|
| 52 |
|
| 53 |
-
|
| 54 |
<p>Developed with <i class="fas fa-heart"></i> by <a href="#">RedMind</a></p>
|
| 55 |
</footer> -->
|
| 56 |
|
| 57 |
-
</body>
|
| 58 |
|
| 59 |
</html>
|
|
|
|
| 15 |
|
| 16 |
</style>
|
| 17 |
</head>
|
| 18 |
+
<style>
|
| 19 |
+
@media screen and (max-width:770px) {
|
| 20 |
+
.one{
|
| 21 |
+
display: block !important;
|
| 22 |
+
margin-top: -50px;
|
| 23 |
+
}
|
| 24 |
+
#text{
|
| 25 |
+
display: none;
|
| 26 |
+
}
|
| 27 |
+
#redmind{
|
| 28 |
+
margin-top: -40px;
|
| 29 |
+
margin-bottom: 50px;
|
| 30 |
+
font-size: 25px;
|
| 31 |
+
font-family: sans-serif;
|
| 32 |
+
font-weight: lighter;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
}
|
| 36 |
+
</style>
|
| 37 |
|
| 38 |
<body class="login-page" style="background-image: url('static/img/Brain.png'); background-size: cover;">
|
| 39 |
+
|
| 40 |
+
<body class="login-page" style="background-image: url('static/img/Brain.png'); background-size: cover;">
|
| 41 |
+
<main>
|
| 42 |
<div class="container" id="container">
|
| 43 |
<div class="form-container sign-in-container">
|
| 44 |
<form action='/validate-user' name='signUpForm' method="post">
|
| 45 |
+
<div class="one" style="display: none;">
|
| 46 |
+
<div class="logo-container">
|
| 47 |
+
<img src="/static/img/redmindlogo3.jpg" alt="Logo" class="logo">
|
| 48 |
+
</div>
|
| 49 |
+
<h1 id="redmind">RedMindGPT</h1>
|
| 50 |
+
|
| 51 |
+
</div>
|
| 52 |
+
<h1 id="text" style="margin-bottom: 50px;">Sign in</h1>
|
| 53 |
<input type="text" placeholder="Name" name="username" required />
|
| 54 |
<input type="password" placeholder="Password" name="password" required />
|
| 55 |
+
<button type="submit" >Sign in</button>
|
| 56 |
</form>
|
| 57 |
</div>
|
| 58 |
|
|
|
|
| 59 |
|
| 60 |
+
|
| 61 |
+
<div class="overlay-container">
|
| 62 |
+
<div class="overlay">
|
| 63 |
+
<div class="overlay-panel overlay-left">
|
| 64 |
+
<h1>Welcome Back!</h1>
|
| 65 |
+
<p>To keep connected with us please login with your personal info</p>
|
| 66 |
+
<button type="submit" class="ghost" id="signIn">Sign In</button>
|
| 67 |
+
</div>
|
| 68 |
+
<div class="overlay-panel overlay-right">
|
| 69 |
+
<div class="logo-container">
|
| 70 |
+
<img src="/static/img/redmindlogo3.jpg" alt="Logo" class="logo">
|
| 71 |
+
</div>
|
| 72 |
+
<h1>RedMindGPT</h1>
|
| 73 |
+
<p> Start Journey With Us</p>
|
| 74 |
</div>
|
|
|
|
|
|
|
| 75 |
</div>
|
| 76 |
</div>
|
| 77 |
</div>
|
| 78 |
+
</main>
|
|
|
|
| 79 |
|
| 80 |
+
<!-- <footer>
|
| 81 |
<p>Developed with <i class="fas fa-heart"></i> by <a href="#">RedMind</a></p>
|
| 82 |
</footer> -->
|
| 83 |
|
| 84 |
+
</body>
|
| 85 |
|
| 86 |
</html>
|
templates/prompt_template.html
CHANGED
|
@@ -72,7 +72,7 @@
|
|
| 72 |
<div class="col-12">
|
| 73 |
<div class="card">
|
| 74 |
<div class="card-body table-container">
|
| 75 |
-
<button class="btn btn-primary me-3" id="add">Add</button>
|
| 76 |
<table id="promptTable" class="table table-bordered table-striped">
|
| 77 |
<thead>
|
| 78 |
<tr>
|
|
|
|
| 72 |
<div class="col-12">
|
| 73 |
<div class="card">
|
| 74 |
<div class="card-body table-container">
|
| 75 |
+
<button class="btn btn-primary me-3" id="add">Add</button>
|
| 76 |
<table id="promptTable" class="table table-bordered table-striped">
|
| 77 |
<thead>
|
| 78 |
<tr>
|