From de34b624e16463da0f93daba664b414cc9bb4d21 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Wed, 6 Jun 2007 20:23:36 +0000 Subject: some style fixes git-svn-id: file:///var/lib/svn/phpfspot/trunk@28 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- phpfspot.class.php | 6 +----- stylesheet.css | 30 +++++++++++++++++------------- templates/index.tpl | 2 +- templates/tags.tpl | 39 +++++++++++++++++++++++++++++++-------- 4 files changed, 50 insertions(+), 27 deletions(-) diff --git a/phpfspot.class.php b/phpfspot.class.php index 6d66aae..36ac8ce 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -38,11 +38,9 @@ class PHPFSPOT { public function show() { - - $this->tmpl->assign('tags', $this->tags); + $this->tmpl->assign('page_title', $this->cfg->page_title); $this->tmpl->show("index.tpl"); - } // show() private function get_tags() @@ -176,8 +174,6 @@ class PHPFSPOT { } - print "Reset Tags"; - } // getSelectedTags() public function addTag($tag) diff --git a/stylesheet.css b/stylesheet.css index 5ff127a..33d20da 100644 --- a/stylesheet.css +++ b/stylesheet.css @@ -2,26 +2,30 @@ body { background-color: rgb(255,255,255); color: rgb(26,151,15); font-family: Arial, Helvetica, sans-serif; - border-left-style: none; border-right-style: none; border-top-style: none; border-bottom-style: none; + font-style: normal; + border-style: none; border-color: rgb(15,15,15); } #content { - background-color: rgb(255,255,255); - color: rgb(0,0,0); - border-left-style: none; border-right-style: none; border-top-style: none; border-bottom-style: none; - padding: 2px; - border-color: rgb(0,0,0); + padding-top: 20px; margin-left: 25%; width: auto; } #tags { - background-color: rgb(255,255,255); - color: rgb(4,151,15); - font-family: sans-serif; - font-style: normal; - border-left-style: none; border-right-style: none; border-top-style: none; border-bottom-style: none; - border-color: rgb(0,0,0); + font-size: 14px; padding-top: 20px; - width: 25%; position: relative; top: 0; left: 0; float: left; + width: 150px; + position: relative; + top: 0; + left: 0; + float: left; +} + +#logo { + font-weight: bolder; +} + +img { + border-style: none; } diff --git a/templates/index.tpl b/templates/index.tpl index b3e8a16..38af584 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -1,6 +1,6 @@ {include file="header.tpl"} - +
{include file="tags.tpl"}
diff --git a/templates/tags.tpl b/templates/tags.tpl index f4664f9..2a6a7a8 100644 --- a/templates/tags.tpl +++ b/templates/tags.tpl @@ -1,8 +1,31 @@ - The following tags are available:
-
-
- The following tags have been selected:
-
-
-
-Photo Index + + + + + + + + + + + + + + + + + + + +
+ The following tags are available: +
+
+
+ The following tags have been selected: +
+
+
 
+ Photo Index + Reset Tags +
-- cgit v1.2.3-18-g5258