]>
Commit | Line | Data |
---|---|---|
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"> | |
d32e1c42 TC |
26 | <li class="menu unread"><a href="{{ path('unread') }}">{{ 'menu.left.unread'|trans }}</a></li> |
27 | <li class="menu starred"><a href="{{ path('starred') }}">{{ 'menu.left.starred'|trans }}</a></li> | |
28 | <li class="menu archive"><a href="{{ path('archive') }}">{{ 'menu.left.archive'|trans }}</a></li> | |
29 | <li class="menu all"><a href="{{ path('all') }}">{{ 'menu.left.all_articles'|trans }}</a></li> | |
30 | <li class="menu tag"><a href="{{ path('tag') }}">{{ 'menu.left.tags'|trans }}</a></li> | |
31 | <li class="menu new"><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">×</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>--> |
d32e1c42 | 43 | <li class="menu config"><a href="{{ path('config') }}">{{ 'menu.left.config'|trans }}</a></li> |
63e40f2d | 44 | {% if is_granted('ROLE_SUPER_ADMIN') %} |
d32e1c42 TC |
45 | <li class="menu users"><a href="{{ path('user_index') }}">{{ 'menu.left.users_management'|trans }}</a></li> |
46 | <li class="menu internal"><a href="{{ path('craue_config_settings_modify') }}">{{ 'menu.left.internal_settings'|trans }}</a></li> | |
63e40f2d | 47 | {% endif %} |
d32e1c42 TC |
48 | <li class="menu import"><a href="{{ path('import') }}">{{ 'menu.left.import'|trans }}</a></li> |
49 | <li class="menu howto"><a href="{{ path('howto') }}">{{ 'menu.left.howto'|trans }}</a></li> | |
50 | <li class="menu developer"><a href="{{ path('developer') }}">{{ 'menu.left.developer'|trans }}</a></li> | |
51 | <li class="menu about"><a href="{{ path('about') }}">{{ 'footer.wallabag.about'|trans }}</a></li> | |
52 | <li class="menu logout"><a class="icon icon-power" href="{{ path('fos_user_security_logout') }}">{{ 'menu.left.logout'|trans }}</a></li> | |
19c28314 JB |
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> | |
7dbed568 | 60 | <p>{{ flashMessage|trans }}</p> |
19c28314 JB |
61 | </div> |
62 | {% endfor %} | |
63 | {% endblock %} | |
64 | ||
65 | {% block footer %} | |
66 | <footer class="w600p center mt3 mb3 smaller txtright"> | |
0d42217e | 67 | <p>{{ 'footer.wallabag.powered_by'|trans }} <a href="http://wallabag.org">wallabag</a></p> |
19c28314 JB |
68 | </footer> |
69 | {% endblock %} |