]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig
Add users management UI
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / baggy / layout.html.twig
CommitLineData
495aecfe 1{% extends "WallabagCoreBundle::base.html.twig" %}
32da2a70 2
495aecfe
J
3{% block css %}
4 {{ parent() }}
5ecdfcd0 5 <link rel="stylesheet" href="{{ asset('bundles/wallabagcore/themes/baggy/css/style.min.css') }}" media="screen,projection,print"/>
495aecfe
J
6{% endblock %}
7
8{% block scripts %}
9 {{ parent() }}
5ecdfcd0 10 <script src="{{ asset('bundles/wallabagcore/themes/baggy/js/baggy.min.js') }}"></script>
495aecfe 11{% endblock %}
19c28314
JB
12
13{% block header %}
14 <header class="w600p center mbm">
15 <h1 class="logo">
16 {% block logo %}
5ecdfcd0 17 <img width="100" height="100" src="{{ asset('bundles/wallabagcore/themes/_global/img/logo-w.png') }}" alt="wallabag logo" />
19c28314
JB
18 {% endblock %}
19 </h1>
20 </header>
21{% endblock %}
22
23{% block menu %}
24 <button id="menu" class="icon icon-menu desktopHide"><span>Menu</span></button>
25 <ul id="links" class="links">
0d42217e
JB
26 <li><a href="{{ path('unread') }}">{{ 'menu.left.unread'|trans }}</a></li>
27 <li><a href="{{ path('starred') }}">{{ 'menu.left.starred'|trans }}</a></li>
28 <li><a href="{{ path('archive') }}">{{ 'menu.left.archive'|trans }}</a></li>
29 <li><a href="{{ path('all') }}">{{ 'menu.left.all_articles'|trans }}</a></li>
30 <li><a href="{{ path('tag') }}">{{ 'menu.left.tags'|trans }}</a></li>
31 <li><a href="{{ path('new') }}">{{ 'menu.left.save_link'|trans }}</a></li>
0795d049 32 <!--<li style="position: relative;"><a href="javascript: void(null);" id="search">{{ 'menu.left.search'|trans }}</a>
19c28314
JB
33 <div id="search-form" class="messages info popup-form">
34 <form method="get" action="index.php">
0d42217e 35 <h2>{{ 'menu.left.search'|trans }}</h2>
19c28314 36 <a href="javascript: void(null);" id="search-form-close" class="close-button--popup close-button">&times;</a>
56349e47 37 <input type="hidden" name="view" value="search">
0d42217e
JB
38 <input required placeholder="{{ 'menu.search_form.input_label'|trans }}" type="text" name="search" id="searchfield"><br>
39 <input id="submit-search" type="submit" value="{{ 'menu.left.search'|trans }}">
19c28314
JB
40 </form>
41 </div>
0795d049 42 </li>-->
0d42217e 43 <li><a href="{{ path('config') }}">{{ 'menu.left.config'|trans }}</a></li>
63e40f2d 44 {% if is_granted('ROLE_SUPER_ADMIN') %}
0d42217e 45 <li><a href="{{ path('craue_config_settings_modify') }}">{{ 'menu.left.internal_settings'|trans }}</a></li>
63e40f2d 46 {% endif %}
0d42217e
JB
47 <li><a href="{{ path('import') }}">{{ 'menu.left.import'|trans }}</a></li>
48 <li><a href="{{ path('howto') }}">{{ 'menu.left.howto'|trans }}</a></li>
49 <li><a href="{{ path('developer') }}">{{ 'menu.left.developer'|trans }}</a></li>
50 <li><a href="{{ path('about') }}">{{ 'footer.wallabag.about'|trans }}</a></li>
51 <li><a class="icon icon-power" href="{{ path('fos_user_security_logout') }}">{{ 'menu.left.logout'|trans }}</a></li>
19c28314
JB
52 </ul>
53{% endblock %}
54
55{% block messages %}
56 {% for flashMessage in app.session.flashbag.get('notice') %}
57 <div class="messages success">
58 <a href="#" class="closeMessage">×</a>
7dbed568 59 <p>{{ flashMessage|trans }}</p>
19c28314
JB
60 </div>
61 {% endfor %}
62{% endblock %}
63
64{% block footer %}
65 <footer class="w600p center mt3 mb3 smaller txtright">
0d42217e 66 <p>{{ 'footer.wallabag.powered_by'|trans }} <a href="http://wallabag.org">wallabag</a></p>
19c28314
JB
67 </footer>
68{% endblock %}