toolbar mockup

This commit is contained in:
Andrew Dolgov 2005-08-21 12:11:53 +01:00
parent 6f428bc504
commit 2c1dd701a0
3 changed files with 31 additions and 5 deletions

View File

@ -18,12 +18,13 @@
while ($line = pg_fetch_assoc($result)) {
$feed = $line["title"];
$feed_id = $line["id"];
$class = ($lnum % 2) ? "even" : "odd";
// if ($lnum == 2 || $lnum == 0) $feed = "<b>$feed</b>";
$feed = "<a href=\"javascript:viewfeed('$feed')\">$feed</a>";
$feed = "<a href=\"javascript:viewfeed($feed_id);\">$feed</a>";
print "<li class=\"$class\">$feed</li>";
++$lnum;

View File

@ -12,14 +12,33 @@ a {
a:hover {
text-decoration : underline;
}
a.button {
border : 1px solid #d0d0d0;
background : white;
color : black;
padding : 5px 10px 5px 10px;
}
a.button:hover {
background : #f0f0f0;
text-decoration : none;
}
td.toolbar {
height : 40px;
text-align : right;
background : #f0f0f0;
padding-right : 5px;
}
td.header {
font-size : 18pt;
background : #f0f0f0;
height : 100px;
height : 50px;
padding-left : 80px;
padding-top : 30px;
font-weight : bold;
}

View File

@ -10,7 +10,13 @@
<table width="100%" height="100%" cellspacing=0 cellpadding=0>
<tr>
<td class="header" valign="middle" colspan="2">
Tiny Tiny RSS
Tiny Tiny RSS
</td>
</tr>
<tr>
<td class="toolbar" valign="middle" colspan="2">
<a class="button">Preferences</a>
<a class="button">Refresh</a>
</td>
</tr>
<tr>