- Kompletna Go implementacija licencnog servera (19 Go fajlova) - Klijentski API: activate, deactivate, validate - Admin API: CRUD licence, stats, audit log - Admin dashboard: htmx + Go templates - RSA-2048 potpisivanje licencnih podataka - Rate limiting i API key autentifikacija - MySQL migracije i seed podaci (ESIR, ARV, LIGHT_TICKET) - Unit testovi: keygen, crypto, model, middleware (24 testa) - Dokumentacija: SPEC.md, ARCHITECTURE.md, SETUP.md, API.md, TESTING.md, README.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
1.1 KiB
HTML
29 lines
1.1 KiB
HTML
{{define "app"}}<!DOCTYPE html>
|
|
<html lang="sr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{{block "page-title" .}}DAL License Server{{end}}</title>
|
|
<link rel="stylesheet" href="/static/css/style.css">
|
|
<script src="/static/js/htmx.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<nav class="navbar">
|
|
<div class="nav-brand">DAL License Server</div>
|
|
<div class="nav-links">
|
|
<a href="/dashboard" class="{{if eq .ActivePage "dashboard"}}active{{end}}">Dashboard</a>
|
|
<a href="/licenses" class="{{if eq .ActivePage "licenses"}}active{{end}}">Licence</a>
|
|
<a href="/audit" class="{{if eq .ActivePage "audit"}}active{{end}}">Audit Log</a>
|
|
</div>
|
|
<div class="nav-user">
|
|
<form method="POST" action="/logout" style="display:inline">
|
|
<button type="submit" class="btn btn-sm">Odjava</button>
|
|
</form>
|
|
</div>
|
|
</nav>
|
|
<main class="container">
|
|
{{block "page-content" .}}{{end}}
|
|
</main>
|
|
</body>
|
|
</html>{{end}}
|