mirror of
https://gitnet.fr/deblan/gist.git
synced 2021-08-14 08:30:49 +02:00
flags
This commit is contained in:
parent
f5bc407157
commit
5b6fa6f269
@ -1,4 +1,5 @@
|
||||
app:
|
||||
title: '#!GIST'
|
||||
title_prefix: '#!GIST - '
|
||||
|
||||
menu:
|
||||
|
@ -1,4 +1,5 @@
|
||||
app:
|
||||
title: '#!GIST'
|
||||
title_prefix: '#!GIST - '
|
||||
|
||||
menu:
|
||||
|
@ -12,6 +12,7 @@
|
||||
"license": "LGPL",
|
||||
"homepage": "https://gitlab.deblan.org/deblan/gist.deblan.org",
|
||||
"dependencies": {
|
||||
"bootstrap": "3.3.4"
|
||||
"bootstrap": "3.3.4",
|
||||
"flag-icon-css": "0.7.1"
|
||||
}
|
||||
}
|
||||
|
@ -3,6 +3,7 @@
|
||||
<head>
|
||||
{% block css %}
|
||||
<link rel="stylesheet" href="{{ web_path }}components/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="{{ web_path }}components/flag-icon-css/css/flag-icon.min.css" />
|
||||
<link rel="stylesheet" href="{{ web_path }}app/css/bootstrap/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="{{ web_path }}app/css/app.css" />
|
||||
{% endblock %}
|
||||
@ -23,7 +24,9 @@
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="#">#!GIST</a>
|
||||
<a class="navbar-brand" href="{{ path('home') }}">
|
||||
{{ 'app.title'|trans }}
|
||||
</a>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse" id="main-menu">
|
||||
<ul class="nav navbar-nav">
|
||||
@ -38,6 +41,14 @@
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p class="navbar-text navbar-right">
|
||||
<a class="btn btn-xs" href="{{ path(app.request.get('_route'), {_locale: 'en'}) }}">
|
||||
<span class="flag-icon flag-icon-gb"></span>
|
||||
</a>
|
||||
<a class="btn btn-xs" href="{{ path(app.request.get('_route'), {_locale: 'fr'}) }}">
|
||||
<span class="flag-icon flag-icon-fr"></span>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
Loading…
Reference in New Issue
Block a user