mirror of
https://framagit.org/tom79/fediplan.git
synced 2025-04-05 21:51:50 +02:00
25 lines
1.4 KiB
Twig
25 lines
1.4 KiB
Twig
![]() |
<header>
|
||
|
<!-- Fixed navbar -->
|
||
|
<nav class="navbar navbar-expand-md navbar-light fixed-top bg-light">
|
||
|
<a class="navbar-brand" href="#"></a>
|
||
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
|
||
|
<span class="navbar-toggler-icon"></span>
|
||
|
</button>
|
||
|
<div class="collapse navbar-collapse" id="navbarCollapse">
|
||
|
<ul class="navbar-nav mr-auto">
|
||
|
<li class="nav-item {% if app.request.attributes.get('_route') == 'index' %} active {% endif %}">
|
||
|
<a class="nav-link" href="{{ path('index') }}">Login <span class="sr-only">(current)</span></a>
|
||
|
</li>
|
||
|
<li class="nav-item {% if "articles" in app.request.attributes.get('schedule') %} active {% endif %}">
|
||
|
<a class="nav-link" href="{{ path('schedule') }}">Shedule</a>
|
||
|
</li>
|
||
|
<li class="nav-item {% if app.request.attributes.get('_route') == 'scheduled' %} active {% endif %}">
|
||
|
<a class="nav-link" href="{{ path('scheduled') }}">scheduled</a>
|
||
|
</li>
|
||
|
<li class="nav-item">
|
||
|
<a class="nav-link" href="{{ path('logout') }}" tabindex="-1" >Logout</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</nav>
|
||
|
</header>
|