kadirnar commited on
Commit
6ac7516
·
verified ·
1 Parent(s): 732cfdf

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +29 -0
index.html CHANGED
@@ -148,6 +148,31 @@
148
  display: inline-block;
149
  vertical-align: middle;
150
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  iframe {
152
  width: 100%;
153
  height: 260px;
@@ -213,6 +238,7 @@
213
 
214
  <div class="card-grid" id="cardGrid">
215
  <div class="heatmap-card">
 
216
  <div class="heatmap-label">Kadir Nar</div>
217
  <iframe src="https://cfahlgren1-model-release-heatmap.hf.space/kadirnar"></iframe>
218
  <div class="scroll-tip">
@@ -221,6 +247,7 @@
221
  </div>
222
  </div>
223
  <div class="heatmap-card">
 
224
  <div class="heatmap-label">OpenSpeechHub</div>
225
  <iframe src="https://cfahlgren1-model-release-heatmap.hf.space/OpenSpeechHub"></iframe>
226
  <div class="scroll-tip">
@@ -229,6 +256,7 @@
229
  </div>
230
  </div>
231
  <div class="heatmap-card">
 
232
  <div class="heatmap-label">Closed-TTS</div>
233
  <iframe src="https://cfahlgren1-model-release-heatmap.hf.space/Closed-TTS"></iframe>
234
  <div class="scroll-tip">
@@ -260,6 +288,7 @@
260
  const card = document.createElement('div');
261
  card.className = 'heatmap-card';
262
  card.innerHTML = `
 
263
  <div class="heatmap-label">${username}</div>
264
  <iframe src="https://cfahlgren1-model-release-heatmap.hf.space/${encodeURIComponent(username)}"></iframe>
265
  <div class="scroll-tip">
 
148
  display: inline-block;
149
  vertical-align: middle;
150
  }
151
+ .delete-btn {
152
+ position: absolute;
153
+ top: 14px;
154
+ right: 18px;
155
+ background: rgba(34, 34, 34, 0.85);
156
+ border: none;
157
+ color: #ffb347;
158
+ font-size: 1.3rem;
159
+ font-weight: bold;
160
+ border-radius: 50%;
161
+ width: 32px;
162
+ height: 32px;
163
+ cursor: pointer;
164
+ z-index: 2;
165
+ transition: background 0.2s, color 0.2s, transform 0.15s;
166
+ display: flex;
167
+ align-items: center;
168
+ justify-content: center;
169
+ box-shadow: 0 1px 6px #0005;
170
+ }
171
+ .delete-btn:hover {
172
+ background: #ffb347;
173
+ color: #222;
174
+ transform: scale(1.13) rotate(12deg);
175
+ }
176
  iframe {
177
  width: 100%;
178
  height: 260px;
 
238
 
239
  <div class="card-grid" id="cardGrid">
240
  <div class="heatmap-card">
241
+ <button class="delete-btn" title="Remove this card" onclick="this.parentElement.remove()">✖️</button>
242
  <div class="heatmap-label">Kadir Nar</div>
243
  <iframe src="https://cfahlgren1-model-release-heatmap.hf.space/kadirnar"></iframe>
244
  <div class="scroll-tip">
 
247
  </div>
248
  </div>
249
  <div class="heatmap-card">
250
+ <button class="delete-btn" title="Remove this card" onclick="this.parentElement.remove()">✖️</button>
251
  <div class="heatmap-label">OpenSpeechHub</div>
252
  <iframe src="https://cfahlgren1-model-release-heatmap.hf.space/OpenSpeechHub"></iframe>
253
  <div class="scroll-tip">
 
256
  </div>
257
  </div>
258
  <div class="heatmap-card">
259
+ <button class="delete-btn" title="Remove this card" onclick="this.parentElement.remove()">✖️</button>
260
  <div class="heatmap-label">Closed-TTS</div>
261
  <iframe src="https://cfahlgren1-model-release-heatmap.hf.space/Closed-TTS"></iframe>
262
  <div class="scroll-tip">
 
288
  const card = document.createElement('div');
289
  card.className = 'heatmap-card';
290
  card.innerHTML = `
291
+ <button class="delete-btn" title="Remove this card" onclick="this.parentElement.remove()">✖️</button>
292
  <div class="heatmap-label">${username}</div>
293
  <iframe src="https://cfahlgren1-model-release-heatmap.hf.space/${encodeURIComponent(username)}"></iframe>
294
  <div class="scroll-tip">