mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 22:46:13 +00:00
Design of the user menu
This commit is contained in:
parent
fb15bd336c
commit
4fc2d1d0a0
@ -1,9 +1,11 @@
|
||||
// For cutomizing the navigation
|
||||
|
||||
.navigation {
|
||||
background-color: $chill-blue;
|
||||
|
||||
li.more.nav-link {
|
||||
a {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
a:after {
|
||||
color: $chill-dark-gray;
|
||||
}
|
||||
|
@ -19,13 +19,17 @@
|
||||
<li class="nav-link more"><a href="javascript:void(0)">Sections</a>
|
||||
<ul class="submenu width-15-em">
|
||||
{% for route in routes %}
|
||||
<li><a href="{{ path(route.key, args ) }}">
|
||||
{% spaceless %}
|
||||
<li>
|
||||
<a href="{{ path(route.key, args ) }}" style="background-color:transparent;">
|
||||
<div style="background-color: #333333; width: calc(100% - 3em); float: left; text-align:center;">
|
||||
{{ route.label|trans }}</div>
|
||||
<div style="background-color: #333333; width: 3em; color: rgba(255, 255, 255, 0.7); text-align:center;width: 2em; float: left; margin-left:1px;">{% spaceless %}
|
||||
{% for icon in route.icons %}
|
||||
<i class="fa fa-{{ icon }}"></i>
|
||||
{% endfor %}
|
||||
{% endspaceless %}
|
||||
{{ route.label|trans }}</a></li>
|
||||
{% endspaceless %}</div>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
@ -16,7 +16,11 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#}
|
||||
|
||||
<li class="nav-link more"><a href="javascript:void(0)">{{ app.user.username }}</a>
|
||||
<li class="nav-link more">
|
||||
<a href="javascript:void(0)">
|
||||
{{ 'Welcome' | trans }}
|
||||
<b>{{ app.user.username }}</b>
|
||||
</a>
|
||||
<ul class="submenu width-11-em">
|
||||
{% for route in routes %}
|
||||
<li><a href="{{ path(route.key, args ) }}"><i class="fa fa-{{ route.icon }}"></i> {{ route.label|trans }}</a></li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user