aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/pages/image.tmpl2
-rw-r--r--templates/pages/login.tmpl17
2 files changed, 18 insertions, 1 deletions
diff --git a/templates/pages/image.tmpl b/templates/pages/image.tmpl
index fcebdd5..79bf5dc 100644
--- a/templates/pages/image.tmpl
+++ b/templates/pages/image.tmpl
@@ -6,7 +6,7 @@
<div>
<figure>
<img src="http://localhost:8080{{ .ImageUrl }}">
- <caption>{{.ImageDesc}}</caption>
+ <figcaption>{{.ImageDesc }}</figcaption>
</figure>
</div>
</body>
diff --git a/templates/pages/login.tmpl b/templates/pages/login.tmpl
new file mode 100644
index 0000000..8598cb1
--- /dev/null
+++ b/templates/pages/login.tmpl
@@ -0,0 +1,17 @@
+{{ define "content" }}
+<body>
+<div>
+<h3>Login</h3>
+</div>
+<div>
+<form action="https://indielogin.com/auth" method="get">
+ <label for="url">Email Address:</label>
+ <input id="url" type="text" name="me" placeholder="yourdomain.com" />
+ <p><input type="submit">Sign In</input></p>
+ <input type="hidden" name="client_id" value="https://img.ofmax.li/" />
+ <input type="hidden" name="redirect_uri" value="https://img.ofmax.li/a/g" />
+ <input type="hidden" name="state" value="{{ .Token }}" />
+</form>
+</div>
+</body>
+{{ end }}