[Pkg-octave-commit] rev 115 - in trunk/www: . icons

Rafael Laboissiere rafael@costa.debian.org
Thu, 24 Feb 2005 16:17:56 +0100


Author: rafael
Date: 2005-02-24 16:17:55 +0100 (Thu, 24 Feb 2005)
New Revision: 115

Added:
   trunk/www/icons/
   trunk/www/icons/bug.png
   trunk/www/icons/build.png
   trunk/www/icons/check.png
   trunk/www/icons/home.png
Modified:
   trunk/www/Makefile
   trunk/www/index.html.in
Log:
Use icons for the package links


Modified: trunk/www/Makefile
===================================================================
--- trunk/www/Makefile	2005-02-24 13:37:36 UTC (rev 114)
+++ trunk/www/Makefile	2005-02-24 15:17:55 UTC (rev 115)
@@ -11,14 +11,15 @@
 HOST = alioth.debian.org
 DIR = /org/alioth.debian.org/chroot/home/groups/pkg-octave/htdocs/
 GUIDELINES = DOG-Guidelines.txt
-INSTALLFILES = index.html $(GUIDELINES)
-SRCFILES = index.html.in $(GUIDELINES) Makefile
+ICONS = icons/
+INSTALLFILES = index.html $(GUIDELINES) $(ICONS)
+SRCFILES = index.html.in $(GUIDELINES) $(ICONS) Makefile
 
 install: index.html svn-ci
-	scp $(INSTALLFILES) $(USER)@$(HOST):$(DIR)
+	scp -r $(INSTALLFILES) $(USER)@$(HOST):$(DIR)
 	@echo -n Setting group access of www files...
 	@ssh $(USER)@$(HOST) \
-		'cd $(DIR); for i in $(INSTALLFILES); do chgrp $(GROUP) $$i; chmod g=u $$i; done'
+		'cd $(DIR); for i in $(INSTALLFILES); do chgrp -R $(GROUP) $$i; chmod -R g=u $$i; done'
 	@echo done
 
 %: %.in

Added: trunk/www/icons/bug.png
===================================================================
(Binary files differ)


Property changes on: trunk/www/icons/bug.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/www/icons/build.png
===================================================================
(Binary files differ)


Property changes on: trunk/www/icons/build.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/www/icons/check.png
===================================================================
(Binary files differ)


Property changes on: trunk/www/icons/check.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/www/icons/home.png
===================================================================
(Binary files differ)


Property changes on: trunk/www/icons/home.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: trunk/www/index.html.in
===================================================================
--- trunk/www/index.html.in	2005-02-24 13:37:36 UTC (rev 114)
+++ trunk/www/index.html.in	2005-02-24 15:17:55 UTC (rev 115)
@@ -13,7 +13,9 @@
   h2 { font-size: 1.1em; font-weight: bold;
        color: rgb(136,0,0);
        margin-top: 1em; margin-bottom: 0.5em; }
+  table.pkg { border: 0pt }
   table.footer { border-top: solid black 1px; font-size: 0.8em; }
+  img.icon { border: 0pt; align: bottom }
 </style>
 </head>
 <body>
@@ -83,25 +85,45 @@
   "statdataml"
 )
 :>
-    <ul>
+    <table class="pkg">
 <:
 for my $pkg (@packages) { _:>
-      <li>
-        <:=$pkg:>
-        (<a
-          href="http://packages.debian.org/src:<:=$pkg:>">home</a>,
-         <a
-          href="http://bugs.debian.org/src:<:=$pkg:>">bts</a>,
-         <a
-          href="http://buildd.debian.org/build.php?arch=&pkg=<:=$pkg:>">buildd</a>,
-         <a
-          href="http://bjorn.haxx.se/debian/testing.pl?package=<:=$pkg:>">check</a>)
-      </li>
-
+      <tr>
+        <td><:=$pkg:></td>
+        <td>
+          <a href="http://packages.debian.org/src:<:=$pkg:>"> <img
+          src="icons/home.png" class="icon" alt="[home]"/>
+          </a>
+        </td>
+        <td>
+          <a href="http://bugs.debian.org/src:<:=$pkg:>"> <img
+          src="icons/bug.png" class="icon" alt="[bts]"/>
+          </a>
+        </td>
+        <td>
+          <a
+            href="http://buildd.debian.org/build.php?arch=&pkg=<:=$pkg:>">
+            <img src="icons/build.png" class="icon" alt="[buildd]"/>
+          </a>
+        </td>
+        <td>
+          <a
+            href="http://bjorn.haxx.se/debian/testing.pl?package=<:=$pkg:>">
+            <img src="icons/check.png" class="icon" alt="[check]"/>
+          </a>
+        </td>
+      </tr>
 <:
 }
 :>
-    </ul>
+    </table>
+    <p>
+      [<img src="icons/home.png" class="icon" alt="[home]"/>: package home
+      page, <img src="icons/bug.png" class="icon" alt="[bts]"/>: BTS, <img
+      src="icons/build.png" class="icon" alt="[buildd]"/>: Build daemon
+      logs, <img src="icons/check.png" class="icon" alt="[check]"/>:
+      unstable/testing status]
+    </p>
 
     <h2>Packages not yet released</h2>