some style fixes
authorAndreas Unterkircher <unki@netshadow.at>
Wed, 6 Jun 2007 20:23:36 +0000 (20:23 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Wed, 6 Jun 2007 20:23:36 +0000 (20:23 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@28 fa6a889d-dae6-447d-9e79-4ba9a3039384

phpfspot.class.php
stylesheet.css
templates/index.tpl
templates/tags.tpl

index 6d66aaefd102f4e39f1934c3dace91c93b8cacee..36ac8ce2f5fa66d7169bdc8cc503f23254faa4b4 100644 (file)
@@ -38,11 +38,9 @@ class PHPFSPOT {
 
    public function show()
    {
 
    public function show()
    {
-
-      $this->tmpl->assign('tags', $this->tags);
+      $this->tmpl->assign('page_title', $this->cfg->page_title);
       $this->tmpl->show("index.tpl");
 
       $this->tmpl->show("index.tpl");
 
-
    } // show()
 
    private function get_tags()
    } // 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)
    } // getSelectedTags()
 
    public function addTag($tag)
index 5ff127a4206b9b3c6ffe63e7be797c5a675b7813..33d20dafb015dafff0feccf5ac7e638c780e7111 100644 (file)
@@ -2,26 +2,30 @@ body {
    background-color: rgb(255,255,255);\r
    color: rgb(26,151,15);\r
    font-family: Arial, Helvetica, sans-serif;\r
    background-color: rgb(255,255,255);\r
    color: rgb(26,151,15);\r
    font-family: Arial, Helvetica, sans-serif;\r
-   border-left-style: none; border-right-style: none; border-top-style: none; border-bottom-style: none;\r
+   font-style: normal;\r
+   border-style: none;\r
    border-color: rgb(15,15,15);\r
 }\r
 \r
 #content {\r
    border-color: rgb(15,15,15);\r
 }\r
 \r
 #content {\r
-   background-color: rgb(255,255,255);\r
-   color: rgb(0,0,0);\r
-   border-left-style: none; border-right-style: none; border-top-style: none; border-bottom-style: none;\r
-   padding: 2px;\r
-   border-color: rgb(0,0,0);\r
+   padding-top: 20px;\r
    margin-left: 25%; width: auto;\r
 }\r
 \r
 #tags {\r
    margin-left: 25%; width: auto;\r
 }\r
 \r
 #tags {\r
-   background-color: rgb(255,255,255);\r
-   color: rgb(4,151,15);\r
-   font-family: sans-serif;\r
-   font-style: normal;\r
-   border-left-style: none; border-right-style: none; border-top-style: none; border-bottom-style: none;\r
-   border-color: rgb(0,0,0);\r
+   font-size: 14px;\r
    padding-top: 20px;\r
    padding-top: 20px;\r
-   width: 25%; position: relative; top: 0; left: 0; float: left;\r
+   width: 150px; \r
+   position: relative; \r
+   top: 0; \r
+   left: 0; \r
+   float: left;\r
+}\r
+\r
+#logo {\r
+   font-weight: bolder;\r
+}\r
+\r
+img {\r
+   border-style: none;\r
 }\r
 }\r
index b3e8a160c8eab1f544f4c19f912f316f931660b6..38af5841bebdff533c4c69fb70f2e03d0354b553 100644 (file)
@@ -1,6 +1,6 @@
 {include file="header.tpl"}
  <body onload="refreshAvailableTags(); refreshSelectedTags();">
 {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>
   <div id="tags">
    {include file="tags.tpl"}
   </div>
index f4664f910c6cc77f7886647a4cdb5600a50104ea..2a6a7a88f1b6914475780364b56a1a2b6dd46b99 100644 (file)
@@ -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>&nbsp;</td>
+ </tr>
+ <tr>
+  <td>
+   <a href="javascript:showPhotoIndex();">Photo Index</a>
+   <a href="javascript:Tags('reset', 0);">Reset Tags</a>
+  </td>
+ </tr>
+</table>