Proverite unete podatke.
{{else if eq .Greska "2"}}
Greška pri čuvanju. Pokušajte ponovo.
+ {{else if eq .Greska "3"}}
+ Ova radnja nije dozvoljena.
{{end}}
@@ -62,18 +64,19 @@
diff --git a/web/templates/stranice/admin_login_istorija.html b/web/templates/stranice/admin_login_istorija.html
index a3e45d7..b2a64be 100644
--- a/web/templates/stranice/admin_login_istorija.html
+++ b/web/templates/stranice/admin_login_istorija.html
@@ -27,7 +27,7 @@
Poslednjih 50 pokušaja
- Vreme prikazano u UTC
+ Vreme prikazano po lokalnom vremenu servera
{{if .Istorija}}
diff --git a/web/templates/stranice/podesavanja.html b/web/templates/stranice/podesavanja.html
index b0756ac..44520f6 100644
--- a/web/templates/stranice/podesavanja.html
+++ b/web/templates/stranice/podesavanja.html
@@ -8,6 +8,44 @@
.animiraj:nth-child(2) { animation-delay: 0.16s; }
.animiraj:nth-child(3) { animation-delay: 0.22s; }
.animiraj:nth-child(4) { animation-delay: 0.28s; }
+
+ .toast {
+ position: fixed;
+ bottom: 24px;
+ right: 24px;
+ z-index: 9999;
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ padding: 12px 18px;
+ border-radius: 10px;
+ font-size: 13px;
+ font-weight: 500;
+ box-shadow: 0 4px 20px rgba(0,0,0,0.15);
+ animation: toastIn 0.3s ease forwards;
+ max-width: 340px;
+ }
+ .toast-greska {
+ background: #fef2f2;
+ color: #dc2626;
+ border: 0.5px solid #fca5a5;
+ }
+ .toast-uspeh {
+ background: #f0fdf4;
+ color: #16a34a;
+ border: 0.5px solid #86efac;
+ }
+ @keyframes toastIn {
+ from { opacity: 0; transform: translateY(12px); }
+ to { opacity: 1; transform: translateY(0); }
+ }
+ @keyframes toastOut {
+ from { opacity: 1; transform: translateY(0); }
+ to { opacity: 0; transform: translateY(12px); }
+ }
+ .toast.nestaje {
+ animation: toastOut 0.3s ease forwards;
+ }
{{end}}
@@ -15,9 +53,10 @@
{{if .Sacuvano}}
-
- Podešavanja su uspešno sačuvana.
-
+
Podešavanja su uspešno sačuvana.
+ {{end}}
+ {{if .BackupVracen}}
+
Baza je uspešno obnovljena iz rezervne kopije.
{{end}}
@@ -27,11 +66,6 @@
Logo firme
- {{if .LogoGreska}}
-
- {{.LogoGreska}}
-
- {{end}}
{{if .LogoPutanja}}
+
+
+
+
Dostupne rezervne kopije
+ {{if .Backupi}}
+
+
+
+
+ | Naziv fajla |
+ Datum |
+ Veličina |
+ |
+
+
+
+ {{range .Backupi}}
+
+ | {{.Ime}} |
+ {{.Datum}} |
+ {{.Velicina}} |
+
+
+ |
+
+ {{end}}
+
+
+
+ {{else}}
+
+ Nema dostupnih rezervnih kopija.
+
+ {{end}}
@@ -170,4 +254,28 @@
+
+
+
+{{if .LogoGreska}}
+