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

Side by Side Diff: templates/default.tmpl

Issue 29551738: Issue 5634 - Replaced logo and refactored navbar width and colors (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Rebased Created Sept. 25, 2017, 3:10 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 | « static/img/header-logo-2x.png ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {# 1 {#
2 # This file is part of the Adblock Plus website, 2 # This file is part of the Adblock Plus website,
3 # Copyright (C) 2006-present eyeo GmbH 3 # Copyright (C) 2006-present eyeo GmbH
4 # 4 #
5 # Adblock Plus is free software: you can redistribute it and/or modify 5 # Adblock Plus is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License version 3 as 6 # it under the terms of the GNU General Public License version 3 as
7 # published by the Free Software Foundation. 7 # published by the Free Software Foundation.
8 # 8 #
9 # Adblock Plus is distributed in the hope that it will be useful, 9 # Adblock Plus is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 </head> 71 </head>
72 72
73 <body> 73 <body>
74 <noscript> 74 <noscript>
75 <link rel="stylesheet" href="/css/noscript-desktop.css" media="(min-width: 1000px)"/> 75 <link rel="stylesheet" href="/css/noscript-desktop.css" media="(min-width: 1000px)"/>
76 <link rel="stylesheet" href="/css/noscript-mobile.css" media="(max-width: 1000px)"/> 76 <link rel="stylesheet" href="/css/noscript-mobile.css" media="(max-width: 1000px)"/>
77 </noscript> 77 </noscript>
78 78
79 {% macro pageitem(name) %} 79 {% macro pageitem(name) %}
80 {% if name == page %} 80 {% if name == page %}
81 <li class="selected">{{get_string(name, "menu")}}</li> 81 <li class="selected"><a>{{get_string(name, "menu")}}</a></li>
82 {% else %} 82 {% else %}
83 <li>{{name|linkify}}{{get_string(name, "menu")}}</a></li> 83 <li>{{name|linkify}}{{get_string(name, "menu")}}</a></li>
84 {% endif %} 84 {% endif %}
85 {% endmacro %} 85 {% endmacro %}
86 86
87 <header> 87 <nav class="navbar accent">
88 {{"index"|linkify(id="logo", class="sprite", itemprop="image")}}</a> 88 <div class="container">
89 <nav> 89 {{ "index" | linkify(class="navbar-brand")}}
90 <ul> 90 <img
91 alt="Adblock Plus"
92 title="Adblock Plus"
93 src="/img/header-logo.png"
94 srcset="/img/header-logo-2x.png">
95 </a>
96 <ul class="navbar-nav">
91 {% if localefile == "index" %} 97 {% if localefile == "index" %}
92 <li class="selected first">{{get_string("installation", "menu")}}</l i> 98 <li class="selected first"><a>{{get_string("installation", "menu")}} </a></li>
93 {% else %} 99 {% else %}
94 <li class="install-link first">{{"index"|linkify}}{{get_string("inst allation", "menu")}} <span class="sprite install-link-icon"></span></a></li> 100 <li class="install-link first">{{"index"|linkify}}{{get_string("inst allation", "menu")}} <span class="sprite install-link-icon"></span></a></li>
95 {% endif %} 101 {% endif %}
96 {% for name in ["about", "features", "bugs", "contribute"] %} 102 {% for name in ["about", "features", "bugs", "contribute"] %}
97 {{pageitem(name)}} 103 {{pageitem(name)}}
98 {% endfor %} 104 {% endfor %}
99 <li id="language"> 105 <li id="language" class="dropdown">
100 <div id="current-language"> 106 <a href="#" id="current-language" class="dropdown-toggle">
101 {{ config.get("langnames", locale) }} ({{ locale | upper }}) 107 {{ config.get("langnames", locale) }} ({{ locale | upper }})
102 <span id="language-arrow" class="sprite"></span> 108 </a>
103 </div> 109 <ul id="language-selector" class="dropdown-menu secondary">
104 <ul id="language-selector">
105 {% for available_locale in available_locales %} 110 {% for available_locale in available_locales %}
106 <li class="language-entry"> 111 <li class="language-entry">
107 {{ page | linkify(available_locale) }} 112 {{ page | linkify(available_locale) }}
108 {{ config.get("langnames", available_locale) }} ({{ availabl e_locale | upper }}) 113 {{ config.get("langnames", available_locale) }} ({{ availabl e_locale | upper }})
109 </a> 114 </a>
110 </li> 115 </li>
111 {% endfor %} 116 {% endfor %}
112 </ul> 117 </ul>
113 </li> 118 </li>
114 </ul> 119 </ul>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 <a rel="nofollow" id="social-gplus" class="sprite" href="https://p lus.google.com/110020691898167279887"></a> 200 <a rel="nofollow" id="social-gplus" class="sprite" href="https://p lus.google.com/110020691898167279887"></a>
196 </li> 201 </li>
197 </ul> 202 </ul>
198 </section> 203 </section>
199 </div> 204 </div>
200 </footer> 205 </footer>
201 206
202 <script src="/js/main.js"></script> 207 <script src="/js/main.js"></script>
203 </body> 208 </body>
204 </html> 209 </html>
OLDNEW
« no previous file with comments | « static/img/header-logo-2x.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld