summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_captiveportal_mac.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-11-04 12:40:03 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-04 12:40:03 -0500
commit2ec8f0baec8a40912e7a8f5bf7f5f78e9e16c3b1 (patch)
tree2d010222c2a3ce1b465b4bb9bbe9a898438c70f5 /src/usr/local/www/services_captiveportal_mac.php
parent09415b9e568f6f10d3f3b7e5c153109e869fc69f (diff)
downloadpfsense-2ec8f0baec8a40912e7a8f5bf7f5f78e9e16c3b1.zip
pfsense-2ec8f0baec8a40912e7a8f5bf7f5f78e9e16c3b1.tar.gz
Buttons update to new design:wq
Diffstat (limited to 'src/usr/local/www/services_captiveportal_mac.php')
-rw-r--r--src/usr/local/www/services_captiveportal_mac.php17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/usr/local/www/services_captiveportal_mac.php b/src/usr/local/www/services_captiveportal_mac.php
index 688784c..a2b88d6 100644
--- a/src/usr/local/www/services_captiveportal_mac.php
+++ b/src/usr/local/www/services_captiveportal_mac.php
@@ -78,11 +78,9 @@ if (isset($_POST['zone'])) {
$cpzone = $_POST['zone'];
}
-
if (empty($cpzone) || empty($config['captiveportal'][$cpzone])) {
header("Location: services_captiveportal_zones.php");
exit;
-}
if (!is_array($config['captiveportal'])) {
$config['captiveportal'] = array();
@@ -245,12 +243,17 @@ else :
<?php
endif;
?>
- <nav class="action-buttons">
- <a href="services_captiveportal_mac_edit.php?zone=<?=$cpzone?>&amp;act=add" class="btn btn-success">Add</a>
- </nav>
</div>
+<nav class="action-buttons" style="margin-top: 10px;">
+ <a href="services_captiveportal_mac_edit.php?zone=<?=$cpzone?>&amp;act=add" class="btn btn-success btn-sm">
+ <i class="fa fa-plus" style="font-size:15px; vertical-align: middle; margin-right: 6px;"></i>
+ <?=gettext("Add")?>
+ </a>
+</nav>
+
+<div id="infoblock">
+ <?=print_info_box(gettext('Adding MAC addresses as "pass" MACs allows them access through the captive portal automatically without being taken to the portal page.'), info)?>
+</div>
<?php
-print_info_box(gettext('Adding MAC addresses as "pass" MACs allows them access through the captive portal automatically without being taken to the portal page.'));
-
include("foot.inc");
OpenPOWER on IntegriCloud