webgui tables, doubleclick event to perform 'edit' action, part 2

(cherry picked from commit 1c10ce9750)
This commit is contained in:
PiBa-NL 2016-07-04 00:22:49 +02:00 committed by Stephen Beaver
parent d98272bcde
commit 81fb072cb0
33 changed files with 36 additions and 36 deletions

View File

@ -130,7 +130,7 @@ display_top_tabs($tab_array);
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Bridge Interfaces')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Interface"); ?></th>

View File

@ -125,7 +125,7 @@ display_top_tabs($tab_array);
<div class="panel-heading"><h2 class="panel-title"><?=gettext('GIF Interfaces')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Interface"); ?></th>

View File

@ -125,7 +125,7 @@ display_top_tabs($tab_array);
<div class="panel-heading"><h2 class="panel-title"><?=gettext('GRE Interfaces')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Interface"); ?></th>

View File

@ -107,7 +107,7 @@ display_top_tabs($tab_array);
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Interface Groups')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext('Name');?></th>

View File

@ -132,7 +132,7 @@ display_top_tabs($tab_array);
<div class="panel-heading"><h2 class="panel-title"><?=gettext('LAGG Interfaces')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Interface"); ?></th>

View File

@ -124,7 +124,7 @@ display_top_tabs($tab_array);
<div class="panel-heading"><h2 class="panel-title"><?=gettext('PPP Interfaces')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Interface"); ?></th>

View File

@ -137,7 +137,7 @@ display_top_tabs($tab_array);
<div class="panel-heading"><h2 class="panel-title"><?=gettext('QinQ Interfaces')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Interface"); ?></th>

View File

@ -134,7 +134,7 @@ display_top_tabs($tab_array);
<div class="panel-heading"><h2 class="panel-title"><?=gettext('VLAN Interfaces')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext('Interface');?></th>

View File

@ -127,7 +127,7 @@ display_top_tabs($tab_array);
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Wireless Interfaces')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Interface"); ?></th>

View File

@ -134,7 +134,7 @@ display_top_tabs($tab_array);
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Monitor')?></h2></div>
<div class="panel-body table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext('Name')?></th>

View File

@ -148,7 +148,7 @@ display_top_tabs($tab_array);
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Pool')?></h2></div>
<div class="panel-body table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext('Name')?></th>

View File

@ -168,7 +168,7 @@ display_top_tabs($tab_array);
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Virtual Servers')?></h2></div>
<div class="panel-body table-responsive">
<table class="table table-striped table-hover">
<table class="table table-striped table-hover table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext('Name')?></th>

View File

@ -145,7 +145,7 @@ $tab_array[] = array(gettext("File Manager"), false, "services_captiveportal_fil
display_top_tabs($tab_array, true);
?>
<div class="table-responsive">
<table class="table table-hover table-striped table-condensed">
<table class="table table-hover table-striped table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Hostname"); ?></th>

View File

@ -139,7 +139,7 @@ display_top_tabs($tab_array, true);
?>
<div class="table-responsive">
<table class="table table-hover table-striped table-condensed">
<table class="table table-hover table-striped table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("IP Addresses"); ?></th>

View File

