apps/sipp/server/templates/login.html 864 B raw
1
{{define "login.html"}}<!doctype html>
2
<html lang="en">
3
  <head>
4
    <meta charset="UTF-8" />
5
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
    <meta name="theme-color" content="#121113" />
7
    <link rel="stylesheet" href="/assets/darkmatter.css" />
8
    <link rel="stylesheet" href="/static/styles.css" />
9
    <title>Sipp - Login</title>
10
  </head>
11
  <body>
12
    <header class="header">
13
      <a href="/" class="logo"><h1>SIPP</h1></a>
14
    </header>
15
    <main>
16
      {{if .Error}}<p class="error">{{.Error}}</p>{{end}}
17
      <form method="POST" action="/admin/login{{if .Next}}?next={{.Next}}{{end}}" class="form">
18
        <label for="api_key">api key</label>
19
        <input type="password" id="api_key" name="api_key" autofocus required>
20
        <button type="submit">login</button>
21
      </form>
22
    </main>
23
  </body>
24
</html>{{end}}