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: Fix svgs, Implement search, Show searchbar for no-js Created July 17, 2017, 9:24 a.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 | includes/searchform.tmpl » ('j') | includes/searchform.tmpl » ('J')
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 clearfix">
juliandoucette 2017/07/19 18:03:33 I don't think we need clearfix here? --- (Unless
ire 2017/07/21 10:23:26 You're right it's not needed. I must have added it
3 <h1 class="site-title">
4 {{ "index" | linkify() }}
5 <img src="/img/png/eyeo-help.png" srcset="/img/png/eyeo-help.png, /img/s vg/eyeo-help.svg 2x" alt="{{ "eyeo Help" | translate("site-title", "Image alt te xt") }}">
juliandoucette 2017/07/19 18:03:33 I don't think we need the first /img/png/eyeo-help
ire 2017/07/21 10:23:25 Done.
6 </a>
7 </h1>
8 <button id="toggle-searchform" class="unstyled tablet-and-mobile-only">
juliandoucette 2017/07/19 18:03:32 I think this control is misleading. This button to
9 <img src="/img/png/searchIcon.png" srcset="/img/png/searchIcon.png, /img/s vg/searchIcon.svg 2x" alt="{{ "Toggle Search Bar" | translate("search-toggle-alt ", "Image alt text") }}">
juliandoucette 2017/07/19 18:03:32 NIT: Please use dashes in image names.
juliandoucette 2017/07/19 18:03:33 1x image is poor quality on low DPI screens. I thi
ire 2017/07/21 10:23:25 Done.
10 </button>
11 <div id="site-search">
12 <? include searchform ?>
13 <a id="product-website-link" href="https://adblockplus.org/">{{ "Adblock P lus" | translate("abp-product-link", "Link") }}</a>
juliandoucette 2017/07/19 18:03:32 NIT: I think this should have a `nav` around it; t
juliandoucette 2017/07/19 18:03:33 Missing icon.
ire 2017/07/21 10:23:25 Done.
14 </div>
15 </div>
16 </header>
OLDNEW
« no previous file with comments | « no previous file | includes/searchform.tmpl » ('j') | includes/searchform.tmpl » ('J')

Powered by Google App Engine
This is Rietveld