Upload 3 files
Browse files- static/css/style.css +18 -19
- templates/index.html +8 -2
- templates/report.html +7 -7
static/css/style.css
CHANGED
|
@@ -51,9 +51,9 @@ canvas#canvas3d {
|
|
| 51 |
position: relative;
|
| 52 |
z-index: 20;
|
| 53 |
width: 100%;
|
| 54 |
-
max-width:
|
| 55 |
margin: 0 auto;
|
| 56 |
-
padding:
|
| 57 |
display: flex;
|
| 58 |
flex-direction: column;
|
| 59 |
min-height: 100vh;
|
|
@@ -191,16 +191,16 @@ input[type="file"]:hover::file-selector-button {
|
|
| 191 |
/* Metrics Dashboard */
|
| 192 |
.metrics-grid {
|
| 193 |
display: grid;
|
| 194 |
-
grid-template-columns: repeat(auto-fit, minmax(
|
| 195 |
-
gap:
|
| 196 |
-
margin:
|
| 197 |
}
|
| 198 |
|
| 199 |
.metric-item {
|
| 200 |
background: rgba(255, 255, 255, 0.05);
|
| 201 |
backdrop-filter: blur(12px);
|
| 202 |
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 203 |
-
padding: 2rem;
|
| 204 |
transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
|
| 205 |
box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
|
| 206 |
overflow: hidden;
|
|
@@ -215,22 +215,22 @@ input[type="file"]:hover::file-selector-button {
|
|
| 215 |
}
|
| 216 |
|
| 217 |
.metric-value {
|
| 218 |
-
font-size: clamp(
|
| 219 |
font-weight: 900;
|
| 220 |
letter-spacing: -0.05em;
|
| 221 |
display: block;
|
| 222 |
color: white;
|
| 223 |
-
margin-bottom: 0.
|
| 224 |
line-height: 1;
|
| 225 |
}
|
| 226 |
|
| 227 |
.metric-label {
|
| 228 |
-
font-size:
|
| 229 |
text-transform: uppercase;
|
| 230 |
-
letter-spacing: 0.
|
| 231 |
-
opacity:
|
| 232 |
font-weight: 800;
|
| 233 |
-
margin-bottom: 0.
|
| 234 |
display: block;
|
| 235 |
}
|
| 236 |
|
|
@@ -278,7 +278,7 @@ input[type="file"]:hover::file-selector-button {
|
|
| 278 |
width: 100%;
|
| 279 |
overflow-x: auto;
|
| 280 |
overflow-y: auto;
|
| 281 |
-
max-height:
|
| 282 |
background: rgba(255, 255, 255, 0.03);
|
| 283 |
backdrop-filter: blur(10px);
|
| 284 |
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
@@ -286,8 +286,6 @@ input[type="file"]:hover::file-selector-button {
|
|
| 286 |
scrollbar-width: thin;
|
| 287 |
scrollbar-color: var(--secondary-color) transparent;
|
| 288 |
position: relative;
|
| 289 |
-
mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
|
| 290 |
-
-webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
|
| 291 |
}
|
| 292 |
|
| 293 |
/* Smart indicating effect: show more contrast on inner content */
|
|
@@ -433,10 +431,11 @@ td {
|
|
| 433 |
|
| 434 |
.cm-table th,
|
| 435 |
.cm-table td {
|
| 436 |
-
padding: 0.
|
| 437 |
border: 1px solid rgba(255, 255, 255, 0.05);
|
| 438 |
text-align: center;
|
| 439 |
-
min-width:
|
|
|
|
| 440 |
}
|
| 441 |
|
| 442 |
.cm-label-row th {
|
|
@@ -606,12 +605,12 @@ td {
|
|
| 606 |
|
| 607 |
@media (min-width: 1100px) {
|
| 608 |
.report-grid {
|
| 609 |
-
grid-template-columns: 1fr
|
| 610 |
}
|
| 611 |
|
| 612 |
.sticky-side {
|
| 613 |
position: sticky;
|
| 614 |
-
top:
|
| 615 |
height: min-content;
|
| 616 |
}
|
| 617 |
}
|
|
|
|
| 51 |
position: relative;
|
| 52 |
z-index: 20;
|
| 53 |
width: 100%;
|
| 54 |
+
max-width: 1400px;
|
| 55 |
margin: 0 auto;
|
| 56 |
+
padding: 0.5rem 1.5rem;
|
| 57 |
display: flex;
|
| 58 |
flex-direction: column;
|
| 59 |
min-height: 100vh;
|
|
|
|
| 191 |
/* Metrics Dashboard */
|
| 192 |
.metrics-grid {
|
| 193 |
display: grid;
|
| 194 |
+
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
| 195 |
+
gap: 1rem;
|
| 196 |
+
margin: 1.5rem 0;
|
| 197 |
}
|
| 198 |
|
| 199 |
.metric-item {
|
| 200 |
background: rgba(255, 255, 255, 0.05);
|
| 201 |
backdrop-filter: blur(12px);
|
| 202 |
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 203 |
+
padding: 1.2rem;
|
| 204 |
transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
|
| 205 |
box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
|
| 206 |
overflow: hidden;
|
|
|
|
| 215 |
}
|
| 216 |
|
| 217 |
.metric-value {
|
| 218 |
+
font-size: clamp(1.8rem, 4vw, 2.8rem);
|
| 219 |
font-weight: 900;
|
| 220 |
letter-spacing: -0.05em;
|
| 221 |
display: block;
|
| 222 |
color: white;
|
| 223 |
+
margin-bottom: 0.2rem;
|
| 224 |
line-height: 1;
|
| 225 |
}
|
| 226 |
|
| 227 |
.metric-label {
|
| 228 |
+
font-size: 11px;
|
| 229 |
text-transform: uppercase;
|
| 230 |
+
letter-spacing: 0.2em;
|
| 231 |
+
opacity: 0.8;
|
| 232 |
font-weight: 800;
|
| 233 |
+
margin-bottom: 0.2rem;
|
| 234 |
display: block;
|
| 235 |
}
|
| 236 |
|
|
|
|
| 278 |
width: 100%;
|
| 279 |
overflow-x: auto;
|
| 280 |
overflow-y: auto;
|
| 281 |
+
max-height: 420px;
|
| 282 |
background: rgba(255, 255, 255, 0.03);
|
| 283 |
backdrop-filter: blur(10px);
|
| 284 |
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
|
|
| 286 |
scrollbar-width: thin;
|
| 287 |
scrollbar-color: var(--secondary-color) transparent;
|
| 288 |
position: relative;
|
|
|
|
|
|
|
| 289 |
}
|
| 290 |
|
| 291 |
/* Smart indicating effect: show more contrast on inner content */
|
|
|
|
| 431 |
|
| 432 |
.cm-table th,
|
| 433 |
.cm-table td {
|
| 434 |
+
padding: 0.4rem;
|
| 435 |
border: 1px solid rgba(255, 255, 255, 0.05);
|
| 436 |
text-align: center;
|
| 437 |
+
min-width: 35px;
|
| 438 |
+
font-size: 10px;
|
| 439 |
}
|
| 440 |
|
| 441 |
.cm-label-row th {
|
|
|
|
| 605 |
|
| 606 |
@media (min-width: 1100px) {
|
| 607 |
.report-grid {
|
| 608 |
+
grid-template-columns: 1fr 380px;
|
| 609 |
}
|
| 610 |
|
| 611 |
.sticky-side {
|
| 612 |
position: sticky;
|
| 613 |
+
top: 1rem;
|
| 614 |
height: min-content;
|
| 615 |
}
|
| 616 |
}
|
templates/index.html
CHANGED
|
@@ -139,8 +139,14 @@
|
|
| 139 |
}
|
| 140 |
const displayP = Math.floor(p);
|
| 141 |
loaderBar.style.width = displayP + '%';
|
| 142 |
-
|
| 143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
});
|
| 145 |
|
| 146 |
function confirmFlush() {
|
|
|
|
| 139 |
}
|
| 140 |
const displayP = Math.floor(p);
|
| 141 |
loaderBar.style.width = displayP + '%';
|
| 142 |
+
|
| 143 |
+
let phase = "ANALYZING";
|
| 144 |
+
if (displayP > 30) phase = "INFERENCING";
|
| 145 |
+
if (displayP > 70) phase = "GRADATING";
|
| 146 |
+
if (displayP > 90) phase = "COMPILING REPORT";
|
| 147 |
+
|
| 148 |
+
loaderText.innerText = `PROCS / ${phase} DATA [${displayP}%]`;
|
| 149 |
+
}, 80);
|
| 150 |
});
|
| 151 |
|
| 152 |
function confirmFlush() {
|
templates/report.html
CHANGED
|
@@ -20,13 +20,13 @@
|
|
| 20 |
</div>
|
| 21 |
</nav>
|
| 22 |
|
| 23 |
-
<header>
|
| 24 |
-
<
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
<a href="/download/{{ report_file }}" class="btn-launch" style="text-decoration: none;">Export Result
|
| 28 |
-
Dataset</a>
|
| 29 |
</div>
|
|
|
|
|
|
|
| 30 |
</header>
|
| 31 |
|
| 32 |
{% if metrics %}
|
|
@@ -129,7 +129,7 @@
|
|
| 129 |
</div>
|
| 130 |
{% endif %}
|
| 131 |
|
| 132 |
-
<section class="upload-card" style="margin-top:
|
| 133 |
<p class="label-mini">Inference Manifest</p>
|
| 134 |
<div class="table-wrapper">
|
| 135 |
<table>
|
|
|
|
| 20 |
</div>
|
| 21 |
</nav>
|
| 22 |
|
| 23 |
+
<header style="display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1rem;">
|
| 24 |
+
<div>
|
| 25 |
+
<p class="label-mini">Batch Processing Overview</p>
|
| 26 |
+
<h1 style="font-size: 3rem;">ANALYTICS <span class="italic">REPORT</span></h1>
|
|
|
|
|
|
|
| 27 |
</div>
|
| 28 |
+
<a href="/download/{{ report_file }}" class="btn-launch"
|
| 29 |
+
style="text-decoration: none; padding: 0.8rem 1.5rem; font-size: 10px;">Export Result Dataset</a>
|
| 30 |
</header>
|
| 31 |
|
| 32 |
{% if metrics %}
|
|
|
|
| 129 |
</div>
|
| 130 |
{% endif %}
|
| 131 |
|
| 132 |
+
<section class="upload-card" style="margin-top: 1rem; padding: 1.5rem; border-radius: 8px;">
|
| 133 |
<p class="label-mini">Inference Manifest</p>
|
| 134 |
<div class="table-wrapper">
|
| 135 |
<table>
|