Skip to content

Commit

Permalink
Issue umputun#31: Replace separate UI with the embedded HTMX based
Browse files Browse the repository at this point in the history
   - minor style fixes
  • Loading branch information
oneils committed Oct 1, 2023
1 parent 91dc1d0 commit 691c776
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions backend/ui/html/pages/home.tmpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
inputmode="numeric"
pattern="[0-9]+"
title="PIN must be a digit"
aria-label="PIN must be a digit"
{{if $.Form.FieldErrors.pin }}class="error-input" {{end}}/>
{{end}}
</div>
Expand Down
4 changes: 1 addition & 3 deletions backend/ui/html/pages/show-message.tmpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@

<div class="pin-container">
<label for="pin-0">Enter PIN to see content</label>
{{with .Form.FieldErrors.pin}}
<label class='error' style="display: none"></label>
{{end}}
<div>
{{range $i := until .PinSize}}
<input type="password"
Expand All @@ -22,6 +19,7 @@
inputmode="numeric"
pattern="[0-9]+"
title="PIN must be a digit"
aria-label="PIN must be a digit"
{{if $.Form.FieldErrors.pin }}class="error-input" {{end}}/>
{{end}}
</div>
Expand Down
1 change: 0 additions & 1 deletion backend/ui/html/partials/footer.tmpl.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{{define "footer"}}
<footer>
<!-- <div class="footer-text"><a href="/about">How <span class="footer-text-logo">SafeSecret</span> works</a> </div>-->
<div class="footer-text"><a href="/about">How</a> SafeSecret works </div>
<div class="footer-text">Source code available on <a href="https://github.com/umputun/secrets" target="_blank">GitHub</a></div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions backend/ui/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ main {

footer {
margin-bottom: 60px;
margin-top: 30px;
margin-top: 85px;
font-size: 18px;
text-align: center;
}
Expand Down Expand Up @@ -645,7 +645,7 @@ footer .footer-text {

footer {
margin-bottom: 25px;
margin-top: 45px;
margin-top: 85px;
}
}

Expand Down

0 comments on commit 691c776

Please sign in to comment.