X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2Flayout.html.twig;h=06ecbf3d243743d209e4af7636536b8ff5f52f77;hb=e5b090960bed3eb4a70c29c4acbae2027e17f7d6;hp=632f8c8bb4cee4be34c95457c3f8ff52a22658e9;hpb=c54ea989a3cadf49dbb991a4a270ebee38ac18d9;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig index 632f8c8b..06ecbf3d 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig @@ -2,61 +2,120 @@ {% block css %} {{ parent() }} - - - - + {% endblock %} {% block scripts %} {{ parent() }} - - - + {% endblock %} {% block header %} {% endblock %} -{% block footer %} - -{% endblock %} - {% block messages %} {% for flashMessage in app.session.flashbag.get('notice') %} {% endfor %} -{% endblock %} \ No newline at end of file +{% endblock %} + +{% block menu %} + + + {% block logo %} + + + + + + {% endblock %} + + {% set currentRoute = app.request.attributes.get('_route') %} + + + {{ 'menu.left.unread'|trans }} {{ count_entries('unread') }} + + + {{ 'menu.left.starred'|trans }} {{ count_entries('starred') }} + + + {{ 'menu.left.archive'|trans }} {{ count_entries('archive') }} + + + {{ 'menu.left.all_articles'|trans }} {{ count_entries('all') }} + + + {{ 'menu.left.tags'|trans }} + + + {{ 'menu.left.config'|trans }} + + {% if is_granted('ROLE_SUPER_ADMIN') %} + + {{ 'menu.left.internal_settings'|trans }} + + {% endif %} + + {{ 'menu.left.import'|trans }} + + + {{ 'menu.left.developer'|trans }} + + + {{ 'menu.left.howto'|trans }} + + + {{ 'menu.left.logout'|trans }} + + + + menu + + {% block title %} + {% endblock %} + + + + + + add + + + + + + filter_list + + + + + file_download + + + + + + + + search + clear + + + + {{ render(controller("WallabagCoreBundle:Entry:addEntryForm")) }} + add + clear + + + +{% endblock %} + +{% block footer %} + {{ render(controller("WallabagCoreBundle:Footer:index")) }} +{% endblock %}