diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-06-06 20:23:36 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-06-06 20:23:36 +0000 |
commit | de34b624e16463da0f93daba664b414cc9bb4d21 (patch) | |
tree | 24be8b0ac64a2a7dfe5c4c99d35a0e530adb4d1c | |
parent | 57358ea6629f4fafdf383314c64efcea55c56492 (diff) |
some style fixes
git-svn-id: file:///var/lib/svn/phpfspot/trunk@28 fa6a889d-dae6-447d-9e79-4ba9a3039384
-rw-r--r-- | phpfspot.class.php | 6 | ||||
-rw-r--r-- | stylesheet.css | 30 | ||||
-rw-r--r-- | templates/index.tpl | 2 | ||||
-rw-r--r-- | 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 "<a href=\"javascript:Tags('reset', 0);\">Reset Tags</a>"; - } // 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"} <body onload="refreshAvailableTags(); refreshSelectedTags();"> - <div id="logo">noch keins da</div> + <div id="logo">{$page_title}</div> <div id="tags"> {include file="tags.tpl"} </div> 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:<br /> -<div id='available_tags'> -</div> - The following tags have been selected: <br /> -<div id='selected_tags'> -</div> -<br /> -<a href="javascript:showPhotoIndex();">Photo Index</a> +<table> + <tr> + <td> + The following tags are available: + </td> + </tr> + <tr> + <td> + <div id='available_tags'></div> + </td> + </tr> + <tr> + <td> + The following tags have been selected: + </td> + </tr> + <tr> + <td> + <div id='selected_tags'></div> + </td> + </tr> + <tr> + <td> </td> + </tr> + <tr> + <td> + <a href="javascript:showPhotoIndex();">Photo Index</a> + <a href="javascript:Tags('reset', 0);">Reset Tags</a> + </td> + </tr> +</table> |