Spaces:
Sleeping
Sleeping
imseldrith
commited on
Commit
•
6ad04d4
1
Parent(s):
06c0fa4
Update templates/index.html
Browse files- templates/index.html +13 -6
templates/index.html
CHANGED
@@ -107,7 +107,7 @@
|
|
107 |
}
|
108 |
}
|
109 |
|
110 |
-
|
111 |
display: inline-block;
|
112 |
width: 40px;
|
113 |
height: 40px;
|
@@ -241,11 +241,18 @@
|
|
241 |
<p>Built with ❤️ by <a href="https://codegenius.me" style="color: red;">Ashiq Hussain Mir</a></p>
|
242 |
</footer>
|
243 |
<script>
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
|
250 |
</body>
|
251 |
</html>
|
|
|
107 |
}
|
108 |
}
|
109 |
|
110 |
+
.loading-spinner {
|
111 |
display: inline-block;
|
112 |
width: 40px;
|
113 |
height: 40px;
|
|
|
241 |
<p>Built with ❤️ by <a href="https://codegenius.me" style="color: red;">Ashiq Hussain Mir</a></p>
|
242 |
</footer>
|
243 |
<script>
|
244 |
+
function showGeneratingMessage() {
|
245 |
+
var generatingMessage = document.getElementById('generating-message');
|
246 |
+
generatingMessage.style.display = 'block';
|
247 |
+
document.getElementById('generate-button').classList.add('disabled-button');
|
248 |
+
|
249 |
+
setTimeout(function() {
|
250 |
+
generatingMessage.style.display = 'none';
|
251 |
+
document.getElementById('generate-button').classList.remove('disabled-button');
|
252 |
+
}, 5000);
|
253 |
+
}
|
254 |
+
</script>
|
255 |
+
|
256 |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
|
257 |
</body>
|
258 |
</html>
|