summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2014-09-11 07:55:06 +0545
committerPhil Davis <phil.davis@inf.org>2014-09-11 07:55:06 +0545
commitffda0775f66fee4dc65a98427f8a6d7ec7075ace (patch)
treee937c15de8e337c2b9feba373f7e8f38a4781b64
parentbe32a003afd114098e8cfe7c18edae887810500f (diff)
downloadpfsense-ffda0775f66fee4dc65a98427f8a6d7ec7075ace.zip
pfsense-ffda0775f66fee4dc65a98427f8a6d7ec7075ace.tar.gz
Standardise size of Duplicate Slice button
The Duplicate Slice button currently is displayed in smaller text and in a row of its own, separate from the row above that has the rest of the "Duplicate bootup slice" text and slice selection. This change puts the button in the same row as the slice selection and text, and makes the button text be the same size as the text in other buttons on this page. Did this first on a 2.1.5 system, so have submitted this against 2.1 branch. I will make another pull request against master also, because a later xhtml compliance change in master will conflict.
-rwxr-xr-xusr/local/www/diag_nanobsd.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/local/www/diag_nanobsd.php b/usr/local/www/diag_nanobsd.php
index 804b3b4..128c43f 100755
--- a/usr/local/www/diag_nanobsd.php
+++ b/usr/local/www/diag_nanobsd.php
@@ -217,12 +217,11 @@ if ($savemsg)
</select>
<br/>
<?=gettext("This will duplicate the bootup slice to the alternate slice. Use this if you would like to duplicate the known good working boot partition to the alternate.");?>
+ <br/><input type='submit' name='duplicateslice' value='<?php echo gettext("Duplicate slice") ?>'>
+ </form>
</td>
</tr>
<tr>
- <td valign="top" class="">&nbsp;</td><td><br/><input type='submit' value='Duplicate slice'></form></td>
- </tr>
- <tr>
<td colspan="2" valign="top" class="">&nbsp;</td>
</tr>
<tr>
OpenPOWER on IntegriCloud