s1llyw0rdz/web/handler/html/settings.html

31 lines
1 KiB
HTML
Raw Normal View History

2021-11-25 06:37:30 +00:00
{{ define "content" }}
<section>
<h1>Settings</h1>
{{ if .flash }}
<p>{{ .flash }}</p>
{{ end }}
2021-11-28 07:40:11 +00:00
<p><a href="/manage">Manage statuses</a></p>
2021-11-25 06:37:30 +00:00
<form action="/settings-update" method="post">
<div class="field">
<label for="homepage">homepage</label>
<input type="text" name="homepage" id="homepage" value="{{ .Homepage }}" autocomplete="off"/>
</div>
2021-11-26 22:36:48 +00:00
<div class="field">
<label for="picture">picture URL</label>
<input type="text" name="picture" id="picture" value="{{ .Picture }}" autocomplete="off"/>
</div>
2021-11-25 06:37:30 +00:00
<div class="field">
<label for="about">about</label>
2021-11-26 22:36:48 +00:00
<textarea name="about" id="about" rows="20">{{ .About }}</textarea>
2021-11-25 06:37:30 +00:00
</div>
2021-11-26 22:36:48 +00:00
<div class="field">
<label for="style">style</label>
<textarea name="style" id="style" rows="20">{{ .Style }}</textarea>
</div>
2021-11-25 06:37:30 +00:00
<input type="submit" value="Submit">
</form>
</section>
{{ end }}