* Create a minimalistic toast
* Profile editing (WIP)
This commit is contained in:
parent
327b2d0a5b
commit
1c79cc890d
25 changed files with 1133 additions and 575 deletions
|
|
@ -2,31 +2,35 @@
|
|||
|
||||
{% block main_container %}
|
||||
|
||||
<h2>Profile</h2>
|
||||
|
||||
{% match user %}
|
||||
{% when Some with (user) %}
|
||||
|
||||
<div id="user-edit">
|
||||
<div class="content">
|
||||
|
||||
<label for="title_field">Name</label>
|
||||
<input
|
||||
id="name_field"
|
||||
type="text"
|
||||
name="name"
|
||||
value="{{ user.name }}"
|
||||
autocapitalize="none"
|
||||
autocomplete="title"
|
||||
autofocus="autofocus" />
|
||||
<h1>Profile</h1>
|
||||
|
||||
<form id="user-edit">
|
||||
|
||||
<label for="input-name">Name</label>
|
||||
<input
|
||||
id="input-name"
|
||||
type="text"
|
||||
name="name"
|
||||
value="{{ user.name }}"
|
||||
autocapitalize="none"
|
||||
autocomplete="title"
|
||||
autofocus="autofocus" />
|
||||
|
||||
|
||||
<label for="password_field_1">New password (minimum 8 characters)</label>
|
||||
<input id="password_field_1" type="password" name="password_1" />
|
||||
<label for="input-password-1">New password (minimum 8 characters)</label>
|
||||
<input id="input-password-1" type="password" name="password_1" />
|
||||
|
||||
<label for="password_field_1">Re-enter password</label>
|
||||
<input id="password_field_2" type="password" name="password_2" />
|
||||
<label for="input-password-2">Re-enter password</label>
|
||||
<input id="input-password-2" type="password" name="password_2" />
|
||||
|
||||
<input type="button" value="Save" />
|
||||
</form>
|
||||
|
||||
<button class="button" typed="button">Save</button>
|
||||
</div>
|
||||
|
||||
{% when None %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue