summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-03-11 09:34:56 -0500
committerjim-p <jimp@pfsense.org>2016-03-11 09:34:56 -0500
commit6400975d5d398d9c3771808c637506c9d1d20534 (patch)
tree308df6d42099a3cba3d88b91e3a28a9d0f3f8d59
parent418695882980cce2450e97608ee0864885208250 (diff)
downloadpfsense-6400975d5d398d9c3771808c637506c9d1d20534.zip
pfsense-6400975d5d398d9c3771808c637506c9d1d20534.tar.gz
Use less confusing button text/colors/icons for Factory defaults/Halt/Reboot. Ticket #5965
-rwxr-xr-xsrc/usr/local/www/diag_defaults.php4
-rwxr-xr-xsrc/usr/local/www/diag_halt.php6
-rwxr-xr-xsrc/usr/local/www/diag_reboot.php6
3 files changed, 8 insertions, 8 deletions
diff --git a/src/usr/local/www/diag_defaults.php b/src/usr/local/www/diag_defaults.php
index 3ab3362..3520e68 100755
--- a/src/usr/local/www/diag_defaults.php
+++ b/src/usr/local/www/diag_defaults.php
@@ -104,11 +104,11 @@ include("head.inc");
<p>
<button name="Submit" type="submit" class="btn btn-sm btn-danger" value=" <?=gettext("Yes")?> " title="<?=gettext("Perform a factory reset")?>">
<i class="fa fa-undo"></i>
- <?=gettext("Yes, Factory reset")?>
+ <?=gettext("Factory Reset")?>
</button>
<button name="Submit" type="submit" class="btn btn-sm btn-success" value=" <?=gettext("No")?> " title="<?=gettext("Return to the dashboard")?>">
<i class="fa fa-save"></i>
- <?=gettext("No, Keep this configuration")?>
+ <?=gettext("Keep Configuration")?>
</button>
</p>
</form>
diff --git a/src/usr/local/www/diag_halt.php b/src/usr/local/www/diag_halt.php
index 3b1b01c..da4cc48 100755
--- a/src/usr/local/www/diag_halt.php
+++ b/src/usr/local/www/diag_halt.php
@@ -106,9 +106,9 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
<i class="fa fa-stop-circle"></i>
<?=gettext("Halt")?>
</button>
- <a href="/" class="btn btn-success">
- <i class="fa fa-play"></i>
- <?=gettext("No")?>
+ <a href="/" class="btn btn-info">
+ <i class="fa fa-undo"></i>
+ <?=gettext("Cancel")?>
</a>
</form>
</div>
diff --git a/src/usr/local/www/diag_reboot.php b/src/usr/local/www/diag_reboot.php
index bfdf873..e8e4535 100755
--- a/src/usr/local/www/diag_reboot.php
+++ b/src/usr/local/www/diag_reboot.php
@@ -147,9 +147,9 @@ events.push(function() {
<i class="fa fa-refresh"></i>
<?=gettext("Reboot")?>
</button>
- <a href="/" class="btn btn-success">
- <i class="fa fa-play"></i>
- <?=gettext("No")?>
+ <a href="/" class="btn btn-info">
+ <i class="fa fa-undo"></i>
+ <?=gettext("Cancel")?>
</a>
</form>
</div>
OpenPOWER on IntegriCloud