owl-blogs/render/templates/views/site_config.tmpl

38 lines
1.1 KiB
Cheetah
Raw Normal View History

2023-07-17 18:44:59 +00:00
{{define "title"}}Editor{{end}}
{{define "main"}}
2023-07-17 19:43:31 +00:00
<nav>
<ul>
2023-07-18 18:12:17 +00:00
<li><a href="/">Home</a></li>
<li><a href="/editor">Editor</a></li>
<li><a href="/site-config">Site Settings</a></li>
<li><a href="/site-config/me">Me Links</a></li>
<li><a href="/site-config/lists">Lists</a></li>
<li><a href="/site-config/menus">Menus</a></li>
2023-07-17 19:43:31 +00:00
</ul>
</nav>
<h2>Site Settings</h2>
<form method="post" enctype="multipart/form-data">
2023-07-17 18:44:59 +00:00
<label for="Title">Title</label>
<input type="text" name="Title" id="Title" value="{{.Title}}"/>
<label for="SubTitle">SubTitle</label>
<input type="text" name="SubTitle" id="SubTitle" value="{{.SubTitle}}"/>
<label for="HeaderColor">HeaderColor</label>
<input type="color" name="HeaderColor" id="HeaderColor" value="{{.HeaderColor}}"/>
<label for="AuthorName">AuthorName</label>
<input type="text" name="AuthorName" id="AuthorName" value="{{.AuthorName}}"/>
<label for="AvatarUrl">AvatarUrl</label>
<input type="text" name="AvatarUrl" id="AvatarUrl" value="{{.AvatarUrl}}"/>
<input type="submit" value="Save" />
</form>
{{end}}