Permalink
Browse files

narcissus: prettify package selection a bit

  • Loading branch information...
1 parent 0f86fed commit 8b502568246bb5133066d2ac107a3fb9ac1527e1 @koenkooi koenkooi committed Oct 22, 2009
Showing with 7 additions and 7 deletions.
  1. +7 −7 index.php
View
@@ -20,6 +20,9 @@ function initForm() {
toggleVisibility('buildbutton');
toggleVisibility('patchbox');
+ toggleVisibility('devel');
+ toggleVisibility('console_packages');
+
environmentChange();
}
@@ -261,34 +264,31 @@ function config_dropdown()
</div>
<div id="packageblock">
+<br/>Select additional packages below, click the <img src='img/expand.gif'> icon to expand or collaps a section.<br/><br/>
<div id='x11_wm_block'>
<br>X11 window managers:<br>
<? foreach ($wm_array as $pkg => $pkgdepends) {
print("<input type=\"checkbox\" name=\"wm\" value=\"$pkgdepends\">$pkg<br/>\n");
}?>
</div>
-<br/><br/><br/>
-
<div id='x11_packages_block'>
- <img src='img/expand.gif' onClick="toggleVisibility('x11_packages');"> Additional X11 packages:<br/><br/>
+ <img src='img/expand.gif' onClick="toggleVisibility('x11_packages');"> Additional X11 packages:<br/>
<div id='x11_packages'>
<?foreach ($x11_packages_array as $pkg => $pkgdepends) {
print("<input type=\"checkbox\" name=\"x11_packages\" value=\"$pkgdepends\">$pkg<br/>\n");
}?>
</div>
</div>
-<br/><br/><br/>
-
+ <img src='img/expand.gif' onClick="toggleVisibility('devel');"> Development packages:<br/>
<div id='devel'>
<?foreach ($devel_array as $pkg => $pkgdepends) {
print("<input type=\"checkbox\" name=\"devel\" value=\"$pkgdepends\">$pkg<br/>\n");
}?>
</div>
-<br/><br/><br/>
-
+ <img src='img/expand.gif' onClick="toggleVisibility('console_packages');"> Additional console packages:<br/>
<div id='console_packages'>
<?foreach ($console_packages_array as $pkg => $pkgdepends) {
print("<input type=\"checkbox\" name=\"console_packages\" value=\"$pkgdepends\">$pkg<br/>\n");

0 comments on commit 8b50256

Please sign in to comment.