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
(cherry picked from commit 54691fc663)
This commit is contained in:
parent
1380f02324
commit
d98272bcde
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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();
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -812,7 +812,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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user