Index: includes/layout/header.tmpl |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/includes/layout/header.tmpl |
@@ -0,0 +1,35 @@ |
+{# |
juliandoucette
2017/07/14 14:11:28
I'm not sure if we need this - based on my discus
ire
2017/07/17 09:25:53
Yeah you're right. I'll remove it.
On another no
|
+ # This file is part of help.eyeo.com. |
+ # Copyright (C) 2016 Eyeo GmbH |
+ # |
+ # help.eyeo.com is free software: you can redistribute it and/or modify |
+ # it under the terms of the GNU General Public License as published by |
+ # the Free Software Foundation, either version 3 of the License, or |
+ # (at your option) any later version. |
+ # |
+ # help.eyeo.com is distributed in the hope that it will be useful, |
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of |
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
+ # GNU General Public License for more details. |
+ # |
+ # You should have received a copy of the GNU General Public License |
+ # along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. |
+ #} |
+ |
+<header id="site-header" class="navbar"> |
+ <div class="navbar-wrapper cf"> |
juliandoucette
2017/07/14 14:11:28
cf?
ire
2017/07/17 09:25:52
clearfix. Will change it to be the full word.
|
+ <h1 class="site-title"> |
+ {{ "index" | linkify() }} |
juliandoucette
2017/07/14 14:11:28
You are using linkify correctly here - but I don't
ire
2017/07/17 09:25:53
Seen comment below.
|
+ <span class="sr-only">eyeo Help</span> |
juliandoucette
2017/07/14 14:11:28
Why span.sr-only and not img.alt?
ire
2017/07/17 09:25:53
So I looked more into this and I had misunderstood
|
+ <img src="img/png/eyeo-help.png" srcset="img/png/eyeo-help.png, img/svg/eyeo-help.svg 2x" alt=""> |
juliandoucette
2017/07/14 14:11:28
These images are not resolving correctly for me...
juliandoucette
2017/07/14 14:11:28
Missing img.alt - if one was not provided then you
ire
2017/07/17 09:25:53
Got it. The issue with these images was actually a
|
+ </a> |
+ </h1> |
+ <a href="/" id="toggle-searchform" class="tablet-and-mobile-only"> |
ire
2017/07/10 16:18:02
I am thinking that this would link to a DuckDuck G
juliandoucette
2017/07/14 14:11:28
I think it's a better idea to just show the collap
ire
2017/07/17 09:25:53
Done. I've changed this to a button as well.
|
+ <img src="img/png/searchIcon.png" srcset="img/png/searchIcon.png, img/svg/searchIcon.svg 2x" alt="Toggle Search Bar"> |
juliandoucette
2017/07/14 14:11:28
Text is not translated (I'm guessing you did this
ire
2017/07/17 09:25:53
Yes sorry i should have mentioned. I was trying to
|
+ </a> |
+ <div id="site-search"> |
+ <? include searchform ?> |
+ <a id="product-website-link" href="https://adblockplus.org/">Adblock Plus</a> |
ire
2017/07/10 16:18:01
This will be displayed conditionally depending on
juliandoucette
2017/07/14 14:11:29
Disregard my comment above about .tmpl vs html if
ire
2017/07/17 09:25:53
Yes this was my intention (same with the searchfor
|
+ </div> |
+ </div> |
+</header> |