diff options
author | Andinus <andinus@nand.sh> | 2022-06-11 17:21:46 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2022-06-11 17:21:46 +0530 |
commit | 02f8885f05f09dcb57a358fcd3440eaf679c8c02 (patch) | |
tree | f194b467501e2f3c9981574952291bbd22906044 /templates | |
parent | 79aa4269eccfc6afdb6347b37956b16e7603f0b0 (diff) | |
download | crater-02f8885f05f09dcb57a358fcd3440eaf679c8c02.tar.gz |
Add navigation bar to gallery
- Error on no images has been removed because there might be nested directories but 0 images & that is okay.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/gallery.crotmp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/gallery.crotmp b/templates/gallery.crotmp index 6cc7fbf..e1d13e3 100644 --- a/templates/gallery.crotmp +++ b/templates/gallery.crotmp @@ -3,6 +3,13 @@ <noscript> <div class="alert" role="alert">JavaScript required.</div> </noscript> + <?.show-nav> + <div id="nav"> + <@nav : $p> + <a href="<$p.<url>>"><$p.<name>></a> / + </@> + </div> + </?> <div id="loading"> <label for="loading-progress">Loading Images:</label> <progress id="loading-progress" max="100" value="0"></progress> |