mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
www/caddy: whitespace sweep
This commit is contained in:
+2
-2
@@ -83,7 +83,7 @@ class ReverseProxyController extends ApiMutableModelControllerBase
|
||||
{
|
||||
return $this->toggleBase("reverseproxy.reverse", $uuid, $enabled);
|
||||
}
|
||||
|
||||
|
||||
/*Function for the search filter dropdown in the bootgrid*/
|
||||
public function getAllReverseDomainsAction()
|
||||
{
|
||||
@@ -154,7 +154,7 @@ class ReverseProxyController extends ApiMutableModelControllerBase
|
||||
|
||||
|
||||
/*Handler Section*/
|
||||
|
||||
|
||||
/*Search Function adjusted for the search filter dropdown*/
|
||||
public function searchHandleAction()
|
||||
{
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
|
||||
// Function to handle the search filter request modification
|
||||
function addDomainFilterToRequest(request) {
|
||||
var selectedDomains = $('#reverseFilter').val();
|
||||
@@ -35,7 +35,7 @@
|
||||
}
|
||||
return request;
|
||||
}
|
||||
|
||||
|
||||
// Bootgrid Setup
|
||||
$("#reverseProxyGrid").UIBootgrid({
|
||||
search:'/api/caddy/ReverseProxy/searchReverseProxy/',
|
||||
@@ -163,7 +163,7 @@
|
||||
|
||||
// Initialize the service control UI for 'caddy'
|
||||
updateServiceControlUI('caddy');
|
||||
|
||||
|
||||
// Filter function for domains
|
||||
function loadDomainFilters() {
|
||||
$.ajax({
|
||||
@@ -186,14 +186,14 @@
|
||||
});
|
||||
}
|
||||
loadDomainFilters();
|
||||
|
||||
|
||||
// Reload Bootgrid on filter change
|
||||
$('#reverseFilter').on('changed.bs.select', function() {
|
||||
$("#reverseProxyGrid").bootgrid("reload");
|
||||
$("#reverseSubdomainGrid").bootgrid("reload");
|
||||
$("#reverseHandleGrid").bootgrid("reload");
|
||||
});
|
||||
|
||||
|
||||
// Control the visibility of selectpicker for filter by domain
|
||||
function toggleSelectPicker(tab) {
|
||||
if (tab === 'handlesTab' || tab === 'domainsTab') {
|
||||
|
||||
@@ -280,7 +280,7 @@
|
||||
{% if autoHttpsValue %}
|
||||
auto_https {{ autoHttpsValue }}
|
||||
{% endif %}
|
||||
{#
|
||||
{#
|
||||
# Important: Grace Period influences how fast the server can finish reloads with open connections, by forcing termination.
|
||||
# Default of Caddy is to wait for all connections to close before allowing reload, meaning the higher the value, the longer applies take.
|
||||
#}
|
||||
|
||||
Reference in New Issue
Block a user