 Issue 29485575:
  Issue 5385 - Create Site Header Component for Help Center  (Closed)
    
  
    Issue 29485575:
  Issue 5385 - Create Site Header Component for Help Center  (Closed) 
  | Left: | ||
| Right: | 
| LEFT | RIGHT | 
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> | 
| 2 <!-- | 2 <!-- | 
| 3 This file is part of help.eyeo.com. | 3 This file is part of help.eyeo.com. | 
| 4 Copyright (C) 2017 Eyeo GmbH | 4 Copyright (C) 2017 Eyeo GmbH | 
| 5 | 5 | 
| 6 help.eyeo.com is free software: you can redistribute it and/or modify | 6 help.eyeo.com is free software: you can redistribute it and/or modify | 
| 7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by | 
| 8 the Free Software Foundation, either version 3 of the License, or | 8 the Free Software Foundation, either version 3 of the License, or | 
| 9 (at your option) any later version. | 9 (at your option) any later version. | 
| 10 | 10 | 
| 11 help.eyeo.com is distributed in the hope that it will be useful, | 11 help.eyeo.com is distributed in the hope that it will be useful, | 
| 12 but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 
| 14 GNU General Public License for more details. | 14 GNU General Public License for more details. | 
| 15 | 15 | 
| 16 You should have received a copy of the GNU General Public License | 16 You should have received a copy of the GNU General Public License | 
| 17 along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. | 17 along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. | 
| 18 --> | 18 --> | 
| 19 <html | 19 <html | 
| 20 lang="{{ locale }}" | 20 lang="{{ locale }}" | 
| 21 dir="{{ "rtl" if config.has_option("rtl", locale) else "ltr" }}"> | 21 dir="{{ "rtl" if config.has_option("rtl", locale) else "ltr" }}"> | 
| 22 <head> | 22 <head> | 
| 23 <meta charset="utf-8"> | 23 <meta charset="utf-8"> | 
| 24 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to- fit=no"> | 24 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to- fit=no"> | 
| 25 <meta http-equiv="x-ua-compatible" content="ie=edge"> | 25 <meta http-equiv="x-ua-compatible" content="ie=edge"> | 
| 26 | 26 | 
| 27 <title>{{ title | translate("page-title", "Meta page title") }}</title> | 27 <title>{{ title | translate("page-title", "Meta page title") }}</title> | 
| 28 | 28 | 
| 29 <!--[if IE 8]> | 29 <!--[if IE 8]> | 
| 30 <script src="/js/vendor/ie8.js"></script> | 30 <script src="/js/vendor/ie8.min.js"></script> | 
| 31 <![endif]--> | 31 <![endif]--> | 
| 32 | 32 | 
| 33 <link rel="stylesheet" href="/css/main.css"> | 33 <link rel="stylesheet" href="/css/main.css"> | 
| 34 | 34 | 
| 35 <!--[if lt IE 9]> | 35 <!--[if lt IE 9]> | 
| 36 <script src="/js/vendor/html5shiv.js"></script> | 36 <script src="/js/vendor/html5shiv.min.js"></script> | 
| 37 <script src="/js/vendor/respond.min.js"></script> | 37 <script src="/js/vendor/respond.min.js"></script> | 
| 38 <![endif]--> | |
| 39 | |
| 40 <!--[if lt IE 10]> | |
| 41 <script src="/js/vendor/classList.min.js"></script> | |
| 38 <![endif]--> | 42 <![endif]--> | 
| 39 | 43 | 
| 40 {% block head %} | 44 {% block head %} | 
| 41 {{ head | safe }} | 45 {{ head | safe }} | 
| 42 {% endblock %} | 46 {% endblock %} | 
| 43 </head> | 47 </head> | 
| 44 <body> | 48 <body> | 
| 45 <? include layout/header ?> | 49 <? include layout/header ?> | 
| 46 <div class="outer"> | |
| 
juliandoucette
2017/08/18 15:03:58
NIT: Does .outer do anything in this patchset?
 
ire
2017/08/21 15:23:23
Nope. I'll remove it.
 | |
| 47 {% block body %} | 50 {% block body %} | 
| 48 {{ body | safe }} | 51 {{ body | safe }} | 
| 49 {% endblock %} | 52 {% endblock %} | 
| 50 </div> | |
| 51 <script src="/js/main.js"></script> | 53 <script src="/js/main.js"></script> | 
| 52 </body> | 54 </body> | 
| 53 <html> | 55 <html> | 
| LEFT | RIGHT |