mirror of
https://github.com/1f349/tulip.git
synced 2024-12-22 16:24:10 +00:00
67 lines
2.7 KiB
HTML
67 lines
2.7 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<title>1f349 ID</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<header>
|
||
|
<h1>1f349 ID</h1>
|
||
|
</header>
|
||
|
<main>
|
||
|
<div>Logged in as: {{.User.Name}} ({{.User.Sub}})</div>
|
||
|
<div>
|
||
|
<form method="POST" action="/edit">
|
||
|
<input type="hidden" name="nonce" value="{{.Nonce}}">
|
||
|
<div>
|
||
|
<label for="field_name">Name</label>
|
||
|
<input type="text" name="name" id="field_name" value="{{.User.Name}}">
|
||
|
</div>
|
||
|
<div>
|
||
|
<label for="field_picture">Picture</label>
|
||
|
<input type="text" name="picture" id="field_picture" value="{{.User.Picture}}">
|
||
|
</div>
|
||
|
<div>
|
||
|
<label for="field_website">Website</label>
|
||
|
<input type="text" name="website" id="field_website" value="{{.User.Picture}}">
|
||
|
</div>
|
||
|
<div>
|
||
|
<label for="field_pronouns">Pronouns</label>
|
||
|
<select name="pronouns" id="field_pronouns">
|
||
|
<option value="they/them" selected>They/Them</option>
|
||
|
<option value="he/him">He/Him</option>
|
||
|
<option value="she/her">She/Her</option>
|
||
|
<option value="it/its">It/Its</option>
|
||
|
<option value="one/one's">One/One's</option>
|
||
|
</select>
|
||
|
<label>Reset? <input type="checkbox" name="reset_pronouns"></label>
|
||
|
</div>
|
||
|
<div>
|
||
|
<label for="field_birthdate">Birthdate</label>
|
||
|
<input type="text" name="birthdate" id="field_birthdate" value="{{.User.Birthdate}}">
|
||
|
<label>Reset? <input type="checkbox" name="reset_birthdate"></label>
|
||
|
</div>
|
||
|
<div>
|
||
|
<label for="field_zoneinfo">Time Zone</label>
|
||
|
<input type="text" name="zoneinfo" id="field_zoneinfo" value="{{.User.ZoneInfo}}" list="list_zoneinfo">
|
||
|
<datalist id="list_zoneinfo">
|
||
|
<!-- Fill in -->
|
||
|
<option value="Europe/London"></option>
|
||
|
</datalist>
|
||
|
<label>Reset? <input type="checkbox" name="reset_zoneinfo"></label>
|
||
|
</div>
|
||
|
<div>
|
||
|
<label for="field_locale">Language</label>
|
||
|
<input type="text" name="locale" id="field_locale" value="{{.User.Locale}}" list="list_locale">
|
||
|
<datalist id="list_locale">
|
||
|
<!-- Fill in -->
|
||
|
<option value="en-US"></option>
|
||
|
</datalist>
|
||
|
<label>Reset? <input type="checkbox" name="reset_zoneinfo"></label>
|
||
|
</div>
|
||
|
<button type="submit">Edit</button>
|
||
|
</form>
|
||
|
</div>
|
||
|
</main>
|
||
|
</body>
|
||
|
</html>
|