From 92864ff03535515f384a7172153b4721ee64f7de Mon Sep 17 00:00:00 2001 From: Pavel Loginov Date: Thu, 17 Dec 2020 16:30:49 +0600 Subject: [PATCH] v4.5.6.0 Changelog: https://haproxy-wi.org/changelog.py#4_5_6 --- app/templates/admin.html | 14 +++++++++----- app/templates/servers.html | 26 +++++++++++++++----------- inc/add.js | 4 ++-- inc/style.css | 4 ++-- 4 files changed, 28 insertions(+), 20 deletions(-) diff --git a/app/templates/admin.html b/app/templates/admin.html index e6f28b92..b098caa2 100644 --- a/app/templates/admin.html +++ b/app/templates/admin.html @@ -1,11 +1,6 @@ {% extends "base.html" %} {% block content %} {% from 'include/input_macros.html' import input, select %} - {% include 'include/del_confirm.html' %} @@ -364,6 +359,15 @@ .first-collumn { width: 10%; } + .container { + margin-right: 0; + } + @media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) { + .ui-checkboxradio-label { + padding-bottom: 0.6em !important; + padding-top: 0.6em !important; + } + } {% include 'include/del_confirm.html' %} @@ -181,11 +176,20 @@ }); {% endblock %} diff --git a/inc/add.js b/inc/add.js index 936a9092..79cc0b16 100644 --- a/inc/add.js +++ b/inc/add.js @@ -1537,9 +1537,9 @@ function generateConfig(form_name) { } function addProxy(form_name) { var frm = $('#'+form_name); - $('#'+form_name +' input').each(function(){ + $('#'+form_name +' input[name=acl_then_value]').each(function(){ if ($(this).val().length === 0){ - $(this).val() = 'IsEmptY' + $(this).val('IsEmptY') } }); $.ajax({ diff --git a/inc/style.css b/inc/style.css index b3ddff8b..582d4e77 100644 --- a/inc/style.css +++ b/inc/style.css @@ -571,8 +571,8 @@ ul{ } @media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) { .ui-checkboxradio-label { - padding-bottom: 0.6em !important; - padding-top: 0.6em !important; + padding-bottom: 0.4em !important; + padding-top: 0.4em !important; } } @-moz-document url-prefix() {