💄 Restyle some forms

This commit is contained in:
2020-10-31 10:21:26 +01:00
parent 6993a9f58b
commit 1f91686d25
4 changed files with 80 additions and 72 deletions

View File

@@ -1,15 +1,20 @@
{{ define "page-content" }}
<form method="post">
<input name="share" type="hidden" value="{{ .ShareId }}"/>
<label>
Login: <input name="login" placeholder="Login name"/>
</label>
<label>
Password: <input type="password" name="password" placeholder="Password"/>
</label>
<label>
ReadOnly: <input type="checkbox" name="readonly"/>
</label>
<input type="submit" value="Add Login"/>
<form method="post" class="dialog">
<div class="form-content">
<input name="share" type="hidden" value="{{ .ShareId }}"/>
<label for="login">Login</label>
<input name="login" id="login" placeholder="Login name"/>
<label for="password">Password</label>
<input type="password" name="password" id="password" placeholder="Password"/>
<label for="readonly">ReadOnly</label>
<input type="checkbox" name="readonly" id="readonly"/>
</div>
<div class="form-controls">
<input type="submit" value="Add Login"/>
</div>
</form>
{{ end }}