]> Raphaƫl G. Git Repositories - treebundle/blobdiff - Resources/views/base.html.twig
Add directory and document routes
[treebundle] / Resources / views / base.html.twig
index 77819c9036784d208c4c489f0c793d01f0ed2b55..2c4e8ccd494ffd8fe7c959f9ed4a0e21abff2cd1 100644 (file)
@@ -30,9 +30,9 @@
                                        {% endif %}
                                {% endfor %}
                        {% endif %}
                                        {% endif %}
                                {% endfor %}
                        {% endif %}
-                       {# stylesheet '//fonts.googleapis.com/css?family=Irish+Grover' '//fonts.googleapis.com/css?family=La+Belle+Aurore' '@RapsysAirBundle/Resources/public/css/{reset,screen}.css' #}
+                       {# stylesheet '//fonts.googleapis.com/css?family=Irish+Grover' '//fonts.googleapis.com/css?family=La+Belle+Aurore' '@RapsysTreeBundle/Resources/public/css/{reset,screen}.css' #}
                        {% stopwatch 'stylesheet' %}
                        {% stopwatch 'stylesheet' %}
-                               {% stylesheet '@RapsysAir/css/{reset,droidsans,lemon,notoemoji,screen}.css' %}
+                               {% stylesheet '@RapsysTree/css/{reset,droidsans,lemon,notoemoji,screen}.css' %}
                                        <link rel="stylesheet" type="text/css" href="{{ asset_url }}?20221024100144" />
                                {% endstylesheet %}
                        {% endstopwatch %}
                                        <link rel="stylesheet" type="text/css" href="{{ asset_url }}?20221024100144" />
                                {% endstylesheet %}
                        {% endstopwatch %}
                                        {% block header_nav %}
                                                <nav id="nav">
                                                        {#<h2>{% trans %}Navigation{% endtrans %}</h2>#}
                                        {% block header_nav %}
                                                <nav id="nav">
                                                        {#<h2>{% trans %}Navigation{% endtrans %}</h2>#}
-                                                       <a href="{{ path('rapsysair') }}" rel="home">{% trans %}Home{% endtrans %}</a>
+                                                       <a href="{{ path('rapsystree') }}" rel="home">{% trans %}Home{% endtrans %}</a>
+                                                       {% for id, path in roots %}
+                                                               <a href="{{ path('rapsystree_directory', {path: id}) }}">{{ id }}</a>
+                                                       {% endfor %}
+                                                       {#
                                                        <a href="{{ path('rapsysair_contact') }}" rel="contact">{% trans %}Contact{% endtrans %}</a>
                                                        <a href="{{ path('rapsysair_frequently_asked_questions') }}">{% trans %}Frequently asked questions{% endtrans %}</a>
                                                        {% if is_granted('ROLE_ADMIN') %}
                                                        <a href="{{ path('rapsysair_contact') }}" rel="contact">{% trans %}Contact{% endtrans %}</a>
                                                        <a href="{{ path('rapsysair_frequently_asked_questions') }}">{% trans %}Frequently asked questions{% endtrans %}</a>
                                                        {% if is_granted('ROLE_ADMIN') %}
@@ -86,6 +90,7 @@
                                                                <a href="{{ path('rapsysuser_login') }}">{% trans %}Login{% endtrans %}</a>
                                                                <a href="{{ path('rapsysuser_register') }}">{% trans %}Register{% endtrans %}</a>
                                                        {% endif %}
                                                                <a href="{{ path('rapsysuser_login') }}">{% trans %}Login{% endtrans %}</a>
                                                                <a href="{{ path('rapsysuser_register') }}">{% trans %}Register{% endtrans %}</a>
                                                        {% endif %}
+                                                       #}
                                                </nav>
                                        {% endblock %}
                        {#
                                                </nav>
                                        {% endblock %}
                        {#
                        {% endblock %}
                        {% block footer %}
                                <footer id="footer">
                        {% endblock %}
                        {% block footer %}
                                <footer id="footer">
+                                       {#
                                        <a href="{{ path('rapsysair_about') }}">{% trans %}About{% endtrans %}</a>
                                        {% if copy is defined and copy %}
                                                <details><summary>{{ copy.long }}</summary><span>{{ copy.short }} <a href="{{ copy.link }}" title="{{ copy.title }}" rel="author">{{ copy.by }}</a></span></details>
                                        <a href="{{ path('rapsysair_about') }}">{% trans %}About{% endtrans %}</a>
                                        {% if copy is defined and copy %}
                                                <details><summary>{{ copy.long }}</summary><span>{{ copy.short }} <a href="{{ copy.link }}" title="{{ copy.title }}" rel="author">{{ copy.by }}</a></span></details>
                                        {% else %}
                                                <span>&nbsp;</span>
                                        {% endif %}
                                        {% else %}
                                                <span>&nbsp;</span>
                                        {% endif %}
+                                       #}
                                </footer>
                        {% endblock %}
                {% endblock %}
                                </footer>
                        {% endblock %}
                {% endblock %}