about summary refs log tree commit diff
path: root/kittybox-rs/templates/src/login.rs
diff options
context:
space:
mode:
Diffstat (limited to 'kittybox-rs/templates/src/login.rs')
-rw-r--r--kittybox-rs/templates/src/login.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/kittybox-rs/templates/src/login.rs b/kittybox-rs/templates/src/login.rs
new file mode 100644
index 0000000..042c308
--- /dev/null
+++ b/kittybox-rs/templates/src/login.rs
@@ -0,0 +1,17 @@
+markup::define! {
+    LoginPage {
+        form[method="POST"] {
+            h1 { "Sign in with your website" }
+            p {
+                "Signing in to Kittybox might allow you to view private content "
+                    "intended for your eyes only."
+            }
+
+            section {
+                label[for="url"] { "Your website URL" }
+                input[id="url", name="url", placeholder="https://example.com/"];
+                input[type="submit"];
+            }
+        }
+    }
+}