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

View File

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

View File

@ -1537,9 +1537,9 @@ function generateConfig(form_name) {
} }
function addProxy(form_name) { function addProxy(form_name) {
var frm = $('#'+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){ if ($(this).val().length === 0){
$(this).val() = 'IsEmptY' $(this).val('IsEmptY')
} }
}); });
$.ajax({ $.ajax({

View File

@ -571,8 +571,8 @@ ul{
} }
@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) { @media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) {
.ui-checkboxradio-label { .ui-checkboxradio-label {
padding-bottom: 0.6em !important; padding-bottom: 0.4em !important;
padding-top: 0.6em !important; padding-top: 0.4em !important;
} }
} }
@-moz-document url-prefix() { @-moz-document url-prefix() {