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

Side by Side Diff: includes/browser-select.tmpl

Issue 29559620: Issue 5692 - Create Browser Selector with Browser Detection Component for help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Extend CustomSelect, address NITs Created Oct. 27, 2017, 10:22 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
OLDNEW
(Empty)
1 <fieldset>
2 <label id="browser-select-label">
3 {{ "Your Browser" | translate("browser-select-label", "Label") }}:
4 </label>
5
6 <div id="browser-select" class="custom-select custom-select-dropdown">
7 <button class="custom-select-selected" aria-expanded="false" aria-haspopup=" true">
8 </button>
9 <ul class="custom-select-options" role="menu" tabindex="-1" aria-labelledby= "browser-select-label">
10 {% for browser in browsers %}
11 <li class="custom-select-option" role="menuitemradio" aria-checked="false" tabindex="0" data-value="{{ browser.id }}">
12 <img src="/img/png/logo-abp.png" srcset="/img/svg/logo-abp.svg 2x" alt=" {{ browser.name+" Logo" | translate( browser.id+"-logo-alt", "Image alt text") } }">
13 {{ browser.name | translate(browser.id + "-name") }}
14 </li>
15 {% endfor %}
16 </ul>
17 </div>
18 </fieldset>
19
20 <script id="browser-select-autodetected" type="text/template">{{ "autodetected" | translate("browser-select-autodetected") }}</script>
OLDNEW

Powered by Google App Engine
This is Rietveld