aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut/login.html
blob: c6e843a1c37bbeb230a417ea8c7ec791acc5909e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{{template "head.html" .Global}}
{{template "nav.html" .Global}}

<div class="container">
  <form method="post" action="/login" class="col-md-6">
    <div class="form-group">
      <label for="username">Username</label>
      <input
        class="form-control"
        type="text"
        name="username"
        id="username"
        autofocus />
    </div>
    <div class="form-group">
      <label for="password">Password</label>
      <input
        class="form-control"
        type="password"
        name="password"
        id="password" />
    </div>

    {{if .CanRememberMe}}
    <div class="form-group">
      <label for="remember-me" class="checkbox">
      <input 
	type="checkbox" 
	name="remember-me" 
	id="remember-me" />
        Remember me
      </label>
    </div>
    {{end}}
    
    <button
      type="submit"
      class="btn btn-primary"
    >Log in</button>
  </form>
</div>

{{template "foot.html"}}