diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-08-14 17:30:20 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-08-14 17:30:20 -0400 |
commit | 1fb1f3fead2aa0b7c7da1f063e160d4af52d083b (patch) | |
tree | e3f1d3e9a7a3ea309abcff8ecb657139d96c665b /usr/local/www | |
parent | e11d8f9ce53d23bb94889f6d828c48c4d2c2c1ae (diff) | |
download | pfsense-1fb1f3fead2aa0b7c7da1f063e160d4af52d083b.zip pfsense-1fb1f3fead2aa0b7c7da1f063e160d4af52d083b.tar.gz |
Format options screen in a table
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/installer.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr/local/www/installer.php b/usr/local/www/installer.php index f2dda5e..0a692c0 100644 --- a/usr/local/www/installer.php +++ b/usr/local/www/installer.php @@ -615,16 +615,17 @@ EOF; </td> </tr> </table><p/> + <table> EOF; - $custom_txt .= "Disk: <select name='disk'>\n"; + $custom_txt .= "<tr><td align='right'><b>Disk:</td><td><select name='disk'>\n"; foreach($disks as $disk) { $disksize = format_bytes($disk['size'] * 1048576); $custom_txt .= "<option value='{$disk['disk']}'>{$disk['disk']} - {$disksize} - {$disk['desc']}</option>\n"; } - $custom_txt .= "</select><p/>\n"; + $custom_txt .= "</select></td></tr>\n"; // XXX: Convert to rowhelper. Add Ajax callbacks to verify sizes, etc. // Prepare disk types - $custom_txt .= "Filesystem type: <select name='fstype'>\n"; + $custom_txt .= "<tr><td align='right'><b>Filesystem type:</td><td><select name='fstype'>\n"; $custom_txt .= "<option value='UFS'>UFS</option>\n"; $custom_txt .= "<option value='UFS+S'>UFS + Softupdates</option>\n"; $release = trim(`uname -r | cut -d'.' -f1`); @@ -632,7 +633,7 @@ EOF; $custom_txt .= "<option value='UFS+J'>UFS + Journaling</option>\n"; if(file_exists("/boot/gptzfsboot")) $custom_txt .= "<option value='ZFS'>ZFS</option>\n"; - $custom_txt .= "</select>\n"; + $custom_txt .= "</select>\n</td></tr></table><p/>"; } echo <<<EOF <script type="text/javascript"> @@ -647,6 +648,8 @@ EOF; \$('contentdiv').appear(); </script> </center> + </td></tr> + </table> </div> </td> </tr> |