Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: includes/layout/header.tmpl

Issue 29485575: Issue 5385 - Create Site Header Component for Help Center (Closed)
Patch Set: Include site variables before website-defaults Created Sept. 1, 2017, 12:11 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | static/img/png/external-icon.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <header id="site-header" class="navbar">
2 <div class="navbar-wrapper">
3 <h1 id="site-title">
4 {{ "index" | linkify() }}
5 <img src="/img/png/eyeo-help.png" srcset="/img/svg/eyeo-help.svg 2x" alt ="{{ "eyeo Help" | translate("site-title", "Image alt text") }}">
6 </a>
7 </h1>
8
9 <button class="toggle-navbar-collapse unstyled phablet-and-mobile-only">
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") }} ">
11 </button>
12
13 <div class="navbar-collapse">
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>
28 </div>
29 </div>
30 </header>
OLDNEW
« no previous file with comments | « no previous file | static/img/png/external-icon.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld