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

Unified Diff: includes/layout/header.tmpl

Issue 29485575: Issue 5385 - Create Site Header Component for Help Center (Closed)
Patch Set: Fix alignment of search form, reformat JS Created Aug. 22, 2017, 12:14 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | includes/search-form.tmpl » ('j') | includes/search-form.tmpl » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: includes/layout/header.tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/includes/layout/header.tmpl
@@ -0,0 +1,21 @@
+<header id="site-header" class="navbar">
+ <div class="navbar-wrapper">
juliandoucette 2017/08/23 14:39:02 See comment [here](https://codereview.adblockplus.
ire 2017/08/25 08:27:05 Acknowledged.
+ <h1 class="site-title">
+ {{ "index" | linkify() }}
juliandoucette 2017/08/23 14:39:03 See comment [here](https://codereview.adblockplus.
ire 2017/08/25 08:27:06 Acknowledged.
+ <img src="/img/png/eyeo-help.png" srcset="/img/svg/eyeo-help.svg 2x" alt="{{ "eyeo Help" | translate("site-title", "Image alt text") }}">
+ </a>
+ </h1>
+ <button id="toggle-search-form" class="unstyled tablet-and-mobile-only">
+ <img src="/img/png/search-icon.png" srcset="/img/svg/search-icon.svg 2x" alt="{{ "Toggle Search Bar" | translate("search-toggle-alt", "Image alt text") }}">
+ </button>
+ <div id="site-search">
juliandoucette 2017/08/23 14:39:02 I think that it's kindof confusing that this eleme
ire 2017/08/25 08:27:06 Done.
+ <? include search-form ?>
juliandoucette 2017/08/23 14:39:03 It seems inconsistent that this form is an include
ire 2017/08/25 08:27:05 Done.
+ <nav id="product-website-link">
+ <a href="https://adblockplus.org/">
+ {{ "Adblock Plus" | translate("abp-product-link", "Link") }}
juliandoucette 2017/08/23 14:39:03 NIT/Suggest: "Link text" or "Link label" (it's not
ire 2017/08/25 08:27:05 Done.
+ <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") }}">
+ </a>
+ </nav>
+ </div>
+ </div>
+</header>
« no previous file with comments | « no previous file | includes/search-form.tmpl » ('j') | includes/search-form.tmpl » ('J')

Powered by Google App Engine
This is Rietveld