diff options
author | Colin Fleming <cj_fleming@sky.com> | 2015-12-04 12:58:46 +0000 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2015-12-04 12:58:46 +0000 |
commit | 7e3c57cd72b2f9601226139bbeec1b1d08ffb9f8 (patch) | |
tree | 4e944439a26c2743d82a94e3af8d1125e1ec4417 /src/usr/local/www/diag_defaults.php | |
parent | bc03c2e06dd8a7cbadb05566c7cea03495fc3bbb (diff) | |
download | pfsense-7e3c57cd72b2f9601226139bbeec1b1d08ffb9f8.zip pfsense-7e3c57cd72b2f9601226139bbeec1b1d08ffb9f8.tar.gz |
Tidy up "diag_defaults.php"
Add Bootstrap look-n-feel to diag_defaults.php
Diffstat (limited to 'src/usr/local/www/diag_defaults.php')
-rwxr-xr-x | src/usr/local/www/diag_defaults.php | 43 |
1 files changed, 26 insertions, 17 deletions
diff --git a/src/usr/local/www/diag_defaults.php b/src/usr/local/www/diag_defaults.php index f325655..e6fcadf 100755 --- a/src/usr/local/www/diag_defaults.php +++ b/src/usr/local/www/diag_defaults.php @@ -87,22 +87,31 @@ include("head.inc"); ?> </pre> <?php else:?> -<form action="diag_defaults.php" method="post"> - <p><strong><?=gettext("If you click") . " "" . gettext("Yes") . "", " . gettext("the firewall will:")?></strong></p> - <ul> - <li><?=gettext("Reset to factory defaults")?></li> - <li><?=gettext("LAN IP address will be reset to 192.168.1.1")?></li> - <li><?=gettext("System will be configured as a DHCP server on the default LAN interface")?></li> - <li><?=gettext("Reboot after changes are installed")?></li> - <li><?=gettext("WAN interface will be set to obtain an address automatically from a DHCP server")?></li> - <li><?=gettext("webConfigurator admin username will be reset to 'admin'")?></li> - <li><?=gettext("webConfigurator admin password will be reset to")?> '<?=$g['factory_shipped_password']?>'</li> - </ul> - <p><strong><?=gettext("Are you sure you want to proceed?")?></strong></p> - <p> - <input name="Submit" type="submit" class="btn btn-sm btn-success" value=" <?=gettext("Yes")?> " /> - <input name="Submit" type="submit" class="btn btn-sm btn-default" value=" <?=gettext("No")?> " /> - </p> -</form> +<div class="panel panel-default"> + <div class="panel-heading"> + <h2 class="panel-title">Are you sure you want to reset the system to the factory defaults?</h2> + </div> + <div class="panel-body"> + <div class="content"> + <form action="diag_defaults.php" method="post"> + <p><strong><?=gettext("If you click") . " "" . gettext("Yes") . "", " . gettext("the firewall will:")?></strong></p> + <ul> + <li><?=gettext("Reset to factory defaults")?></li> + <li><?=gettext("LAN IP address will be reset to 192.168.1.1")?></li> + <li><?=gettext("System will be configured as a DHCP server on the default LAN interface")?></li> + <li><?=gettext("Reboot after changes are installed")?></li> + <li><?=gettext("WAN interface will be set to obtain an address automatically from a DHCP server")?></li> + <li><?=gettext("webConfigurator admin username will be reset to 'admin'")?></li> + <li><?=gettext("webConfigurator admin password will be reset to")?> '<?=$g['factory_shipped_password']?>'</li> + </ul> + <p><strong><?=gettext("Are you sure you want to proceed?")?></strong></p> + <p> + <input name="Submit" type="submit" class="btn btn-sm btn-success" value=" <?=gettext("Yes")?> " /> + <input name="Submit" type="submit" class="btn btn-sm btn-default" value=" <?=gettext("No")?> " /> + </p> + </form> + </div> + </div> +</div> <?php endif?> <?php include("foot.inc")?> |