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

Side by Side Diff: templates/default.tmpl

Issue 29588968: Noissue - Updated defaults.css and refactored #navbar-container (Closed) Base URL: https://bitbucket.org/adblockplus/adblockplus.org
Patch Set: Created Oct. 25, 2017, 5:58 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
« static/css/main.css ('K') | « static/css/main.css ('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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 <body> 73 <body>
74 {% macro pageitem(name) %} 74 {% macro pageitem(name) %}
75 {% if name == page %} 75 {% if name == page %}
76 <li class="selected">{{get_string(name, "menu")}}</li> 76 <li class="selected">{{get_string(name, "menu")}}</li>
77 {% else %} 77 {% else %}
78 <li>{{name|linkify}}{{get_string(name, "menu")}}</a></li> 78 <li>{{name|linkify}}{{get_string(name, "menu")}}</a></li>
79 {% endif %} 79 {% endif %}
80 {% endmacro %} 80 {% endmacro %}
81 81
82 <nav id="navbar"> 82 <nav id="navbar">
83 <div class="navbar-container"> 83 <div class="container">
84 {{ "index" | linkify(id="navbar-logo") }} 84 {{ "index" | linkify(id="navbar-logo") }}
85 <img 85 <img
86 src="/img/navbar-logo.png" 86 src="/img/navbar-logo.png"
87 srcset="/img/navbar-logo.svg 2x"> 87 srcset="/img/navbar-logo.svg 2x">
88 <span>{{ "Adblock <strong>Plus</strong>" | translate("navbar-logo-text ", "Navbar logo text") }}</span> 88 <span>{{ "Adblock <strong>Plus</strong>" | translate("navbar-logo-text ", "Navbar logo text") }}</span>
89 </a> 89 </a>
90 <a href="#" id="navbar-menu-toggle"> 90 <a href="#" id="navbar-menu-toggle">
91 <img 91 <img
92 src="/img/menu-toggle.png" 92 src="/img/menu-toggle.png"
93 srcset="/img/menu-toggle.svg 2x"> 93 srcset="/img/menu-toggle.svg 2x">
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 <li>{{ pagename | linkify }}{{ get_string(pagename, "menu") }}</a> </li> 213 <li>{{ pagename | linkify }}{{ get_string(pagename, "menu") }}</a> </li>
214 {% endfor %} 214 {% endfor %}
215 </ul> 215 </ul>
216 </div> {# #footer-legal #} 216 </div> {# #footer-legal #}
217 </div> {# .container #} 217 </div> {# .container #}
218 </footer> {# #footer #} 218 </footer> {# #footer #}
219 219
220 <script src="/js/main.js"></script> 220 <script src="/js/main.js"></script>
221 </body> 221 </body>
222 </html> 222 </html>
OLDNEW
« static/css/main.css ('K') | « static/css/main.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld