bak.html.twig 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {% extends 'base.html.twig' %}
  2. {% block stylesheets %}
  3. {{ parent() }}
  4. <link rel='stylesheet' type='text/css' href="{{ asset('assets/css/settings/settings.css') }}" media="screen and (min-width: 1300px)">
  5. <link rel='stylesheet' type='text/css' href="{{ asset('assets/css/settings/settings_mid.css') }}" media="screen and (max-width: 1300px)">
  6. <link rel='stylesheet' type='text/css' href="{{ asset('assets/css/settings/settings_small.css') }}" media="screen and (max-width: 750px)">
  7. {% endblock %}
  8. {% block nav %}
  9. <nav class='set-nav'>
  10. <ul>
  11. <li>
  12. <a href="{{ path('settings_profile') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'settings_' %}active{% endif %}'>Settings</a>
  13. </li>
  14. <li>
  15. <a href="{{ path('account_email') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'account_' %}active{% endif %}'>Account</a>
  16. </li>
  17. <li>
  18. <a href="{{ path('doc_tags') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_tags' %}active{% endif %}'>Misc</a>
  19. </li>
  20. </ul>
  21. </nav>
  22. <nav class='set-nav2'>
  23. <ul>
  24. <li>
  25. <a href="{{ path('account_email') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'account_email' %}active{% endif %}'>Email</a>
  26. </li>
  27. <li>
  28. <a href="{{ path('account_pass') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'account_pass' %}active{% endif %}'>Password</a>
  29. </li>
  30. <li>
  31. <a href="{{ path('account_bak') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'account_bak' %}active{% endif %}'>Backup and Restore</a>
  32. </li>
  33. </ul>
  34. </nav>
  35. {% endblock %}
  36. {% block body %}
  37. <div class="content">
  38. {{ form(form) }}
  39. </div>
  40. {% endblock %}