summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2022-06-10 09:51:20 +0530
committerAndinus <andinus@nand.sh>2022-06-10 09:51:20 +0530
commitc868ff796fd8ebf9f0c5f4d69a4abbb0f9682df8 (patch)
tree4f0bd106c3f9ef8e80db285a941a00418737ec7f /templates
parent1ac31ef10cc799f3cb7fc94d34178290a4e8dc00 (diff)
downloadcrater-c868ff796fd8ebf9f0c5f4d69a4abbb0f9682df8.tar.gz
Add bricks.js for masonry layout, fix password input
multi-column didn't do what I wanted. bricks.js does the masonry
layout, I think left-to-right would be even better but we'll go with
this.
Diffstat (limited to 'templates')
-rw-r--r--templates/gallery.crotmp2
-rw-r--r--templates/login.crotmp2
2 files changed, 3 insertions, 1 deletions
diff --git a/templates/gallery.crotmp b/templates/gallery.crotmp
index 2afe7e9..021b366 100644
--- a/templates/gallery.crotmp
+++ b/templates/gallery.crotmp
@@ -19,4 +19,6 @@
 
     </@>
 </div>
+<script type="text/javascript" src="/resources/js/bricks.js"></script>
+<script type="text/javascript" src="/resources/js/gallery.js"></script>
 </|>
diff --git a/templates/login.crotmp b/templates/login.crotmp
index 3dbee24..2a5587c 100644
--- a/templates/login.crotmp
+++ b/templates/login.crotmp
@@ -7,7 +7,7 @@
     </div>
     </?>
 
-    <input type="pass" name="pass" id="pass" placeholder="Password" required>
+    <input type="password" name="pass" id="pass" placeholder="Password" required>
     <br>
     <input type="submit" value="Log In" />
 </form>