From 53c9a3f97dbe67a8695ce3504135b39afc45dfb8 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Fri, 15 Jun 2007 19:27:50 +0000 Subject: [PATCH 1/1] better style for single photo details git-svn-id: file:///var/lib/svn/phpfspot/trunk@98 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- stylesheet.css | 23 +++++++++++++++++++++++ templates/single_photo.tpl | 24 ++++++++++++++++-------- 2 files changed, 39 insertions(+), 8 deletions(-) diff --git a/stylesheet.css b/stylesheet.css index d1f3ae0..7684014 100644 --- a/stylesheet.css +++ b/stylesheet.css @@ -115,7 +115,21 @@ a.tag:visited, a.tag:active { color: #00ff00; } a.tag:hover { + color: #00aa44; +} + +a.smalltag { + font-size: 12px; + color: #000000; + text-decoration: underline; + font-style: italic; +} + +a.smalltag:visited, a.smalltag:active { + color: #00ff00; +} +a.smalltag:hover { color: #00aa44; } @@ -140,3 +154,12 @@ td.thumb { border: dashed 1px #888888; } + +#photo_details { + width: 150px; + font-size: 12px; + padding: 10px; + -moz-border-radius: 1em; + border-radius: 1em; + border: dashed 1px #888888; +} diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl index adeb9f8..4e043a1 100644 --- a/templates/single_photo.tpl +++ b/templates/single_photo.tpl @@ -55,21 +55,29 @@ - + +
{ if $ExifMadeWith } - With: {$ExifMadeWith}
+ Image taken with:
+ {$ExifMadeWith}
{ /if } { if $ExifMadeOn } + Image made on:
On: {$ExifMadeOn}
{ /if } { if $ExifOrigResolution } - Res: {$ExifOrigResolution}
+ Original resolution:
+ {$ExifOrigResolution}
{ /if } - Size: {$ExifFileSize}kbyte
- Tagged:
- { foreach from=$tags key=id item=name } - {$name}
- { /foreach } + Size: {$ExifFileSize}kbyte
+ { if $tags } +
+ Tagged with:
+ { foreach from=$tags key=id item=name } + {$name}
+ { /foreach } + { /if } +
-- 2.25.1