diff options
author | Christopher Baines <mail@cbaines.net> | 2015-06-14 11:34:25 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2015-06-14 11:34:25 +0100 |
commit | 9cbef9e2e45292357196148e1038b1eba012d274 (patch) | |
tree | e7ce346d0c22b877614e4a48c359822ec48d469d /templates | |
parent | 293b74524bbbca40cbd6c32f9fffdc3c3210716a (diff) | |
download | cbaines.net-9cbef9e2e45292357196148e1038b1eba012d274.tar cbaines.net-9cbef9e2e45292357196148e1038b1eba012d274.tar.gz |
Add some missing templates
Diffstat (limited to 'templates')
-rw-r--r-- | templates/albumitem.tmpl | 34 | ||||
-rw-r--r-- | templates/albumnext.tmpl | 6 | ||||
-rw-r--r-- | templates/albumprev.tmpl | 6 |
3 files changed, 46 insertions, 0 deletions
diff --git a/templates/albumitem.tmpl b/templates/albumitem.tmpl new file mode 100644 index 0000000..28cd43d --- /dev/null +++ b/templates/albumitem.tmpl @@ -0,0 +1,34 @@ +<TMPL_IF NAME=FIRST> +<div class="album"> +</TMPL_IF> + +<div class="album-item"> + <div class="album-thumbnail"> + <TMPL_VAR NAME=THUMBNAIL> + </div> + <div class="album-title"> + <a href="<TMPL_VAR NAME=PAGEURL>"><TMPL_VAR NAME=TITLE></a> + </div> + <div class="album-metadata"> + <TMPL_IF NAME=CTIME> + <span class="album-ctime"> + <TMPL_VAR NAME=CTIME> + </span> + </TMPL_IF> + <TMPL_IF NAME=IMAGEWIDTH> + <span class="album-dimensions"><TMPL_VAR NAME=IMAGEWIDTH ESCAPE=HTML> + × <TMPL_VAR NAME=IMAGEHEIGHT ESCAPE=HTML></span> + </TMPL_IF> + <TMPL_IF NAME=IMAGEFORMAT> + <span class="album-format"><TMPL_VAR NAME=IMAGEFORMAT ESCAPE=HTML></span> + </TMPL_IF> + <TMPL_IF NAME=IMAGEFILESIZE> + <span class="album-size"><TMPL_VAR NAME=IMAGEFILESIZE ESCAPE=HTML></span> + </TMPL_IF> + </div> + <div class="album-caption"><TMPL_VAR NAME=CAPTION></div> +</div> + +<TMPL_IF NAME=LAST> +</div> <div class="album-end"></div> +</TMPL_IF> diff --git a/templates/albumnext.tmpl b/templates/albumnext.tmpl new file mode 100644 index 0000000..7e92b24 --- /dev/null +++ b/templates/albumnext.tmpl @@ -0,0 +1,6 @@ +<div class="album-next"> + <a href="<TMPL_VAR NAME=PAGEURL>"><span class="album-arrow">→</span></a><br /> + <div class="album-thumbnail"> + <TMPL_VAR NAME=THUMBNAIL> + </div> +</div> diff --git a/templates/albumprev.tmpl b/templates/albumprev.tmpl new file mode 100644 index 0000000..36c00d8 --- /dev/null +++ b/templates/albumprev.tmpl @@ -0,0 +1,6 @@ +<div class="album-prev"> + <a href="<TMPL_VAR NAME=PAGEURL>"><span class="album-arrow">←</span></a><br /> + <div class="album-thumbnail"> + <TMPL_VAR NAME=THUMBNAIL> + </div> +</div> |