Revision 7e3c57cd
Added by Colin Fleming over 9 years ago
src/usr/local/www/diag_defaults.php | ||
---|---|---|
87 | 87 |
?> |
88 | 88 |
</pre> |
89 | 89 |
<?php else:?> |
90 |
<form action="diag_defaults.php" method="post"> |
|
91 |
<p><strong><?=gettext("If you click") . " "" . gettext("Yes") . "", " . gettext("the firewall will:")?></strong></p> |
|
92 |
<ul> |
|
93 |
<li><?=gettext("Reset to factory defaults")?></li> |
|
94 |
<li><?=gettext("LAN IP address will be reset to 192.168.1.1")?></li> |
|
95 |
<li><?=gettext("System will be configured as a DHCP server on the default LAN interface")?></li> |
|
96 |
<li><?=gettext("Reboot after changes are installed")?></li> |
|
97 |
<li><?=gettext("WAN interface will be set to obtain an address automatically from a DHCP server")?></li> |
|
98 |
<li><?=gettext("webConfigurator admin username will be reset to 'admin'")?></li> |
|
99 |
<li><?=gettext("webConfigurator admin password will be reset to")?> '<?=$g['factory_shipped_password']?>'</li> |
|
100 |
</ul> |
|
101 |
<p><strong><?=gettext("Are you sure you want to proceed?")?></strong></p> |
|
102 |
<p> |
|
103 |
<input name="Submit" type="submit" class="btn btn-sm btn-success" value=" <?=gettext("Yes")?> " /> |
|
104 |
<input name="Submit" type="submit" class="btn btn-sm btn-default" value=" <?=gettext("No")?> " /> |
|
105 |
</p> |
|
106 |
</form> |
|
90 |
<div class="panel panel-default"> |
|
91 |
<div class="panel-heading"> |
|
92 |
<h2 class="panel-title">Are you sure you want to reset the system to the factory defaults?</h2> |
|
93 |
</div> |
|
94 |
<div class="panel-body"> |
|
95 |
<div class="content"> |
|
96 |
<form action="diag_defaults.php" method="post"> |
|
97 |
<p><strong><?=gettext("If you click") . " "" . gettext("Yes") . "", " . gettext("the firewall will:")?></strong></p> |
|
98 |
<ul> |
|
99 |
<li><?=gettext("Reset to factory defaults")?></li> |
|
100 |
<li><?=gettext("LAN IP address will be reset to 192.168.1.1")?></li> |
|
101 |
<li><?=gettext("System will be configured as a DHCP server on the default LAN interface")?></li> |
|
102 |
<li><?=gettext("Reboot after changes are installed")?></li> |
|
103 |
<li><?=gettext("WAN interface will be set to obtain an address automatically from a DHCP server")?></li> |
|
104 |
<li><?=gettext("webConfigurator admin username will be reset to 'admin'")?></li> |
|
105 |
<li><?=gettext("webConfigurator admin password will be reset to")?> '<?=$g['factory_shipped_password']?>'</li> |
|
106 |
</ul> |
|
107 |
<p><strong><?=gettext("Are you sure you want to proceed?")?></strong></p> |
|
108 |
<p> |
|
109 |
<input name="Submit" type="submit" class="btn btn-sm btn-success" value=" <?=gettext("Yes")?> " /> |
|
110 |
<input name="Submit" type="submit" class="btn btn-sm btn-default" value=" <?=gettext("No")?> " /> |
|
111 |
</p> |
|
112 |
</form> |
|
113 |
</div> |
|
114 |
</div> |
|
115 |
</div> |
|
107 | 116 |
<?php endif?> |
108 | 117 |
<?php include("foot.inc")?> |
Also available in: Unified diff
Tidy up "diag_defaults.php"
Add Bootstrap look-n-feel to diag_defaults.php