email.html.twig 2.1 KB

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