commit 92c7a9784f85c426676ae8bcbf6895a8f9967bcd
parent 2379c0e964016bab4aea515fdabcb2e483ae3360
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Tue, 26 Aug 2025 10:53:56 +0200
minor UI fixes
Diffstat:
2 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/web/templates/buy.html b/web/templates/buy.html
@@ -13,7 +13,7 @@
<body>
{{ template "nav.html" . }}
<div class ="container">
- <div class="row">
+ <div class="row mb-2">
<div class="col-2">
<ul class="timeline">
<li class="done">Lookup</li>
diff --git a/web/templates/name.html b/web/templates/name.html
@@ -94,25 +94,16 @@
<input name="zkey" id="zkeyInput" class="form-control" maxlength="63" type="text" value="{{.currentValue}}" readonly required autofocus>
<label for="zkeyInput">Zone key</label>
</div>
- </div>
- </div>
- </div>
- {{if ne .remainingDays 0}}
- <div class="row">
- <div class="card">
- <div class="card-body">
- <h4 class="card-title">Zone registered</h4>
- <hr>
- <p class="card-text">Registered zone information</p>
+ {{if ne .remainingDays 0}}
<div class="form-floating mb-3">
<input name="reg" id="regInput" class="form-control" type="text" value="{{.registeredUntil}}" readonly required autofocus>
<label for="regInput">Registration expires in {{.remainingDays}} days:</label>
</div>
+ {{end}}
</div>
</div>
</div>
{{end}}
- {{end}}
<hr/>
<a class="btn btn-secondary" href="/">Back</a>
</div>