_base.html 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>Alucho Portfolio</title>
  8. <link rel="stylesheet" href="{{ 'css/main.css' | static }}">
  9. <script src="{{ 'js/eye.js' | static }}"></script>
  10. </head>
  11. <body>
  12. <header>
  13. <div class="header-box">
  14. <div class="lbox">
  15. <div class="vbox">
  16. <a class="first en {% if en %}selected{% endif %}" href="{{ 'en' | lang_url }}">en</a>
  17. <a class="first {% if es %}selected{% endif %}" href="{{ 'es' | lang_url }}">es</a>
  18. </div>
  19. <object id="logo" type="image/svg+xml" data="{{ 'svg/alucho-logo.svg' | static }}"></object>
  20. <div class="vbox">
  21. <div id="alucho-title" class="hbox"><h1 class="header-title"><a>Alucho Rodríguez</a></h1></div>
  22. <div id="designer-subtitle" class="hbox"><a>{{ 'graphic designer' | lang }}</a></div>
  23. </div>
  24. </div>
  25. <div id="menu" class="rbox">
  26. <div class="vbox">
  27. <div class="hbox">
  28. <h1 class="header-title">
  29. <div><a href="/work" {% if work_selected %}class="selected"{% endif %}>{{ 'work' | lang }}</a></div> /
  30. <div><a href="/news" {% if news_selected %}class="selected"{% endif %}>{{ 'news' | lang }}</a></div> /
  31. <div><a href="/about"{% if about_selected %}class="selected"{% endif %}>{{ 'about' | lang }}</a></div> /
  32. <div><a href="/contact" {% if contact_selected %}class="selected"{% endif %}>{{ 'contact' | lang }}</a></div> /
  33. <div><a href="/shop"{% if shop_selected %}class="selected"{% endif %} >{{ 'shop' | lang }}</a></div>
  34. </h1>
  35. </div>
  36. <div class="hbox">
  37. <div class="header-subtitle">
  38. <div><a href="/work/all" {% if all_selected %}class="selected"{% endif %}>{{ 'all' | lang }}</a></div> /
  39. <div><a href="/work/poster" {% if poster_selected %}class="selected"{% endif %}>{{ 'poster' | lang }}</a></div> /
  40. <div><a href="/work/illustration" {% if illustration_selected %}class="selected"{% endif %}>{{ 'illustration' | lang }}</a></div> /
  41. <div><a href="/work/editorial" {% if editorial_selected %}class="selected"{% endif %}>{{ 'editorial' | lang }}</a></div> /
  42. <div><a href="/work/branding" {% if branding_selected %}class="selected"{% endif %}>{{ 'branding' | lang }}</a></div> /
  43. <div><a href="/work/other" {% if other_selected %}class="selected"{% endif %}>{{ 'other' | lang }}</a></div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. </header>
  50. <div id="main" class="v">
  51. <div class="main-content">
  52. {% block main %}
  53. {% endblock %}
  54. </div>
  55. </div>
  56. <footer>
  57. <h3>
  58. copyright / <a href="/">www.alucho.com</a> / 2019 / <a href="/contact">{{ 'contact' | lang }}</a>
  59. </h3>
  60. </footer>
  61. <form name="setLangEnglish" action="/i18n/setlang/" method="POST">
  62. {# {% csrf_token %} #}
  63. <input name="next" type="hidden" value="{{ path }}"/>
  64. <input type="hidden" name="language" value="en"/>
  65. </form>
  66. <form name="setLangSpanish" action="/i18n/setlang/" method="POST">
  67. {# {% csrf_token %} #}
  68. <input name="next" type="hidden" value="{{ path }}"/>
  69. <input type="hidden" name="language" value="es"/>
  70. </form>
  71. <script src="{{ 'js/eye.js' | static }}"></script>
  72. </body>
  73. </html>