changeset 2731:34131072cb1c octave-forge

The triangle in packages.html is now clickable
author hauberg
date Thu, 19 Oct 2006 22:01:26 +0000
parents 06d4817a110b
children 8696f4d4f115
files www/build-www.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/www/build-www.py	Thu Oct 19 19:36:34 2006 +0000
+++ b/www/build-www.py	Thu Oct 19 22:01:26 2006 +0000
@@ -292,8 +292,9 @@
                     
                     index.write('<div class="package" id="' + n + '_detailed" style="display: none;">\n');
                     index.write('  <table class="package"><tr>\n');
-                    index.write('    <td><img src="hide.png" style="padding-right: 0.5em;"/>\n');
+                    index.write('    <td>\n');
                     index.write('   <b><a href="javascript:fold(\'' + n + '\');" class="package_head_link">');
+                    index.write('   <img src="hide.png" style="padding-right: 0.5em; border: none;"/>\n');
                     index.write(desc['name'] + '</a></b></td>\n');
                     index.write('    <td style="text-align: right;">&raquo; <a href="' + outdir);
                     index.write('/index.html" class="package_link">details</a> |\n');
@@ -308,8 +309,9 @@
 
                     index.write('<div class="package" id="' + n + '">\n');
                     index.write('  <table class="package"><tr>\n');
-                    index.write('    <td><img src="show.png" style="padding-right: 0.5em;"/>\n');
+                    index.write('    <td>\n');
                     index.write('    <b><a href="javascript:unfold(\'' + n + '\');" class="package_head_link">');
+                    index.write('    <img src="show.png" style="padding-right: 0.5em; border: none;"/>\n');
                     index.write(desc['name'] + '</a></b></td>\n');
                     index.write('    <td style="text-align: right;">&raquo; <a href="' + outdir);
                     index.write('/index.html" class="package_link">details</a> |\n');