Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +19 -0
templates/index.html
CHANGED
|
@@ -178,6 +178,25 @@
|
|
| 178 |
|
| 179 |
<div id="toast-container"></div>
|
| 180 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 181 |
<script src="{{ url_for('static', filename='script.js') }}"></script>
|
| 182 |
</body>
|
| 183 |
</html>
|
|
|
|
| 178 |
|
| 179 |
<div id="toast-container"></div>
|
| 180 |
|
| 181 |
+
<div id="export-modal" class="premium-modal">
|
| 182 |
+
<div class="premium-modal__overlay" id="export-overlay"></div>
|
| 183 |
+
<div class="premium-modal__container" style="max-width: 320px;">
|
| 184 |
+
<button class="premium-modal__close" id="export-close-btn">✕</button>
|
| 185 |
+
<div class="premium-modal__icon">📥</div>
|
| 186 |
+
<h3 class="premium-modal__title">Export Data</h3>
|
| 187 |
+
<p class="premium-modal__desc">Pilih format file untuk mengunduh hasil tabel Binomial.</p>
|
| 188 |
+
|
| 189 |
+
<div style="display: flex; flex-direction: column; gap: 12px; margin-top: 25px;">
|
| 190 |
+
<button id="btn-export-csv" class="btn-submit" style="background: linear-gradient(135deg, #00f0ff, #0066ff); color: #000;">
|
| 191 |
+
Export .CSV
|
| 192 |
+
</button>
|
| 193 |
+
<button id="btn-export-xlsx" class="btn-submit" style="background: linear-gradient(135deg, #00ff88, #00b359); color: #000;">
|
| 194 |
+
Export .XLSX
|
| 195 |
+
</button>
|
| 196 |
+
</div>
|
| 197 |
+
</div>
|
| 198 |
+
</div>
|
| 199 |
+
|
| 200 |
<script src="{{ url_for('static', filename='script.js') }}"></script>
|
| 201 |
</body>
|
| 202 |
</html>
|