UX: [Admin][persmissionsgroup] complete in template: content wrapper with bootstrap classes

This commit is contained in:
Mathieu Jaumotte 2023-04-20 20:24:23 +02:00
parent 034e2553bc
commit 025ee2ea95
2 changed files with 66 additions and 61 deletions

View File

@ -64,7 +64,7 @@ ul.record_actions {
.sticky-form {
background-color: $white;
padding: 1em;
padding-top: 1.25em;
margin: -1em;
box-shadow: 0 -20px 20px -20px rgba($chill-gray, .5);
@include sticky-bottom;

View File

@ -3,6 +3,9 @@
{% block title %}{{ 'PermissionsGroup "%name%" edit'|trans( { '%name%': entity.name } ) }}{% endblock %}
{% block admin_content -%}
<div class="container-xxl">
<div class="row">
<h1 class="mb-4">{{ 'PermissionsGroup "%name%" edit'|trans( { '%name%': entity.name } ) }}</h1>
<h2>{{ 'Details'|trans }}</h2>
@ -73,7 +76,9 @@
<p>{{ 'This group does not provide any permission'|trans }}</p>
{%- endif -%}
<div class="sticky-form">
</div>
<div class="row sticky-form">
<h2>{{ 'Grant new permissions'|trans }}</h2>
{{ form_start(add_role_scopes_form) }}
@ -100,7 +105,7 @@
{{ form_end(add_role_scopes_form) }}
</div>
</div>
{% endblock %}
{% block js %}