- 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>
23 lines
803 B
HTML
23 lines
803 B
HTML
{{define "login.html"}}<!DOCTYPE html>
|
|
<html lang="sr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Prijava - DAL License Server</title>
|
|
<link rel="stylesheet" href="/static/css/style.css">
|
|
</head>
|
|
<body>
|
|
<div class="login-container">
|
|
<h1>DAL License Server</h1>
|
|
<form method="POST" action="/login" class="login-form">
|
|
{{if .Error}}<div class="alert alert-error">{{.Error}}</div>{{end}}
|
|
<div class="form-group">
|
|
<label>Lozinka</label>
|
|
<input type="password" name="password" autofocus required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary btn-full">Prijava</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>{{end}}
|