aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web/templates/dashboard/section_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/templates/dashboard/section_form.html')
-rw-r--r--internal/web/templates/dashboard/section_form.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/internal/web/templates/dashboard/section_form.html b/internal/web/templates/dashboard/section_form.html
index 9d4529c..7eeaf7c 100644
--- a/internal/web/templates/dashboard/section_form.html
+++ b/internal/web/templates/dashboard/section_form.html
@@ -7,10 +7,14 @@
<input type="hidden" name="_csrf" value="{{.CSRF}}">
<label>Title <span class="muted">(optional)</span><br><input name="title" value="{{$s.Title}}" maxlength="120" autofocus placeholder="Next meeting"></label>
<div class="row">
- <label>Where<br><select name="placement">
- <option value="above"{{if eq $s.Placement "above"}} selected{{end}}>Above the posts</option>
- <option value="below"{{if eq $s.Placement "below"}} selected{{end}}>Below the posts</option>
- <option value="sidebar"{{if eq $s.Placement "sidebar"}} selected{{end}}>Sidebar, under the menu</option>
+ <label>Where<br><select name="column">
+ <option value="main"{{if eq $s.Column "main"}} selected{{end}}>Main content (with the posts)</option>
+ <option value="left"{{if eq $s.Column "left"}} selected{{end}}>Left column</option>
+ <option value="right"{{if eq $s.Column "right"}} selected{{end}}>Right column</option>
+ </select></label>
+ <label>Position<br><select name="position">
+ <option value="top"{{if eq $s.Position "top"}} selected{{end}}>At the top</option>
+ <option value="bottom"{{if eq $s.Position "bottom"}} selected{{end}}>At the bottom</option>
</select></label>
<label>Look<br><select name="style">
<option value="note"{{if eq $s.Style "note"}} selected{{end}}>Highlighted</option>
@@ -18,7 +22,7 @@
<option value="plain"{{if eq $s.Style "plain"}} selected{{end}}>Plain</option>
</select></label>
</div>
- <p class="muted small">The sidebar spot only exists when the menu is a sidebar (see <a href="/b/{{.Blog.Subdomain}}/design">Design</a>); otherwise a sidebar announcement is shown above the posts.</p>
+ <p class="muted small">"Top" of a side column means above its modules, "bottom" below them. If that column is not shown on your blog (see <a href="/b/{{.Blog.Subdomain}}/layout">Layout</a>) the announcement moves to the main content instead.</p>
<label for="ed-body">Text <span class="muted">(Markdown)</span></label>
{{template "editor" (dict "name" "body" "value" $s.BodyMD "rows" 10 "tall" false "upload" (print "/b/" .Blog.Subdomain "/images/upload") "csrf" .CSRF)}}
<label class="check"><input type="checkbox" name="enabled"{{if $s.Enabled}} checked{{end}}> Shown on the blog</label>