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

41 lines
1.3 KiB
Cheetah
Raw Normal View History

2023-07-17 18:44:59 +00:00
{{define "title"}}Editor{{end}}
{{define "main"}}
2023-08-05 11:35:56 +00:00
<a href="/admin">&larr; Back</a>
2023-07-17 19:43:31 +00:00
<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}}"/>
2024-01-24 21:04:15 +00:00
<label for="PrimaryColor">PrimaryColor</label>
<input type="color" name="PrimaryColor" id="PrimaryColor" value="{{.PrimaryColor}}"/>
2023-07-17 18:44:59 +00:00
<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}}"/>
2023-07-20 17:49:52 +00:00
<label for="FullUrl">FullUrl</label>
<input type="text" name="FullUrl" id="FullUrl" value="{{.FullUrl}}"/>
<label for="HtmlHeadExtra">HtmlHeadExtra</label>
<textarea name="HtmlHeadExtra" id="HtmlHeadExtra">{{.HtmlHeadExtra}}</textarea>
<label for="FooterExtra">FooterExtra</label>
<textarea name="FooterExtra" id="FooterExtra">{{.FooterExtra}}</textarea>
2023-07-17 18:44:59 +00:00
<input type="submit" value="Save" />
</form>
{{end}}