summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_captiveportal_zones.php
diff options
context:
space:
mode:
authorplumbeo <plumbeo@users.noreply.github.com>2016-12-21 22:37:23 +0100
committerSteve Beaver <sbeaver@netgate.com>2016-12-21 16:48:09 -0500
commit5c2cfdbde91db59b9245d8084421eff39e0964f4 (patch)
treeb858d496d951eed50da415ed6366681e641af7c8 /src/usr/local/www/services_captiveportal_zones.php
parent3e2678ac6d9930cec7db4411098c3baf82206d22 (diff)
downloadpfsense-5c2cfdbde91db59b9245d8084421eff39e0964f4.zip
pfsense-5c2cfdbde91db59b9245d8084421eff39e0964f4.tar.gz
Captive portal: convert tables to sortable tables
Convert the used vouchers table from the old GET order method to a sortable table, and make the other tables (allowed IPs, hostnames, zones) sortable too. (cherry picked from commit 0122f1d05b24ff8160b9ec42af382185572788c4)
Diffstat (limited to 'src/usr/local/www/services_captiveportal_zones.php')
-rw-r--r--src/usr/local/www/services_captiveportal_zones.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_captiveportal_zones.php b/src/usr/local/www/services_captiveportal_zones.php
index 4b69972..0951b40 100644
--- a/src/usr/local/www/services_captiveportal_zones.php
+++ b/src/usr/local/www/services_captiveportal_zones.php
@@ -104,14 +104,14 @@ if (is_subsystem_dirty('captiveportal')) {
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Captive Portal Zones')?></h2></div>
<div class="panel-body table-responsive">
- <table class="table table-striped table-hover table-rowdblclickedit">
+ <table class="table table-striped table-hover table-rowdblclickedit sortable-theme-bootstrap" data-sortable>
<thead>
<tr>
<th><?=gettext('Zone')?></th>
<th><?=gettext('Interfaces')?></th>
<th><?=gettext('Number of users'); ?></th>
<th><?=gettext('Description'); ?></th>
- <th><?=gettext('Actions'); ?></th>
+ <th data-sortable="false"><?=gettext('Actions'); ?></th>
</tr>
</thead>
<tbody>
OpenPOWER on IntegriCloud