From 96b2571494b690b269afb5ad41919425644cebc7 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 21 Dec 2010 19:07:31 -0500 Subject: Add delete button. Move the add button to the right of total allocated. --- usr/local/www/installer/installer.php | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'usr/local') diff --git a/usr/local/www/installer/installer.php b/usr/local/www/installer/installer.php index faa52f9..153d7bc 100644 --- a/usr/local/www/installer/installer.php +++ b/usr/local/www/installer/installer.php @@ -934,8 +934,17 @@ EOF; // tfoot and tbody are used by rowhelper $custom_txt .= ""; $custom_txt .= ""; - $custom_txt .= "Total allocated:"; - $custom_txt .= "Disk capacity total:"; + $custom_txt .= "Total allocated:"; + // Add row button + $custom_txt .= " "; + $custom_txt .= "
"; + $custom_txt .= ""; + $custom_txt .= "\"\""; + $custom_txt .= "
"; + $custom_txt .= ""; + + + $custom_txt .= "Disk(s) capacity total:"; $custom_txt .= ""; $custom_txt .= ""; } @@ -1134,14 +1143,8 @@ function return_rowhelper_row($rownum, $mountpoint, $fstype, $disk, $size, $encp $custom_txt .= ""; // Add Rowhelper + button - if($rownum == 1) { - $custom_txt .= ""; - $custom_txt .= "
"; - $custom_txt .= ""; - $custom_txt .= "\"\""; - $custom_txt .= "
"; - $custom_txt .= ""; - } + if($rownum > 0) + $custom_txt .= "\"\""; $custom_txt .= ""; return $custom_txt; -- cgit v1.1