@ -203,7 +203,7 @@ $tab_array[] = array(gettext("File Manager"), false, "services_captiveportal_fil
display_top_tabs($tab_array, true);
?>
<div class="table-responsive">
<table class="table table-hover table-striped table-condensed">
<table class="table table-hover table-striped table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext('Action')?></th>

View File

@ -450,7 +450,7 @@ display_top_tabs($tab_array, true);
<div class="panel-heading"><h2 class="panel-title"><?=gettext("Voucher Rolls");?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Roll #")?></th>

View File

@ -106,7 +106,7 @@ 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 class="table table-striped table-hover table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext('Zone')?></th>

View File

@ -346,7 +346,7 @@ print($form);
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext("Host Overrides")?></h2></div>
<div class="panel-body table-responsive">
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable>
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap table-rowdblclickedit" data-sortable>
<thead>
<tr>
<th><?=gettext("Host")?></th>
@ -421,7 +421,7 @@ endforeach;
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext("Domain Overrides")?></h2></div>
<div class="panel-body table-responsive">
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable>
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap table-rowdblclickedit" data-sortable>
<thead>
<tr>
<th><?=gettext("Domain")?></th>

View File

@ -114,7 +114,7 @@ display_top_tabs($tab_array);
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Dynamic DNS Clients')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Interface")?></th>

View File

@ -115,7 +115,7 @@ if (is_subsystem_dirty('igmpproxy')) {
<div class="panel-heading"><h2 class="panel-title"><?=gettext('IGMP Proxy')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Name")?></th>

View File

@ -131,7 +131,7 @@ if (is_subsystem_dirty('vpnpppoe')) {
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Interface")?></th>

View File

@ -107,7 +107,7 @@ if ($input_errors) {
<div class="panel-heading"><h2 class="panel-title"><?=gettext('RFC2136 Clients')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Interface")?></th>

View File

@ -461,7 +461,7 @@ events.push(function() {
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext("Host Overrides")?></h2></div>
<div class="panel-body table-responsive">
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable>
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap table-rowdblclickedit" data-sortable>
<thead>
<tr>
<th><?=gettext("Host")?></th>
@ -514,7 +514,7 @@ foreach ($a_hosts as $hostent):
<?=htmlspecialchars($alias['description'])?>
</td>
<td>
<a a class="fa fa-pencil" title="<?=gettext('Edit host override')?>" href="services_unbound_host_edit.php?id=<?=$i?>"></a>
<a class="fa fa-pencil" title="<?=gettext('Edit host override')?>" href="services_unbound_host_edit.php?id=<?=$i?>"></a>
</td>
</tr>
<?php
@ -538,7 +538,7 @@ endforeach;
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext("Domain Overrides")?></h2></div>
<div class="panel-body table-responsive">
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable>
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap table-rowdblclickedit" data-sortable>
<thead>
<tr>
<th><?=gettext("Domain")?></th>

View File

@ -202,7 +202,7 @@ print $form;
<div class="panel-body">
<p><?=gettext("Click the MAC address to wake up an individual device.")?></p>
<div class="table-responsive">
<table class="table table-striped table-hover">
<table class="table table-striped table-hover table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Interface")?></th>

View File

@ -469,7 +469,7 @@ if (!($act == "new" || $act == "edit" || $input_errors)) {
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Authentication Servers')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable>
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap table-rowdblclickedit" data-sortable>
<thead>
<tr>
<th><?=gettext("Server Name")?></th>

View File

@ -610,7 +610,7 @@ if ($act == "new" || $act == gettext("Save") || $input_errors) {
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext("Additional Certificate Revocation Lists")?></h2></div>
<div class="panel-body table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Name")?></th>

View File

@ -158,7 +158,7 @@ display_top_tabs($tab_array);
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Gateway Groups')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Group Name")?></th>

View File

@ -269,7 +269,7 @@ display_top_tabs($tab_array);
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Gateways')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped tabel-hover table-condensed">
<table class="table table-striped tabel-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th></th>

View File

@ -322,7 +322,7 @@ if (!($_GET['act'] == "new" || $_GET['act'] == "edit")) {
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Groups')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable>
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap table-rowdblclickedit" data-sortable>
<thead>
<tr>
<th><?=gettext("Group name")?></th>

View File

@ -269,7 +269,7 @@ display_top_tabs($tab_array);
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Static Routes')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed">
<table class="table table-striped table-hover table-condensed table-rowdblclickedit">
<thead>
<tr>
<th></th>

View File

@ -530,7 +530,7 @@ if (!($act == "new" || $act == "edit" || $input_errors)) {
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Users')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable>
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap table-rowdblclickedit" data-sortable>
<thead>
<tr>
<th>&nbsp;</th>

View File

@ -127,7 +127,7 @@ if (is_subsystem_dirty('ipsec')) {
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Pre-Shared Keys')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover">
<table class="table table-striped table-hover table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Identifier"); ?></th>

View File

@ -123,7 +123,7 @@ display_top_tabs($tab_array);
<div class="panel-heading"><h2 class="panel-title"><?=gettext('L2TP Users')?></h2></div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-hover">
<table class="table table-striped table-hover table-rowdblclickedit">
<thead>
<tr>
<th><?=gettext("Username")?></th>