Subh775 commited on
Commit
bc7bf9c
·
1 Parent(s): c2aec5f

removed explicit LOCKED from inference config..

Browse files
Files changed (1) hide show
  1. frontend/vehicles.html +0 -25
frontend/vehicles.html CHANGED
@@ -259,21 +259,6 @@
259
  opacity: 1 !important;
260
  }
261
 
262
- .lock-badge {
263
- display: inline-flex;
264
- align-items: center;
265
- gap: 4px;
266
- font-size: 9px;
267
- font-weight: 700;
268
- color: #666;
269
- background: #1a1a1a;
270
- border: 1px solid #2a2a2a;
271
- border-radius: 4px;
272
- padding: 2px 6px;
273
- margin-left: 8px;
274
- text-transform: uppercase;
275
- letter-spacing: 0.05em;
276
- }
277
 
278
  #btn-start-processing {
279
  font-family: 'Montserrat', sans-serif !important;
@@ -1248,22 +1233,12 @@
1248
  }
1249
 
1250
  function lockSettings() {
1251
- // Disable critical param rows and add lock badge
1252
  document.querySelectorAll('#settings-params .s-row').forEach(row => {
1253
  const p = row.dataset.param;
1254
  if (p && p !== 'palette') {
1255
  row.classList.add('disabled');
1256
- // Add lock badge next to the label if not already present
1257
- const label = row.querySelector('.text-xs.font-semibold');
1258
- if (label && !label.querySelector('.lock-badge')) {
1259
- const badge = document.createElement('span');
1260
- badge.className = 'lock-badge';
1261
- badge.innerHTML = '<i class="fa-solid fa-lock" style="font-size:8px"></i> Locked';
1262
- label.appendChild(badge);
1263
- }
1264
  }
1265
  });
1266
- // Hide start button
1267
  const wrap = document.getElementById('settings-start-wrap');
1268
  if (wrap) wrap.style.display = 'none';
1269
  }
 
259
  opacity: 1 !important;
260
  }
261
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
262
 
263
  #btn-start-processing {
264
  font-family: 'Montserrat', sans-serif !important;
 
1233
  }
1234
 
1235
  function lockSettings() {
 
1236
  document.querySelectorAll('#settings-params .s-row').forEach(row => {
1237
  const p = row.dataset.param;
1238
  if (p && p !== 'palette') {
1239
  row.classList.add('disabled');
 
 
 
 
 
 
 
 
1240
  }
1241
  });
 
1242
  const wrap = document.getElementById('settings-start-wrap');
1243
  if (wrap) wrap.style.display = 'none';
1244
  }