summaryrefslogtreecommitdiffstats
path: root/themes/default
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-05-03 08:05:07 +0200
committerAndreas Unterkircher <unki@netshadow.at>2008-05-04 21:52:22 +0200
commit7e03ea33b5466be8d499925972a5d044e9695d3d (patch)
tree1d63add9635e0a870f3f13a26ec7eeb11ae39006 /themes/default
parent9471faab6c00b48b901ecb75113d34a934844bf4 (diff)
use smaller action icons
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'themes/default')
-rw-r--r--themes/default/stylesheet.css9
-rw-r--r--themes/default/templates/photo_index.tpl21
-rw-r--r--themes/default/templates/single_photo.tpl8
3 files changed, 27 insertions, 11 deletions
diff --git a/themes/default/stylesheet.css b/themes/default/stylesheet.css
index 7771736..d67f3ac 100644
--- a/themes/default/stylesheet.css
+++ b/themes/default/stylesheet.css
@@ -225,6 +225,15 @@ table.calendar tr td {
vertical-align: middle;
}
+#whiteline {
+ height: 1px;
+ background-color: #ffffff;
+}
+
+#index {
+ margin-top: 5px;
+}
+
input.submit,input.checkbox {
background-color: transparent;
border: 0px;
diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl
index c01c6af..4a30a46 100644
--- a/themes/default/templates/photo_index.tpl
+++ b/themes/default/templates/photo_index.tpl
@@ -1,4 +1,7 @@
<!-- Photo Index -->
+
+<!-- Header - displays count of matched photos and some link's -->
+
<div class="header">
<div style="float: left;">
<b>Photo Index</b>
@@ -26,23 +29,27 @@
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>
+ <a href="{$slideshow_link}" title="Slideshow" target="_blank"><img src="resources/slideshow.png" />&nbsp;Slideshow</a>
{/if}
{if $extern_link }
- <a href="{$extern_link}" title="Use this link to return to the current view"><img src="resources/link.png" /></a>
+ <a href="{$extern_link}" title="Use this link to return to the current view"><img src="resources/link.png" />&nbsp;External Link</a>
{/if}
{if $export_link }
- <a href="{$export_link}" target="_blank" title="this will open a new browser window where you can export this page in several formats"><img src="resources/export.png" /></a>
+ <a href="{$export_link}" target="_blank" title="this will open a new browser window where you can export this page in several formats"><img src="resources/export.png" />&nbsp;Export</a>
{/if}
{if $rss_link }
- <a href="{$rss_link}" target="_blank" title="RSS feed"><img src="resources/rss.png" /></a>
+ <a href="{$rss_link}" target="_blank" title="RSS feed"><img src="resources/rss.png" />&nbsp;RSS-Feed</a>
{/if}
</div>
</div>
+
+<!-- if result of a tag-search is displayed, show the selected tags
+ with some small pictures in a bar. -->
+
{ if $tag_result }
-<div style="height: 1px; background-color: #ffffff;"></div>
+<div id="whiteline" /></div>
<div class="subheader">
<div style="display: table-cell; vertical-align: middle;">
Tags:
@@ -51,6 +58,8 @@
</div>
{ /if }
+<!-- the photo matrix itself -->
+
<div id="index">
{section name="thumb" loop=$thumbs step=1}
diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl
index 78e489d..04a3502 100644
--- a/themes/default/templates/single_photo.tpl
+++ b/themes/default/templates/single_photo.tpl
@@ -18,13 +18,11 @@
<a href="javascript:zoom(-10);" title="zoom_out" onclick="click(this);"><img src="resources/zoom-out.png" /></a>
<a href="javascript:zoom(0);" title="zoom_100" onclick="click(this);"><img src="resources/zoom-100.png" /></a>
<a href="javascript:zoom(10);" title="zoom_in" onclick="click(this);"><img src="resources/zoom-in.png" /></a>
- <a href="javascript:startAutoBrowse();" title="auto browsing"><img id="autobrowse_ico" src="resources/32_play.png" /></a>
+ <a href="javascript:startAutoBrowse();" title="auto browsing"><img id="autobrowse_ico" src="resources/16_play.png" />&nbsp;Auto-Browse</a>
{if $extern_link }
- <a href="{$extern_link}" title="Use this link to return to the current view"><img src="resources/link.png" /></a>
+ <a href="{$extern_link}" title="Use this link to return to the current view"><img src="resources/link.png" />&nbsp;External Link</a>
{/if}
- <a href="{$image_url_full}" title="orig_image" target="_blank" onclick="click(this);">
- <img src="resources/original.png" alt="original resolution" />
- </a>
+ <a href="{$image_url_full}" title="orig_image" target="_blank" onclick="click(this);"><img src="resources/original.png" alt="original resolution" />&nbsp;Fullsize</a>
</div>
</div>