diff options
Diffstat (limited to 'web/templates/name.html')
-rw-r--r-- | web/templates/name.html | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/web/templates/name.html b/web/templates/name.html index 2b780f4..5307668 100644 --- a/web/templates/name.html +++ b/web/templates/name.html | |||
@@ -31,14 +31,10 @@ | |||
31 | <h1 class="mb-5"><i class="text-primary">{{.label}}</i> is still <span class="text-success">available</span> for registration.</h1> | 31 | <h1 class="mb-5"><i class="text-primary">{{.label}}</i> is still <span class="text-success">available</span> for registration.</h1> |
32 | <form action="/name/{{.label}}/buy" method="get" class="align-items-center"> | 32 | <form action="/name/{{.label}}/buy" method="get" class="align-items-center"> |
33 | <div class="input-group mb-2 w-75"> | 33 | <div class="input-group mb-2 w-75"> |
34 | <span class="input-group-text" id="reg-prefix"><i class="text-primary">{{.label}}</i>.<i class="text-secondary">{{.suffixHint}}</i>: </span> | 34 | <span class="input-group-text" id="reg-prefix"><i class="text-primary">{{.label}}</i>.<i class="text-secondary">{{.suffixHint}}</i>: </span> |
35 | <input type="hidden" name="label" value="{{.label}}"> | 35 | <input type="hidden" name="label" value="{{.label}}"> |
36 | <input name="zkey" class="form-control form-control-lg" maxlength="63" type="text" placeholder="Enter your zone key here!" required autofocus> | 36 | <input name="zkey" class="form-control form-control-lg" maxlength="63" type="text" placeholder="Enter your zone key here!" required autofocus> |
37 | {{if eq .cost 0}} | 37 | <input class="btn btn-primary" type="submit" value="Register for {{.cost}}"> |
38 | <input class="btn btn-primary" type="submit" value="Register for free"> | ||
39 | {{else}} | ||
40 | <input class="btn btn-primary" type="submit" value="Register for {{.cost}} {{.currency}}"> | ||
41 | {{end}} | ||
42 | </div> | 38 | </div> |
43 | </form> | 39 | </form> |
44 | {{else}} | 40 | {{else}} |
@@ -54,10 +50,6 @@ | |||
54 | </form> | 50 | </form> |
55 | <form action="/renew" method="get" class="align-items-center"> | 51 | <form action="/renew" method="get" class="align-items-center"> |
56 | <span>Registration valid until: <i>{{.registeredUntil}}</i></span><br/> | 52 | <span>Registration valid until: <i>{{.registeredUntil}}</i></span><br/> |
57 | {{if .modificationAllowed}} | ||
58 | <span>Registration extension cost: <i>23 EUR</i></span><br/> | ||
59 | <input class="btn btn-primary" type="submit" value="Extend registration"> | ||
60 | {{end}} | ||
61 | </form> | 53 | </form> |
62 | {{end}} | 54 | {{end}} |
63 | <a class="btn btn-primary mt-5" href="/">Back</a> | 55 | <a class="btn btn-primary mt-5" href="/">Back</a> |