Icone da Icons8, favicon temporanea, cambiato il framework (perché sì), i template ora sono cachate in produzione
This commit is contained in:
+12
-4
@@ -5,8 +5,11 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{template "title" .}}</title>
|
||||
<title>{{ template "title" . }}</title>
|
||||
|
||||
<!-- TODO: Da cambiare molto probabilmente -->
|
||||
<link rel="icon" href="/assets/icons/icons8-electronics-100.png">
|
||||
|
||||
<link rel="stylesheet" href="/assets/style.css">
|
||||
</head>
|
||||
|
||||
@@ -37,15 +40,20 @@
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="nav-item">
|
||||
<a href="/login">Login</a>
|
||||
<a href="/login">Accedi</a>
|
||||
</div>
|
||||
{{end}}
|
||||
</nav>
|
||||
|
||||
{{template "body" .}}
|
||||
{{ template "body" . }}
|
||||
|
||||
<footer>
|
||||
macchinisti@poisson.phc.dm.unipi.it
|
||||
<div class="footer-item">
|
||||
macchinisti@poisson.phc.dm.unipi.it
|
||||
</div>
|
||||
<div class="footer-item">
|
||||
Icone da <a target="_blank" href="https://icons8.it">Icons8</a>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{{template "base" .}}
|
||||
|
||||
{{define "title"}}Poisson{{end}}
|
||||
{{define "title"}}PHC • phc.dm.xxxxx.xx{{end}}
|
||||
|
||||
{{define "body"}}
|
||||
<h1>PHC</h1>
|
||||
|
||||
+14
-8
@@ -1,20 +1,26 @@
|
||||
{{template "base" .}}
|
||||
|
||||
{{define "title"}}Poisson - Utenti{{end}}
|
||||
{{define "title"}}PHC • Accedi • phc.dm.xxxxx.xx{{end}}
|
||||
|
||||
{{define "body"}}
|
||||
<h1>Login</h1>
|
||||
<p>Inserisci le tue credenziali di Poisson per accedere</p>
|
||||
|
||||
<form action="/login" method="post">
|
||||
<div class="row">
|
||||
<label for="login-username">Username:</label>
|
||||
<input type="text" name="username" id="login-username">
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="login-password">Password:</label>
|
||||
<input type="text" name="password" id="login-password">
|
||||
</div>
|
||||
<input type="submit" value="Accedi">
|
||||
|
||||
<label for="login-username">Username:</label>
|
||||
<input type="text" name="username" id="login-username">
|
||||
|
||||
<label for="login-password">Password:</label>
|
||||
<input type="text" name="password" id="login-password">
|
||||
|
||||
<input type="submit" value="Login">
|
||||
</form>
|
||||
|
||||
<p title="Vieni al phc per parlarne con calma o inviaci una mail">
|
||||
🛈 Recupero credenziali
|
||||
</p>
|
||||
|
||||
{{end}}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{{template "base" .}}
|
||||
|
||||
{{define "title"}}Poisson - Utenti{{end}}
|
||||
{{define "title"}}PHC • Utenti • phc.dm.xxxxx.xx{{end}}
|
||||
|
||||
{{define "body"}}
|
||||
<h1>Utenti</h1>
|
||||
|
||||
Reference in New Issue
Block a user