mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
admin: homepage + style menu
This commit is contained in:
parent
24794c1285
commit
63bfd25acb
@ -189,6 +189,7 @@ div.vertical-menu {
|
|||||||
}
|
}
|
||||||
div.list-group-item-header {
|
div.list-group-item-header {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -213,6 +214,20 @@ footer.footer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ADMIN STYLES
|
||||||
|
*/
|
||||||
|
|
||||||
|
div.admin {
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
div.vertical-menu {
|
||||||
|
font-size: 0.9em;
|
||||||
|
.list-group-item {
|
||||||
|
padding: 0.3rem 0.7rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* GENERIC MAIN STYLES
|
* GENERIC MAIN STYLES
|
||||||
* miscellaneous
|
* miscellaneous
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
{% extends "@ChillMain/Admin/layoutWithVerticalMenu.html.twig" %}
|
{% extends "@ChillMain/Admin/layoutWithVerticalMenu.html.twig" %}
|
||||||
|
|
||||||
{% block vertical_menu_content %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block admin_content %}
|
{% block admin_content %}
|
||||||
<h1>{{ 'Administration interface'|trans }}</h1>
|
<h1>{{ 'Administration interface'|trans }}</h1>
|
||||||
|
|
||||||
|
@ -1,13 +1,43 @@
|
|||||||
{% extends "@ChillMain/layoutWithVerticalMenu.html.twig" %}
|
{% extends "@ChillMain/layout.html.twig" %}
|
||||||
|
|
||||||
{% block vertical_menu_content %}
|
{% block sublayout_content %}
|
||||||
{{ chill_menu('admin_section', {
|
<div class="row admin">
|
||||||
'layout': '@ChillMain/Admin/menu_admin_section.html.twig',
|
<div class="col-md-9 my-5">
|
||||||
}) }}
|
|
||||||
{% endblock %}
|
{# Flash messages ! #}
|
||||||
|
{% if app.session.flashbag.keys()|length > 0 %}
|
||||||
|
<div class="row justify-content-center mb-5">
|
||||||
|
|
||||||
|
{% for flashMessage in app.session.flashbag.get('success') %}
|
||||||
|
<div class="col-8 alert alert-success flash_message">
|
||||||
|
<span>{{ flashMessage|raw }}</span>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% for flashMessage in app.session.flashbag.get('error') %}
|
||||||
|
<div class="col-8 alert alert-danger flash_message">
|
||||||
|
<span>{{ flashMessage|raw }}</span>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% for flashMessage in app.session.flashbag.get('notice') %}
|
||||||
|
<div class="col-8 alert alert-warning flash_message">
|
||||||
|
<span>{{ flashMessage|raw }}</span>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% block layout_wvm_content %}
|
|
||||||
{% block admin_content %}
|
{% block admin_content %}
|
||||||
<!-- block admin content empty -->
|
<!-- block admin content empty -->
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
{{ chill_menu('admin_section', {
|
||||||
|
'layout': '@ChillMain/Admin/menu_admin_section.html.twig',
|
||||||
|
}) }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user