Spaces:
Sleeping
Sleeping
imseldrith
commited on
Commit
•
06c0fa4
1
Parent(s):
8c25b3c
Update templates/index.html
Browse files- templates/index.html +34 -7
templates/index.html
CHANGED
@@ -89,16 +89,41 @@
|
|
89 |
color: #ffffff;
|
90 |
display: none;
|
91 |
font-size: 24px;
|
92 |
-
animation:
|
93 |
}
|
94 |
|
95 |
-
@keyframes
|
96 |
0% {
|
97 |
-
|
|
|
98 |
}
|
99 |
-
|
|
|
100 |
opacity: 1;
|
101 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
}
|
103 |
|
104 |
.disabled-button {
|
@@ -191,9 +216,11 @@
|
|
191 |
<button type="submit" class="btn btn-primary" id="generate-button">Generate Image</button>
|
192 |
</form>
|
193 |
|
194 |
-
<div class="generating-message"
|
195 |
-
|
196 |
-
|
|
|
|
|
197 |
|
198 |
<div class="social-buttons">
|
199 |
<span class="social-button">
|
|
|
89 |
color: #ffffff;
|
90 |
display: none;
|
91 |
font-size: 24px;
|
92 |
+
animation: pulse 1s ease-in-out infinite;
|
93 |
}
|
94 |
|
95 |
+
@keyframes pulse {
|
96 |
0% {
|
97 |
+
transform: scale(1);
|
98 |
+
opacity: 0.7;
|
99 |
}
|
100 |
+
50% {
|
101 |
+
transform: scale(1.2);
|
102 |
opacity: 1;
|
103 |
}
|
104 |
+
100% {
|
105 |
+
transform: scale(1);
|
106 |
+
opacity: 0.7;
|
107 |
+
}
|
108 |
+
}
|
109 |
+
|
110 |
+
.loading-spinner {
|
111 |
+
display: inline-block;
|
112 |
+
width: 40px;
|
113 |
+
height: 40px;
|
114 |
+
border: 4px solid #ffffff;
|
115 |
+
border-top-color: transparent;
|
116 |
+
border-radius: 50%;
|
117 |
+
animation: spin 1s linear infinite;
|
118 |
+
}
|
119 |
+
|
120 |
+
@keyframes spin {
|
121 |
+
0% {
|
122 |
+
transform: rotate(0deg);
|
123 |
+
}
|
124 |
+
100% {
|
125 |
+
transform: rotate(360deg);
|
126 |
+
}
|
127 |
}
|
128 |
|
129 |
.disabled-button {
|
|
|
216 |
<button type="submit" class="btn btn-primary" id="generate-button">Generate Image</button>
|
217 |
</form>
|
218 |
|
219 |
+
<div class="generating-message">
|
220 |
+
<span class="loading-spinner"></span>
|
221 |
+
Generating image... Please wait
|
222 |
+
</div>
|
223 |
+
|
224 |
|
225 |
<div class="social-buttons">
|
226 |
<span class="social-button">
|