padding: 5px 10px 5px 10px;
vertical-align: middle;
white-space: nowrap;
+ text-align: left;
+ float: left;
+}
+
+div.tagresult{
+ height: 1px;
+ background-color: #ffffff;
+}
+
+div.tagresulttags{
+ display: table-cell;
+ vertical-align: middle;
+}
+
+div.photo{
+ text-align: left;
+ margin-top: 20px;
+ margin-left: 20px;
+}
+
+div.photonavigation{
+ margin-left: 20px;
+}
+
+div.indexnavigation{
+ width: 100%;
+ margin-top: 20px;
+}
+
+div.indexnavigationright{
+ float: right;
+ width: 40px;
+ margin-right: 0px;
+ padding-right: 10px;
+}
+
+div.indexnavigationleft{
+ float: left;
+ margin: 0px;
+ padding-left: 10px;
+ width: 40px;
+}
+
+div.indexnavigationcenter{
+ text-align: center;
+}
+
+div.textright {
+ text-align: right;
}
div.welcome {
text-decoration: underline;
}
+div.credits{
+ margin-top: 10px;
+ margin-left: 10px;
+}
+
table.calendar tr td {
border: solid 1px #ffffff;
padding: 1px;
<div class="header">
<b>{$product} {$version}</b><br />
</div>
-<div style="margin-top: 10px; margin-left: 10px;">
+<div class="credits">
by Andreas Unterkircher<br />
Licensed under GPLv3, <a href="http://oss.netshadow.at/oss/phpfspot/Project" target="_blank">phpfspot</a>
<hr />
<!-- Photo Index -->
<div class="header">
- <div style="float: left;">
+ <div class="subheader">
<b>Photo Index</b>
{if $searchfor }
{if $count == 1}
Results are limited to a date within {$from_date} to {$to_date}.
{/if}
</div>
-<div style="text-align: right">
+<div class="textright">
{if $slideshow_link }
<a href="{$slideshow_link}" title="Slideshow" target="_blank"><img src="resources/slideshow.png" /></a>
{/if}
</div>
</div>
{ if $tag_result }
-<div style="height: 1px; background-color: #ffffff;"></div>
+<div class="tagresult"></div>
<div class="subheader">
- <div style="display: table-cell; vertical-align: middle;">
+ <div class="tagresulttags">
Tags:
</div>
{ $selected_tags }
</div>
<br class="clearboth" />
-<div style="width: 100%; margin-top: 20px;">
+<div class="indexnavigation">
<!-- the right nav arrow -->
- <div style="float: right; width: 40px; margin-right: 0px; padding-right: 10px;">
+ <div class="indexnavigationright">
{ if $next_url == "" }
{ if $count != 0 }
<img src="resources/arrow_right_gray.png" alt="last page reached" />
</div>
<!-- the left nav arrow -->
- <div style="float: left; margin: 0px; padding-left: 10px; width: 40px;">
+ <div class="indexnavigationleft">
{ if $previous_url == "" }
{ if $count != 0 }
<img src="resources/arrow_left_gray.png" alt="first page reached" />
</div>
<!-- the middle page selector -->
- <div style="text-align: center;">
+ <div class="indexnavigationcenter">
{ if $page_selector != "" }
{$page_selector}
{ /if}
<!-- Single photo -->
<div class="header">
- <div style="text-align: left; float: left;">
+ <div class="subheader">
<b>Photo {$image_name}</b><br />
{if $photo_count > 0}
{$photo_number} of {$photo_count}
{/if}
{/if}
</div>
- <div style="text-align: right;">
+ <div class="textright"">
<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>
</div>
<div>
- <div id="photo_details" style="float: right; margin-top: 20px; margin-right: 20px;">
+ <div id="photo_details">
{ if $ExifMadeWith }
<u><img src="resources/camera.png" alt="camera icon" /> Image taken with:</u><br />
{$ExifMadeWith}<br />
<!-- the photo itself -->
- <div style="text-align: left; margin-top: 20px; margin-left: 20px;">
+ <div class="photo">
{ if $next_url == "" }
<a href="javascript:showPhotoIndex();" onclick="click(this);" name="photo">
{ else }
<!-- navigation arrows -->
- <div style="margin-left: 20px;">
+ <div class="photonavigation">
{ if $previous_url == "" }
<img src="resources/arrow_left_gray.png" alt="first photo reached" />
{ else }