diff --git a/sapl/static/js/app.js b/sapl/static/js/app.js index c6a4d4259..cc9c773ce 100644 --- a/sapl/static/js/app.js +++ b/sapl/static/js/app.js @@ -192,20 +192,12 @@ function OptionalCustomFrontEnd() { _label = $('').insertBefore(this) } } - /*var _controls = _label.closest('.controls'); - - if (!_controls.length) { - _controls = $('
').insertBefore(_label) - _controls.append(_label) - }*/ if (this.type === "checkbox") { - _label.addClass('checkbox-inline'); _label.prepend(_this); _this.checkbox(); } else if (this.type === "radio") { - _label.addClass('radio-inline'); _label.prepend(_this); _this.radio(); diff --git a/sapl/static/styles/app.scss b/sapl/static/styles/app.scss index 7f50c9339..710d98833 100644 --- a/sapl/static/styles/app.scss +++ b/sapl/static/styles/app.scss @@ -229,14 +229,16 @@ nav { } label { - padding: 5px; + padding: 0; + line-height: 2.7; + padding-left: 36px; .icons { - top: 5px; + top: 8px; left: 8px; } - &.checkbox-inline, &.radio-inline { - padding: 8px; - padding-left: 36px; + + &.checkbox-inline, &.radio-inline, { + padding-right: 8px; .icons { top: 8px; left: 8px; @@ -244,7 +246,7 @@ nav { } } .checkbox, .radio, .checkbox-inline, .radio-inline { - margin: 0; + margin: 0; &:hover { background-color: #d6e1e5; } diff --git a/sapl/templates/sessao/presenca.html b/sapl/templates/sessao/presenca.html index 3b9ebf541..202966c3a 100644 --- a/sapl/templates/sessao/presenca.html +++ b/sapl/templates/sessao/presenca.html @@ -5,91 +5,83 @@ {% block actions %}{% endblock %} {% block detail_content %} - {% if perms|get_add_perm:view %} - - -{% else %} -