aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut/settings.html
blob: bac186765c81bd03ba3a31b4a7753f00a1eb6868 (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
44
45
46
47
48
49
{{template "head.html"}}
{{template "nav.html"}}

<div class="container-fluid">
  <div class="row">
    <div class="col-md-12 header-tabbed">
      <h2>Settings</h2>
      <ul class="nav nav-tabs">
        <li class="nav-item">
          <a class="nav-link" href="/mailbox/INBOX" >Mail</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="/compose">Compose</a>
        </li>
        <li class="nav-item">
          <a class="nav-link active" href="/settings">Settings</a>
        </li>
      </ul>
    </div>
  </div>
</div>

<div class="container">
  <form method="post" class="col-md-12">
    <div class="form-group">
      <label for="messages_per_page">Messages per page:</label>
      <input
        type="number"
        name="messages_per_page"
        id="messages_per_page"
        required
        class="form-control"
        value="{{.Settings.MessagesPerPage}}" />
    </div>
    <div class="pull-right">
      <a
        href="/mailbox/INBOX"
        class="btn btn-default"
      >Cancel</a>
      <button
        type="submit"
        class="btn btn-primary"
      >Save</button>
    </div>
  </form>
</div>


{{template "foot.html"}}