Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 {# | |
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
| |
2 # This file is part of help.eyeo.com. | |
3 # Copyright (C) 2016 Eyeo GmbH | |
4 # | |
5 # help.eyeo.com is free software: you can redistribute it and/or modify | |
6 # it under the terms of the GNU General Public License as published by | |
7 # the Free Software Foundation, either version 3 of the License, or | |
8 # (at your option) any later version. | |
9 # | |
10 # help.eyeo.com is distributed in the hope that it will be useful, | |
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 # GNU General Public License for more details. | |
14 # | |
15 # You should have received a copy of the GNU General Public License | |
16 # along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. | |
17 #} | |
18 | |
19 <header id="site-header" class="navbar"> | 1 <header id="site-header" class="navbar"> |
20 <div class="navbar-wrapper cf"> | 2 <div class="navbar-wrapper"> |
juliandoucette
2017/07/14 14:11:28
cf?
ire
2017/07/17 09:25:52
clearfix. Will change it to be the full word.
| |
21 <h1 class="site-title"> | 3 <h1 id="site-title"> |
22 {{ "index" | linkify() }} | 4 {{ "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.
| |
23 <span class="sr-only">eyeo Help</span> | 5 <img src="/img/png/eyeo-help.png" srcset="/img/svg/eyeo-help.svg 2x" alt ="{{ "eyeo Help" | translate("site-title", "Image alt text") }}"> |
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
| |
24 <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
| |
25 </a> | 6 </a> |
26 </h1> | 7 </h1> |
27 <a href="/" id="toggle-searchform" class="tablet-and-mobile-only"> | 8 |
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.
| |
28 <img src="img/png/searchIcon.png" srcset="img/png/searchIcon.png, img/svg/ searchIcon.svg 2x" alt="Toggle Search Bar"> | 9 <button class="toggle-navbar-collapse unstyled phablet-and-mobile-only"> |
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
| |
29 </a> | 10 <img src="/img/png/search-icon.png" srcset="/img/svg/search-icon.svg 2x" a lt="{{ "Toggle Search Bar" | translate("search-toggle-alt", "Image alt text") }} "> |
30 <div id="site-search"> | 11 </button> |
31 <? include searchform ?> | 12 |
32 <a id="product-website-link" href="https://adblockplus.org/">Adblock Plus< /a> | 13 <div class="navbar-collapse"> |
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
| |
14 <form id="search-form" action="https://duckduckgo.com" method="GET"> | |
15 <label for="search" class="sr-only">{{ "Search Adblock Plus Help" | tran slate("search-form-label", "Input label") }}</label> | |
16 <input id="search" name="q" type="search" placeholder="{{ "Search Adbloc k Plus Help" | translate("search-form-label", "Input label") }}"> | |
17 <input type="hidden" name="sites" value="adblockplus.org"> | |
18 <button type="submit"> | |
19 <img src="/img/png/search-icon.png" srcset="/img/svg/search-icon.svg 2 x" alt="{{ "Search" | translate("search-icon-alt", "Image alt text") }}"> | |
20 </button> | |
21 </form> | |
22 | |
23 <nav id="product-website-link"> | |
24 <a href="https://adblockplus.org/"> | |
25 {{ "Adblock Plus" | translate("abp-product-link", "Link label") }}<img src="/img/png/external-icon.png" srcset="/img/svg/external-icon.svg 2x" alt="{{ "External link icon" | translate("external-link-icon", "Image alt text") }}"> | |
26 </a> | |
27 </nav> | |
33 </div> | 28 </div> |
34 </div> | 29 </div> |
35 </header> | 30 </header> |
LEFT | RIGHT |