mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
style admin menu
This commit is contained in:
parent
8ce0593419
commit
b702970ef7
17
Resources/assets/gumpy/sass/admin.scss
Normal file
17
Resources/assets/gumpy/sass/admin.scss
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
ul.admin_tiles {
|
||||||
|
li {
|
||||||
|
background: none repeat scroll 0 0 #E9E9E9;
|
||||||
|
border: 1px solid #C9C9C9;
|
||||||
|
padding: 1.5em;
|
||||||
|
margin-left: 1.5em;
|
||||||
|
margin-bottom: 1.5em;
|
||||||
|
|
||||||
|
p, h1, h2, h3 {
|
||||||
|
width: 350px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
2
Resources/public/css/admin.css
Normal file
2
Resources/public/css/admin.css
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
ul.admin_tiles li { background: none repeat scroll 0 0 #E9E9E9; border: 1px solid #C9C9C9; padding: 1.5em; margin-left: 1.5em; margin-bottom: 1.5em; }
|
||||||
|
ul.admin_tiles li p, ul.admin_tiles li h1, ul.admin_tiles li h2, ul.admin_tiles li h3 { width: 350px; }
|
@ -2,11 +2,20 @@
|
|||||||
|
|
||||||
{% block title%}{{ header_title|trans }}{% endblock %}
|
{% block title%}{{ header_title|trans }}{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
|
{% block css %}
|
||||||
|
{% stylesheets output="css/all.css" filter="cssrewrite"
|
||||||
|
"bundles/clchillmain/css/admin.css"
|
||||||
|
%}
|
||||||
|
<link rel="stylesheet" href="{{ asset_url }}"/>
|
||||||
|
{% endstylesheets %}
|
||||||
|
{% endblock css %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<h1>{{ page_title|trans }}</h1>
|
<h1>{{ page_title|trans }}</h1>
|
||||||
|
|
||||||
<ul class="two tiles">
|
<ul class="two tiles admin_tiles">
|
||||||
{% for menu in menu_composer.getRoutesFor(menu) %}
|
{% for menu in menu_composer.getRoutesFor(menu) %}
|
||||||
<li class="">
|
<li class="">
|
||||||
<h3><a href="{{ path(menu.route, args) }}" >{{ menu.label|trans }}</a></h3>
|
<h3><a href="{{ path(menu.route, args) }}" >{{ menu.label|trans }}</a></h3>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user