summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-04-26 10:18:50 +0200
committerAndreas Unterkircher <unki@netshadow.at>2008-04-27 14:20:25 +0200
commit4552617dca9f593137d6785ccd67c6a421df232f (patch)
treefc4aa071256c6f3d5f02365a4fc1f87467f26247 /themes
parent10736368760f248233def4a1212b69666a1d8460 (diff)
issue115, display tag-selection in photo-index
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'themes')
-rw-r--r--themes/default/stylesheet.css7
-rw-r--r--themes/default/templates/photo_index.tpl11
2 files changed, 17 insertions, 1 deletions
diff --git a/themes/default/stylesheet.css b/themes/default/stylesheet.css
index e9a505c..7771736 100644
--- a/themes/default/stylesheet.css
+++ b/themes/default/stylesheet.css
@@ -83,6 +83,13 @@ div.header {
white-space: nowrap;
}
+div.subheader {
+ background-color: #eeeeee;
+ padding: 5px 10px 5px 10px;
+ vertical-align: middle;
+ white-space: nowrap;
+}
+
img {
border: none;
}
diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl
index 82f4959..c01c6af 100644
--- a/themes/default/templates/photo_index.tpl
+++ b/themes/default/templates/photo_index.tpl
@@ -26,7 +26,7 @@
Results are limited to a date within {$from_date} to {$to_date}.
{/if}
</div>
- <div style="text-align: right">
+<div style="text-align: right">
{if $slideshow_link }
<a href="{$slideshow_link}" title="Slideshow" target="_blank"><img src="resources/slideshow.png" /></a>
{/if}
@@ -41,6 +41,15 @@
{/if}
</div>
</div>
+{ if $tag_result }
+<div style="height: 1px; background-color: #ffffff;"></div>
+<div class="subheader">
+ <div style="display: table-cell; vertical-align: middle;">
+ Tags:
+ </div>
+ { $selected_tags }
+</div>
+{ /if }
<div id="index">