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

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

Issue 29598558: Issue 5980 - Use correct browser logos for browser select on help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Created Nov. 5, 2017, 6:21 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
OLDNEW
1 <fieldset> 1 <fieldset>
2 <label id="browser-select-label"> 2 <label id="browser-select-label">
3 {{ "Your Browser" | translate("browser-select-label", "Label") }}: 3 {{ "Your Browser" | translate("browser-select-label", "Label") }}:
4 </label> 4 </label>
5 5
6 <div id="browser-select" class="custom-select custom-select-dropdown"> 6 <div id="browser-select" class="custom-select custom-select-dropdown">
7 <button class="custom-select-selected" aria-expanded="false" aria-haspopup=" true"> 7 <button class="custom-select-selected" aria-expanded="false" aria-haspopup=" true">
8 </button> 8 </button>
9 <ul class="custom-select-options" role="menu" tabindex="-1" aria-labelledby= "browser-select-label"> 9 <ul class="custom-select-options" role="menu" tabindex="-1" aria-labelledby= "browser-select-label">
10 {% for browser in browsers %} 10 {% for browser in browsers %}
11 <li class="custom-select-option" role="menuitemradio" aria-checked="false" tabindex="0" data-value="{{ browser.id }}"> 11 <li class="custom-select-option" role="menuitemradio" aria-checked="false" tabindex="0" data-value="{{ browser.id }}">
12 <span class="has-pre-icon"> 12 <span class="has-pre-icon">
13 <span class="pre-icon" style="{{ get_inline_bg('logo-'+product_id) }}" ></span> 13 <span class="pre-icon" style="{{ get_inline_bg(browser.id) }}"></span>
14 {{ browser.name | translate(browser.id + "-name") }} 14 {{ browser.name | translate(browser.id + "-name") }}
15 </span> 15 </span>
16 </li> 16 </li>
17 {% endfor %} 17 {% endfor %}
18 </ul> 18 </ul>
19 </div> 19 </div>
20 </fieldset> 20 </fieldset>
21 21
22 <script id="browser-select-autodetected" type="text/template">{{ "autodetected" | translate("browser-select-autodetected") }}</script> 22 <script id="browser-select-autodetected" type="text/template">{{ "autodetected" | translate("browser-select-autodetected") }}</script>
OLDNEW
« globals/browsers.py ('K') | « globals/browsers.py ('k') | static/img/png/chrome.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld