art-web r539 - in branches/art-hub: css views



Author: thos
Date: Tue Jun 17 20:34:44 2008
New Revision: 539
URL: http://svn.gnome.org/viewvc/art-web?rev=539&view=rev

Log:
* Use css for table "labels"


Modified:
   branches/art-hub/css/art.css
   branches/art-hub/views/backgrounds.php
   branches/art-hub/views/themes.php

Modified: branches/art-hub/css/art.css
==============================================================================
--- branches/art-hub/css/art.css	(original)
+++ branches/art-hub/css/art.css	Tue Jun 17 20:34:44 2008
@@ -3,3 +3,8 @@
   padding: 4px;
   margin: 4px;
 }
+
+td.label {
+  color: gray;
+  font-weight: normal;
+}

Modified: branches/art-hub/views/backgrounds.php
==============================================================================
--- branches/art-hub/views/backgrounds.php	(original)
+++ branches/art-hub/views/backgrounds.php	Tue Jun 17 20:34:44 2008
@@ -49,7 +49,7 @@
 <div class="list-item">
 <table cellpadding="4" width="100%">
   <tr>
-    <td colspan='4'><b><?php echo $row['name']?></b> by
+    <td colspan='6'><b><?php echo $row['name']?></b> by
       <a href="mailto:<?php echo $row['email']?>"><?php echo $row['realname']?></a>
     </td>
   </tr>
@@ -57,11 +57,13 @@
     <td rowspan="3">
       <img width="96" alt="Preview" src='/images/thumbnails/backgrounds/<?php echo $row['backgroundID']?>.jpg'>
     </td>
-    <td colspan="3" style="width:100%"><?php echo $row['description']?></td>
+    <td colspan="5" style="width:100%"><?php echo $row['description']?></td>
   </tr>
   <tr>
+    <td class="label">Date:</td>
     <td><?php $tm = strtotime ($row['release_date']); echo date ("d M Y", $tm); ?></td>
-    <td><span style="color: gray">License:</span> <?php echo $license_config_array[$row['license']]?></td>
+    <td class="label">License:</td>
+    <td><?php echo $license_config_array[$row['license']]?></td>
     <td><a href="#">Download</a></td>
   </tr>
 </table>

Modified: branches/art-hub/views/themes.php
==============================================================================
--- branches/art-hub/views/themes.php	(original)
+++ branches/art-hub/views/themes.php	Tue Jun 17 20:34:44 2008
@@ -56,7 +56,7 @@
 <div class="list-item">
 <table cellpadding="4" width="100%">
   <tr>
-    <td colspan='4'><b><?php echo $row['name']?></b> by
+    <td colspan='6'><b><?php echo $row['name']?></b> by
       <a href="mailto:<?php echo $row['email']?>"><?php echo $row['realname']?></a>
     </td>
   </tr>
@@ -64,11 +64,13 @@
     <td rowspan="3">
       <img width="96" alt="Preview" src='/images/thumbnails/themes/<?php echo $row['themeID']?>.png'>
     </td>
-    <td colspan="3" style="width:100%"><?php echo $row['description']?></td>
+    <td colspan="5" style="width:100%"><?php echo $row['description']?></td>
   </tr>
   <tr>
+    <td class="label">Date:</td>
     <td><?php $tm = strtotime ($row['release_date']); echo date ("d M Y", $tm); ?></td>
-    <td><span style="color: gray">License:</span> <?php echo $license_config_array[$row['license']]?></td>
+    <td class="label">License:</td>
+    <td><?php echo $license_config_array[$row['license']]?></td>
     <td><a href="/download/themes/<?php printf ("%s/%s/%s", $row['category'], $row['themeID'], $row['download_filename'])?>">Download</a></td>
   </tr>
 </table>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]