From 5c17e70f6f97399e517582a0dcbbff7967dc9bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dalibor=20Markovi=C4=87?= Date: Sat, 13 Jun 2026 08:22:47 +0200 Subject: [PATCH] =?UTF-8?q?refactor(css):=20bed=C5=BE=20statusa=20servisa?= =?UTF-8?q?=20na=20jedno=20mesto=20u=20main.css=20Status=20bed=C5=BE=20(.s?= =?UTF-8?q?tatus-badge=20i=20.status-*=20boje)=20je=20bio=20dupliran=20u?= =?UTF-8?q?=20servis.html=20i=20servis=5Fdetalji.html=20sa=20sitnom=20razl?= =?UTF-8?q?ikom=20u=20veli=C4=8Dini.=20Ujedna=C4=8Dena=20veli=C4=8Dina=20i?= =?UTF-8?q?=20preba=C4=8Deno=20u=20main.css=20=E2=80=94=20sad=20se=20menja?= =?UTF-8?q?=20na=20jednom=20mestu=20i=20radi=20pod=20HTMX=20navigacijom.?= =?UTF-8?q?=20Uklonjen=20i=20prazan=20 -{{end}} - {{define "sadrzaj"}}
diff --git a/web/templates/stranice/servis.html b/web/templates/stranice/servis.html index cb93ef0..49203b1 100644 --- a/web/templates/stranice/servis.html +++ b/web/templates/stranice/servis.html @@ -2,21 +2,6 @@ {{define "naslov"}}Servis — NTech{{end}} -{{define "dodatni-css"}} - -{{end}} - {{define "status-badge"}} {{if eq . "Primljeno"}}{{.}} {{else if eq . "U dijagnostici"}}{{.}} diff --git a/web/templates/stranice/servis_detalji.html b/web/templates/stranice/servis_detalji.html index cf99a3c..bd90fe9 100644 --- a/web/templates/stranice/servis_detalji.html +++ b/web/templates/stranice/servis_detalji.html @@ -9,13 +9,6 @@ .detalji-kartica:nth-child(3) { animation-delay: 0.20s; } .detalji-kartica:nth-child(4) { animation-delay: 0.28s; } .detalji-kartica:nth-child(5) { animation-delay: 0.36s; } - .status-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; white-space: nowrap; } - .status-primljeno { background: rgba(148,163,184,0.15); color: #94a3b8; } - .status-dijagnostika { background: rgba(59,130,246,0.15); color: #3b82f6; } - .status-ceka { background: rgba(249,115,22,0.15); color: #f97316; } - .status-popravka { background: rgba(234,179,8,0.15); color: #ca8a04; } - .status-zavrseno { background: rgba(34,197,94,0.15); color: #16a34a; } - .status-preuzeto { background: rgba(21,128,61,0.15); color: #15803d; } {{end}}