summaryrefslogtreecommitdiffstats
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
parent9471faab6c00b48b901ecb75113d34a934844bf4 (diff)
use smaller action icons
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r--resources/16_play.pngbin0 -> 543 bytes
-rw-r--r--resources/export.pngbin2229 -> 905 bytes
-rw-r--r--resources/link.pngbin1848 -> 813 bytes
-rw-r--r--resources/original.pngbin1611 -> 685 bytes
-rw-r--r--resources/rss.pngbin1654 -> 828 bytes
-rw-r--r--resources/slideshow.pngbin1202 -> 595 bytes
-rw-r--r--resources/zoom-100.pngbin2075 -> 838 bytes
-rw-r--r--resources/zoom-in.pngbin2062 -> 876 bytes
-rw-r--r--resources/zoom-out.pngbin1947 -> 812 bytes
-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
12 files changed, 27 insertions, 11 deletions
diff --git a/resources/16_play.png b/resources/16_play.png
new file mode 100644
index 0000000..ca1d222
--- /dev/null
+++ b/resources/16_play.png
Binary files differ
diff --git a/resources/export.png b/resources/export.png
index 130d761..b2391c3 100644
--- a/resources/export.png
+++ b/resources/export.png
Binary files differ
diff --git a/resources/link.png b/resources/link.png
index 4a2a843..f6afa17 100644
--- a/resources/link.png
+++ b/resources/link.png
Binary files differ
diff --git a/resources/original.png b/resources/original.png
index 67e14b8..c5772b9 100644
--- a/resources/original.png
+++ b/resources/original.png
Binary files differ
diff --git a/resources/rss.png b/resources/rss.png
index 4a74d4b..9bc86f7 100644
--- a/resources/rss.png
+++ b/resources/rss.png
Binary files differ
diff --git a/resources/slideshow.png b/resources/slideshow.png
index 4a9c6d5..8e11a1f 100644
--- a/resources/slideshow.png
+++ b/resources/slideshow.png
Binary files differ
diff --git a/resources/zoom-100.png b/resources/zoom-100.png
index aad8b32..9ed4da6 100644
--- a/resources/zoom-100.png
+++ b/resources/zoom-100.png
Binary files differ
diff --git a/resources/zoom-in.png b/resources/zoom-in.png
index b63f0e5..ea7e42f 100644
--- a/resources/zoom-in.png
+++ b/resources/zoom-in.png
Binary files differ
diff --git a/resources/zoom-out.png b/resources/zoom-out.png
index 31034a0..2802bb2 100644
--- a/resources/zoom-out.png
+++ b/resources/zoom-out.png
Binary files differ
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>