Pavel Loginov 2020-12-17 16:30:49 +06:00
parent ccc9da256b
commit 92864ff035
4 changed files with 28 additions and 20 deletions

View File

@ -1,11 +1,6 @@
{% extends "base.html" %}
{% block content %}
{% from 'include/input_macros.html' import input, select %}
<style>
.container {
margin-right: 0;
}
</style>
<script src="/inc/users.js"></script>
<script src="/inc/fontawesome.min.js"></script>
{% 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;
}
}
</style>
<script>
$( function() {

View File

@ -1,11 +1,6 @@
{% extends "base.html" %}
{% block content %}
{% from 'include/input_macros.html' import input, checkbox, select %}
<style>
.container {
margin-right: 0;
}
</style>
<script src="/inc/users.js"></script>
{% include 'include/del_confirm.html' %}
<input type="hidden" id="new-group" name="new-group" value="{{ group }}">
@ -181,11 +176,20 @@
});
</script>
<style>
.ui-selectmenu-button.ui-button {
width: 10em;
}
.checkbox {
width: 90px;
}
.ui-selectmenu-button.ui-button {
width: 10em;
}
.checkbox {
width: 90px;
}
.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;
}
}
</style>
{% endblock %}

View File

@ -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({

View File

@ -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() {