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

Side by Side Diff: templates/default.tmpl

Issue 29323119: Issue 2839 - adjust templates for middle size screens (Closed)
Patch Set: Created July 30, 2015, 4 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
« includes/index.tmpl ('K') | « pages/features.html ('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-2015 Eyeo GmbH 3 # Copyright (C) 2006-2015 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
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details. 12 # GNU General Public License for more details.
13 # 13 #
14 # You should have received a copy of the GNU General Public License 14 # You should have received a copy of the GNU General Public License
15 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 #} 16 #}
17 17
18 <!DOCTYPE html> 18 <!DOCTYPE html>
19 <html lang="{{locale}}" dir="{{"rtl" if config.has_option("rtl", locale) else "l tr"}}" itemscope="itemscope" itemtype="http://schema.org/WebPage"> 19 <html lang="{{locale}}" dir="{{"rtl" if config.has_option("rtl", locale) else "l tr"}}" itemscope="itemscope" itemtype="http://schema.org/WebPage">
20 <head> 20 <head>
21 <title>{{title|translate("title")}}</title> 21 <title>{{title|translate("title")}}</title>
22 22
23 <meta name="viewport" content="width=device-width, initial-scale=1"> 23 <meta name="viewport" content="width=device-width, initial-scale=1">
24 <link rel="stylesheet" href="/css/main.css" class="cssfx"> 24 <link rel="stylesheet" href="/css/main.css" class="cssfx">
25 <link rel="stylesheet" href="/css/main-desktop.css" media="(min-width: 40.5e m)" class="cssfx"> 25 <link rel="stylesheet" href="/css/main-desktop.css" media="(min-width: 1000p x)" class="cssfx">
26 <link rel="stylesheet" href="/css/main-mobile.css" media="screen and (max-wi dth: 40.5em)"> 26 <link rel="stylesheet" href="/css/main-mobile.css" media="(max-width: 1000px )">
saroyanm 2015/07/30 16:10:17 I noticed that we are adjusting the layout for scr
27 27
28 <link rel="canonical" href="https://adblockplus.org/{{page}}"> 28 <link rel="canonical" href="https://adblockplus.org/{{page}}">
29 29
30 {% block head %} 30 {% block head %}
31 {{head|safe}} 31 {{head|safe}}
32 {% endblock %} 32 {% endblock %}
33 33
34 <!--[if lt IE 7]> 34 <!--[if lt IE 7]>
35 <script src="/js/vendor/DD_belatedPNG.js"></script> 35 <script src="/js/vendor/DD_belatedPNG.js"></script>
36 <script>DD_belatedPNG.fix(".sprite");</script> 36 <script>DD_belatedPNG.fix(".sprite");</script>
37 <![endif]--> 37 <![endif]-->
38 <!--[if lt IE 9]> 38 <!--[if lt IE 9]>
39 <script src="/js/vendor/html5shiv.js"></script> 39 <script src="/js/vendor/html5shiv.js"></script>
40 <script src="/js/vendor/respond.min.js"></script> 40 <script src="/js/vendor/respond.min.js"></script>
41 <![endif]--> 41 <![endif]-->
42 <!--[if lt IE 10]><script src="/js/vendor/cssfx.min.js"></script><![endif]-- > 42 <!--[if lt IE 10]><script src="/js/vendor/cssfx.min.js"></script><![endif]-- >
43 <!-- Fixes cssfx issues in IE8. --> 43 <!-- Fixes cssfx issues in IE8. -->
44 <!--[if IE 8]> 44 <!--[if IE 8]>
45 <link rel="stylesheet" href="/css/empty.css" class="cssfx"/> 45 <link rel="stylesheet" href="/css/empty.css" class="cssfx"/>
46 <![endif]--> 46 <![endif]-->
47 </head> 47 </head>
48 48
49 <body> 49 <body>
50 <noscript> 50 <noscript>
51 <link rel="stylesheet" href="/css/noscript-desktop.css" media="(min-width: 40.5em)"/> 51 <link rel="stylesheet" href="/css/noscript-desktop.css" media="(min-width: 1000px)"/>
52 <link rel="stylesheet" href="/css/noscript-mobile.css" media="screen and ( max-width: 40.5em)"/> 52 <link rel="stylesheet" href="/css/noscript-mobile.css" media="(max-width: 1000px)"/>
53 </noscript> 53 </noscript>
54 54
55 {% macro pageitem(name) %} 55 {% macro pageitem(name) %}
56 {% if name == page %} 56 {% if name == page %}
57 <li class="selected">{{get_string(name, "menu")}}</li> 57 <li class="selected">{{get_string(name, "menu")}}</li>
58 {% else %} 58 {% else %}
59 <li>{{name|linkify}}{{get_string(name, "menu")}}</a></li> 59 <li>{{name|linkify}}{{get_string(name, "menu")}}</a></li>
60 {% endif %} 60 {% endif %}
61 {% endmacro %} 61 {% endmacro %}
62 62
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 <a rel="nofollow" id="social-gplus" class="sprite" href="https://p lus.google.com/110020691898167279887"></a> 178 <a rel="nofollow" id="social-gplus" class="sprite" href="https://p lus.google.com/110020691898167279887"></a>
179 </li> 179 </li>
180 </ul> 180 </ul>
181 </section> 181 </section>
182 </div> 182 </div>
183 </footer> 183 </footer>
184 184
185 <script src="/js/main.js"></script> 185 <script src="/js/main.js"></script>
186 </body> 186 </body>
187 </html> 187 </html>
OLDNEW
« includes/index.tmpl ('K') | « pages/features.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld