2015-03-01 07:22:29 +00:00
|
|
|
|
{% extends "WallabagCoreBundle::base.html.twig" %}
|
2015-02-23 21:55:06 +00:00
|
|
|
|
|
2015-03-01 07:22:29 +00:00
|
|
|
|
{% block css %}
|
|
|
|
|
{{ parent() }}
|
2016-03-08 16:02:34 +00:00
|
|
|
|
<link rel="stylesheet" href="{{ asset('bundles/wallabagcore/themes/baggy/css/style.min.css') }}" media="screen,projection,print"/>
|
2015-03-01 07:22:29 +00:00
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
|
{{ parent() }}
|
2016-03-08 16:02:34 +00:00
|
|
|
|
<script src="{{ asset('bundles/wallabagcore/themes/baggy/js/baggy.min.js') }}"></script>
|
2015-03-01 07:22:29 +00:00
|
|
|
|
{% endblock %}
|
2015-08-24 18:43:02 +00:00
|
|
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
|
<header class="w600p center mbm">
|
|
|
|
|
<h1 class="logo">
|
|
|
|
|
{% block logo %}
|
2016-03-08 16:02:34 +00:00
|
|
|
|
<img width="100" height="100" src="{{ asset('bundles/wallabagcore/themes/_global/img/logo-w.png') }}" alt="wallabag logo" />
|
2015-08-24 18:43:02 +00:00
|
|
|
|
{% endblock %}
|
|
|
|
|
</h1>
|
|
|
|
|
</header>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block menu %}
|
|
|
|
|
<button id="menu" class="icon icon-menu desktopHide"><span>Menu</span></button>
|
|
|
|
|
<ul id="links" class="links">
|
2016-10-15 17:04:53 +00:00
|
|
|
|
<li class="menu unread"><a href="{{ path('unread') }}">{{ 'menu.left.unread'|trans }}</a></li>
|
|
|
|
|
<li class="menu starred"><a href="{{ path('starred') }}">{{ 'menu.left.starred'|trans }}</a></li>
|
|
|
|
|
<li class="menu archive"><a href="{{ path('archive') }}">{{ 'menu.left.archive'|trans }}</a></li>
|
|
|
|
|
<li class="menu all"><a href="{{ path('all') }}">{{ 'menu.left.all_articles'|trans }}</a></li>
|
|
|
|
|
<li class="menu tag"><a href="{{ path('tag') }}">{{ 'menu.left.tags'|trans }}</a></li>
|
|
|
|
|
<li class="menu new"><a href="{{ path('new') }}">{{ 'menu.left.save_link'|trans }}</a></li>
|
2016-04-03 18:25:43 +00:00
|
|
|
|
<!--<li style="position: relative;"><a href="javascript: void(null);" id="search">{{ 'menu.left.search'|trans }}</a>
|
2015-08-24 18:43:02 +00:00
|
|
|
|
<div id="search-form" class="messages info popup-form">
|
|
|
|
|
<form method="get" action="index.php">
|
2016-03-09 07:59:08 +00:00
|
|
|
|
<h2>{{ 'menu.left.search'|trans }}</h2>
|
2015-08-24 18:43:02 +00:00
|
|
|
|
<a href="javascript: void(null);" id="search-form-close" class="close-button--popup close-button">×</a>
|
2016-02-14 19:12:03 +00:00
|
|
|
|
<input type="hidden" name="view" value="search">
|
2016-03-09 07:59:08 +00:00
|
|
|
|
<input required placeholder="{{ 'menu.search_form.input_label'|trans }}" type="text" name="search" id="searchfield"><br>
|
|
|
|
|
<input id="submit-search" type="submit" value="{{ 'menu.left.search'|trans }}">
|
2015-08-24 18:43:02 +00:00
|
|
|
|
</form>
|
|
|
|
|
</div>
|
2016-04-03 18:25:43 +00:00
|
|
|
|
</li>-->
|
2016-10-15 17:04:53 +00:00
|
|
|
|
<li class="menu config"><a href="{{ path('config') }}">{{ 'menu.left.config'|trans }}</a></li>
|
2016-01-21 07:53:09 +00:00
|
|
|
|
{% if is_granted('ROLE_SUPER_ADMIN') %}
|
2016-10-15 17:04:53 +00:00
|
|
|
|
<li class="menu users"><a href="{{ path('user_index') }}">{{ 'menu.left.users_management'|trans }}</a></li>
|
|
|
|
|
<li class="menu internal"><a href="{{ path('craue_config_settings_modify') }}">{{ 'menu.left.internal_settings'|trans }}</a></li>
|
2016-01-21 07:53:09 +00:00
|
|
|
|
{% endif %}
|
2016-10-15 17:04:53 +00:00
|
|
|
|
<li class="menu import"><a href="{{ path('import') }}">{{ 'menu.left.import'|trans }}</a></li>
|
|
|
|
|
<li class="menu howto"><a href="{{ path('howto') }}">{{ 'menu.left.howto'|trans }}</a></li>
|
|
|
|
|
<li class="menu developer"><a href="{{ path('developer') }}">{{ 'menu.left.developer'|trans }}</a></li>
|
|
|
|
|
<li class="menu about"><a href="{{ path('about') }}">{{ 'footer.wallabag.about'|trans }}</a></li>
|
|
|
|
|
<li class="menu logout"><a class="icon icon-power" href="{{ path('fos_user_security_logout') }}">{{ 'menu.left.logout'|trans }}</a></li>
|
2015-08-24 18:43:02 +00:00
|
|
|
|
</ul>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block messages %}
|
|
|
|
|
{% for flashMessage in app.session.flashbag.get('notice') %}
|
|
|
|
|
<div class="messages success">
|
|
|
|
|
<a href="#" class="closeMessage">×</a>
|
2016-03-21 14:44:23 +00:00
|
|
|
|
<p>{{ flashMessage|trans }}</p>
|
2015-08-24 18:43:02 +00:00
|
|
|
|
</div>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block footer %}
|
|
|
|
|
<footer class="w600p center mt3 mb3 smaller txtright">
|
2016-03-09 07:59:08 +00:00
|
|
|
|
<p>{{ 'footer.wallabag.powered_by'|trans }} <a href="http://wallabag.org">wallabag</a></p>
|
2015-08-24 18:43:02 +00:00
|
|
|
|
</footer>
|
|
|
|
|
{% endblock %}
|