aboutsummaryrefslogtreecommitdiff
path: root/templates/register.qtpl
blob: 115edfeab3e33fe1f11b2dbf6afc9f3587e40a88 (plain)
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
{% code
type RegisterPage struct {}
%}

{% func (p *RegisterPage) Title() %}Login{% endfunc %}

{% func (p *RegisterPage) Content() %}
<h1>Initial Setup</h1>
<form action="/initial" method="post">
    <div class="field">
        <label class="label">Username</label>
        <div class="control">
            <input class="input" name="username" type="text">
        </div>
    </div>
    <div class="field">
        <label class="label">Password</label>
        <div class="control">
            <input class="input" name="password" type="password">
        </div>
    </div>
    <div class="field">
        <label class="label">Root folder</label>
        <div class="control">
            <input class="input" name="path" type="text">
        </div>
    </div>
    <div class="field">
        <input class="button is-pulled-right" value="Save" type="submit">
    </div>
</form>
{% endfunc %}

{% func (p *RegisterPage) Script() %}
{% endfunc %}