www/caddy: whitespace sweep

This commit is contained in:
Franco Fichtner
2024-05-06 16:03:22 +02:00
parent ebf7614878
commit 10d0bc8e7c
3 changed files with 8 additions and 8 deletions
@@ -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.
#}