]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig
Merge pull request #2402 from wallabag/remove-1x-changelog
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / baggy / layout.html.twig
1 {% extends "WallabagCoreBundle::base.html.twig" %}
2
3 {% block css %}
4 {{ parent() }}
5 <link rel="stylesheet" href="{{ asset('bundles/wallabagcore/themes/baggy/css/style.min.css') }}" media="screen,projection,print"/>
6 {% endblock %}
7
8 {% block scripts %}
9 {{ parent() }}
10 <script src="{{ asset('bundles/wallabagcore/themes/baggy/js/baggy.min.js') }}"></script>
11 {% endblock %}
12
13 {% block header %}
14 <header class="w600p center mbm">
15 <h1 class="logo">
16 {% block logo %}
17 <img width="100" height="100" src="{{ asset('bundles/wallabagcore/themes/_global/img/logo-w.png') }}" alt="wallabag logo" />
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">
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>
32 <!--<li style="position: relative;"><a href="javascript: void(null);" id="search">{{ 'menu.left.search'|trans }}</a>
33 <div id="search-form" class="messages info popup-form">
34 <form method="get" action="index.php">
35 <h2>{{ 'menu.left.search'|trans }}</h2>
36 <a href="javascript: void(null);" id="search-form-close" class="close-button--popup close-button">&times;</a>
37 <input type="hidden" name="view" value="search">
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 }}">
40 </form>
41 </div>
42 </li>-->
43 <li><a href="{{ path('config') }}">{{ 'menu.left.config'|trans }}</a></li>
44 {% if is_granted('ROLE_SUPER_ADMIN') %}
45 <li><a href="{{ path('user_index') }}">{{ 'menu.left.users_management'|trans }}</a></li>
46 <li><a href="{{ path('craue_config_settings_modify') }}">{{ 'menu.left.internal_settings'|trans }}</a></li>
47 {% endif %}
48 <li><a href="{{ path('import') }}">{{ 'menu.left.import'|trans }}</a></li>
49 <li><a href="{{ path('howto') }}">{{ 'menu.left.howto'|trans }}</a></li>
50 <li><a href="{{ path('developer') }}">{{ 'menu.left.developer'|trans }}</a></li>
51 <li><a href="{{ path('about') }}">{{ 'footer.wallabag.about'|trans }}</a></li>
52 <li><a class="icon icon-power" href="{{ path('fos_user_security_logout') }}">{{ 'menu.left.logout'|trans }}</a></li>
53 </ul>
54 {% endblock %}
55
56 {% block messages %}
57 {% for flashMessage in app.session.flashbag.get('notice') %}
58 <div class="messages success">
59 <a href="#" class="closeMessage">×</a>
60 <p>{{ flashMessage|trans }}</p>
61 </div>
62 {% endfor %}
63 {% endblock %}
64
65 {% block footer %}
66 <footer class="w600p center mt3 mb3 smaller txtright">
67 <p>{{ 'footer.wallabag.powered_by'|trans }} <a href="http://wallabag.org">wallabag</a></p>
68 </footer>
69 {% endblock %}