mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
webgui tables, doubleclick event to perform 'edit' action, part 2
(cherry picked from commit 1c10ce9750)
This commit is contained in:
parent
d98272bcde
commit
81fb072cb0
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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> </th>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user