escambalkon commited on
Commit
bcbc82f
·
verified ·
1 Parent(s): 6c0557c

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +35 -21
index.html CHANGED
@@ -242,20 +242,6 @@
242
  opacity: 0.9;
243
  }
244
 
245
- .admin-hint {
246
- background: #fef3c7;
247
- border: 1px solid #fbbf24;
248
- color: #92400e;
249
- padding: 12px;
250
- border-radius: 8px;
251
- margin-bottom: 20px;
252
- font-size: 13px;
253
- }
254
-
255
- .admin-hint i {
256
- margin-right: 8px;
257
- }
258
-
259
  .demo-credentials {
260
  background: #dbeafe;
261
  border: 1px solid #60a5fa;
@@ -581,6 +567,16 @@
581
  color: var(--secondary);
582
  }
583
 
 
 
 
 
 
 
 
 
 
 
584
  .toast {
585
  position: fixed;
586
  bottom: 20px;
@@ -629,6 +625,30 @@
629
  color: var(--primary);
630
  }
631
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
632
  @media (max-width: 768px) {
633
  .main-content {
634
  grid-template-columns: 1fr;
@@ -1091,10 +1111,4 @@
1091
  const field = document.getElementById(fieldId);
1092
  const icon = field.nextElementSibling;
1093
 
1094
- if (field.type === 'password') {
1095
- field.type = 'text';
1096
- icon.classList.remove('fa-eye');
1097
- icon.classList.add('fa-eye-slash');
1098
- } else {
1099
- field.type = 'password';
1100
- icon.classList.remove('
 
242
  opacity: 0.9;
243
  }
244
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  .demo-credentials {
246
  background: #dbeafe;
247
  border: 1px solid #60a5fa;
 
567
  color: var(--secondary);
568
  }
569
 
570
+ .status-active {
571
+ background: rgba(16, 185, 129, 0.1);
572
+ color: var(--secondary);
573
+ }
574
+
575
+ .status-inactive {
576
+ background: rgba(239, 68, 68, 0.1);
577
+ color: var(--danger);
578
+ }
579
+
580
  .toast {
581
  position: fixed;
582
  bottom: 20px;
 
625
  color: var(--primary);
626
  }
627
 
628
+ .action-btn {
629
+ padding: 5px 10px;
630
+ margin: 0 2px;
631
+ border: none;
632
+ border-radius: 4px;
633
+ cursor: pointer;
634
+ font-size: 12px;
635
+ transition: var(--transition);
636
+ }
637
+
638
+ .action-btn.edit {
639
+ background: var(--primary);
640
+ color: var(--white);
641
+ }
642
+
643
+ .action-btn.delete {
644
+ background: var(--danger);
645
+ color: var(--white);
646
+ }
647
+
648
+ .action-btn:hover {
649
+ opacity: 0.8;
650
+ }
651
+
652
  @media (max-width: 768px) {
653
  .main-content {
654
  grid-template-columns: 1fr;
 
1111
  const field = document.getElementById(fieldId);
1112
  const icon = field.nextElementSibling;
1113
 
1114
+ if (field