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

39 lines
1.2 KiB
Cheetah

{{define "title"}}Editor{{end}}
{{define "head"}}{{end}}
{{define "main"}}
<a href="/admin">&larr; Back</a>
<h2>Site Settings</h2>
<form method="post" enctype="multipart/form-data">
<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="PrimaryColor">PrimaryColor</label>
<input type="color" name="PrimaryColor" id="PrimaryColor" value="{{.PrimaryColor}}"/>
<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}}"/>
<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>
<input type="submit" value="Save" />
</form>
{{end}}