23 lines
1.0 KiB
Cheetah
23 lines
1.0 KiB
Cheetah
{{template "header.tmpl" .HeaderData}}
|
|
{{template "navigation.tmpl" .NavbarData}}
|
|
<div class="page-title"> Settings </div>
|
|
|
|
<form id="settings-form" action="/settings" method="POST">
|
|
<div class="settings-form-field">
|
|
<label for="visibility"> Default scope </label>
|
|
<select id="visibility" name="visibility">
|
|
<option value="public" {{if eq .Settings.DefaultVisibility "public"}}selected{{end}}>Public</option>
|
|
<option value="unlisted" {{if eq .Settings.DefaultVisibility "unlisted"}}selected{{end}}>Unlisted</option>
|
|
<option value="private" {{if eq .Settings.DefaultVisibility "private"}}selected{{end}}>Private</option>
|
|
<option value="direct" {{if eq .Settings.DefaultVisibility "direct"}}selected{{end}}>Direct</option>
|
|
</select>
|
|
</div>
|
|
<div class="settings-form-field">
|
|
<input id="copy-scope" name="copy_scope" type="checkbox" value="true" {{if .Settings.CopyScope}}checked{{end}}>
|
|
<label for="copy-scope"> Copy scope when replying </label>
|
|
</div>
|
|
<button type="submit"> Save </button>
|
|
</form>
|
|
|
|
{{template "footer.tmpl"}}
|