diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2016-07-03 22:18:26 +0200 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-07-03 16:34:53 -0400 |
commit | f8cb8d654bcf1910d2e549d5420b9ac2348737ef (patch) | |
tree | 2a404c37315348606f2c3e92e2b9071589a93740 /src/usr/local | |
parent | 0e7148a119a244af3e8b7bfdefb2365aa59f8c0f (diff) | |
download | pfsense-f8cb8d654bcf1910d2e549d5420b9ac2348737ef.zip pfsense-f8cb8d654bcf1910d2e549d5420b9ac2348737ef.tar.gz |
webgui tables, doubleclick event to perform 'edit' action
(cherry picked from commit 54691fc663eae7c6e92e4eaad596906758d7ebea)
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/firewall_schedule.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/firewall_virtual_ip.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/js/pfSense.js | 4 | ||||
-rw-r--r-- | src/usr/local/www/system_camanager.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/vpn_openvpn_client.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/vpn_openvpn_csc.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/vpn_openvpn_server.php | 2 |
7 files changed, 10 insertions, 6 deletions
diff --git a/src/usr/local/www/firewall_schedule.php b/src/usr/local/www/firewall_schedule.php index 6e3fca8..6a5309d 100644 --- a/src/usr/local/www/firewall_schedule.php +++ b/src/usr/local/www/firewall_schedule.php @@ -119,7 +119,7 @@ if ($savemsg) { <div class="panel panel-default"> <div class="panel-heading"><h2 class="panel-title"><?=gettext('Schedules')?></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><!--"Active" indicator--></th> diff --git a/src/usr/local/www/firewall_virtual_ip.php b/src/usr/local/www/firewall_virtual_ip.php index d9bf9ae..7a2794a 100644 --- a/src/usr/local/www/firewall_virtual_ip.php +++ b/src/usr/local/www/firewall_virtual_ip.php @@ -289,7 +289,7 @@ display_top_tabs($tab_array); <div class="panel panel-default"> <div class="panel-heading"><h2 class="panel-title"><?=gettext('Virtual IP Address')?></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("Virtual IP address")?></th> diff --git a/src/usr/local/www/js/pfSense.js b/src/usr/local/www/js/pfSense.js index 3ca74c4..8cc17c7 100644 --- a/src/usr/local/www/js/pfSense.js +++ b/src/usr/local/www/js/pfSense.js @@ -207,6 +207,10 @@ $(function() { $( $(this).data('target') ).prop('disabled', true); }); + $('.table-rowdblclickedit>tbody>tr').dblclick(function () { + $(this).find(".fa-pencil")[0].click(); + }); + // Focus first input $(':input:enabled:visible:first').focus(); diff --git a/src/usr/local/www/system_camanager.php b/src/usr/local/www/system_camanager.php index ec83fb7..177214a 100644 --- a/src/usr/local/www/system_camanager.php +++ b/src/usr/local/www/system_camanager.php @@ -386,7 +386,7 @@ if (!($act == "new" || $act == "edit" || $act == gettext("Save") || $input_error <div class="panel-heading"><h2 class="panel-title"><?=gettext('Certificate Authorities')?></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("Name")?></th> diff --git a/src/usr/local/www/vpn_openvpn_client.php b/src/usr/local/www/vpn_openvpn_client.php index 8ea66cd..8f110c4 100644 --- a/src/usr/local/www/vpn_openvpn_client.php +++ b/src/usr/local/www/vpn_openvpn_client.php @@ -819,7 +819,7 @@ else: <div class="panel panel-default"> <div class="panel-heading"><h2 class="panel-title"><?=gettext('OpenVPN Clients')?></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("Protocol")?></th> diff --git a/src/usr/local/www/vpn_openvpn_csc.php b/src/usr/local/www/vpn_openvpn_csc.php index 26a1d71..1690d08 100644 --- a/src/usr/local/www/vpn_openvpn_csc.php +++ b/src/usr/local/www/vpn_openvpn_csc.php @@ -667,7 +667,7 @@ else : // Not an 'add' or an 'edit'. Just the table of Override CSCs <div class="panel panel-default"> <div class="panel-heading"><h2 class="panel-title"><?=gettext('CSC Overrides')?></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("Disabled")?></th> diff --git a/src/usr/local/www/vpn_openvpn_server.php b/src/usr/local/www/vpn_openvpn_server.php index 0135639..d560c45 100644 --- a/src/usr/local/www/vpn_openvpn_server.php +++ b/src/usr/local/www/vpn_openvpn_server.php @@ -1200,7 +1200,7 @@ else: <div class="panel panel-default"> <div class="panel-heading"><h2 class="panel-title"><?=gettext('OpenVPN Servers')?></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("Protocol / Port")?></th> |