aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web/templates/dashboard/images.html
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/templates/dashboard/images.html')
-rw-r--r--internal/web/templates/dashboard/images.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/internal/web/templates/dashboard/images.html b/internal/web/templates/dashboard/images.html
index 5383e73..b44289e 100644
--- a/internal/web/templates/dashboard/images.html
+++ b/internal/web/templates/dashboard/images.html
@@ -1,14 +1,16 @@
{{define "title"}}Images ยท {{.Blog.Title}}{{end}}
{{define "content"}}
-<h1>Images</h1>
+<div class="pagehead">
+ <h1>Images</h1>
+ <p class="lead muted">Images are stored with your blog. Put one in a post with <em>Insert image</em> in the editor, or copy its line from below.</p>
+</div>
<div class="card">
<form method="post" action="/b/{{.Blog.Subdomain}}/images/upload" enctype="multipart/form-data">
<input type="hidden" name="_csrf" value="{{.CSRF}}">
<label>Upload an image <span class="muted">(PNG, JPEG, GIF or WebP)</span><br><input type="file" name="file" accept="image/*" required></label>
- <button type="submit">Upload</button>
+ <p class="actionrow"><button type="submit">Upload</button></p>
</form>
</div>
-<p class="muted">To put an image in a post, copy its Markdown line into the post text.</p>
<div class="gallery">
{{range .Data.images}}
<div class="card thumb">