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