aboutsummaryrefslogtreecommitdiff
path: root/templates/media.html
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-02-26 19:54:48 +0100
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-18 16:30:36 +0200
commitc8e1328164e9ffbd681c3c0e449f1e6b9856b896 (patch)
treefaee639a4c55c5dc3bfc59a5400026822c40221d /templates/media.html
downloadlens-c8e1328164e9ffbd681c3c0e449f1e6b9856b896.tar.gz
lens-c8e1328164e9ffbd681c3c0e449f1e6b9856b896.tar.bz2
lens-c8e1328164e9ffbd681c3c0e449f1e6b9856b896.zip
feat: Inicial commit
It contains rough template for the server and runners. It contains rough template for the server and runners.
Diffstat (limited to 'templates/media.html')
-rw-r--r--templates/media.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/media.html b/templates/media.html
new file mode 100644
index 0000000..478d8ae
--- /dev/null
+++ b/templates/media.html
@@ -0,0 +1,18 @@
+{{template "layout.html" .}}
+{{define "title"}} {{.Title}} {{end}}
+{{define "content"}}
+<div class="columns is-multiline">
+{{range .Data.Medias}}
+<div class="card">
+ <div class="card-image">
+ <figure class="image is-fit">
+ <img src="/media/image?path_hash={{.PathHash}}">
+ </figure>
+ </div>
+</div>
+{{end}}
+</div>
+<div class="row">
+ <a href="/media?page={{.Data.Next.Page}}" class="button is-pulled-right">next</a>
+</div>
+{{end}}