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

Side by Side Diff: chrome/content/ui/firstRun.html

Issue 11533106: Prepared adblockplus for Safari (Closed)
Patch Set: Rebased on upstream Created Oct. 25, 2013, 4:17 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 | « no previous file | chrome/content/ui/firstRun.js » ('j') | chrome/content/ui/i18n.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 - This file is part of Adblock Plus <http://adblockplus.org/>, 3 - This file is part of Adblock Plus <http://adblockplus.org/>,
4 - Copyright (C) 2006-2013 Eyeo GmbH 4 - Copyright (C) 2006-2013 Eyeo GmbH
5 - 5 -
6 - Adblock Plus is free software: you can redistribute it and/or modify 6 - Adblock Plus is free software: you can redistribute it and/or modify
7 - it under the terms of the GNU General Public License version 3 as 7 - it under the terms of the GNU General Public License version 3 as
8 - published by the Free Software Foundation. 8 - published by the Free Software Foundation.
9 - 9 -
10 - Adblock Plus is distributed in the hope that it will be useful, 10 - Adblock Plus is distributed in the hope that it will be useful,
11 - but WITHOUT ANY WARRANTY; without even the implied warranty of 11 - but WITHOUT ANY WARRANTY; without even the implied warranty of
12 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 - GNU General Public License for more details. 13 - GNU General Public License for more details.
14 - 14 -
15 - You should have received a copy of the GNU General Public License 15 - You should have received a copy of the GNU General Public License
16 - along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 16 - along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
17 --> 17 -->
18 18
19 <html> 19 <html>
20 <head> 20 <head>
21 <title class="i18n_firstRun_title"></title> 21 <title class="i18n_firstRun_title"></title>
22 <meta charset="utf-8"> 22 <meta charset="utf-8">
23
24 <!-- {% if type == 'safari' %} -->
25 <!-- {{ '<link type="text/css" href="skin/firstRun.css" rel="stylesheet"/>' }} -->
26 <!-- {% else %} -->
23 <link type="text/css" href="/skin/firstRun.css" rel="stylesheet"/> 27 <link type="text/css" href="/skin/firstRun.css" rel="stylesheet"/>
28 <!-- {% endif %} -->
Wladimir Palant 2013/10/29 12:59:52 As mentioned before, I would prefer a solution wit
Sebastian Noack 2013/10/29 13:37:23 I would rather not hide the logic from the code of
Wladimir Palant 2013/10/29 14:05:45 We have a number of conventions in place that work
29
30 <!-- {% if type in ('chrome', 'opera', 'safari') %} -->
31 <!-- {{ '<script type="text/javascript" src="ext/common.js"></script>' }} -- >
32 <!-- {{ '<script type="text/javascript" src="ext/content.js"></script>' }} - ->
33 <!-- {% endif %} -->
Wladimir Palant 2013/10/29 12:59:52 If we are adding these script tags dynamically, we
Sebastian Noack 2013/10/29 13:37:23 I might be wrong. But I don't think that this will
Wladimir Palant 2013/10/29 14:05:45 Setting |script.async = false| should actually do
Sebastian Noack 2013/10/29 15:44:56 They are just wrapped by HTML comments, for backwa
Wladimir Palant 2013/10/29 15:56:37 For the scripts: yes, processing the page with Jin
24 <script type="text/javascript" src="utils.js"></script> 34 <script type="text/javascript" src="utils.js"></script>
25 <script type="text/javascript" src="i18n.js"></script> 35 <script type="text/javascript" src="i18n.js"></script>
26 <script type="text/javascript" src="firstRun.js"></script> 36 <script type="text/javascript" src="firstRun.js"></script>
27 </head> 37 </head>
28 <body> 38 <body>
29 39
30 40
31 <header> 41 <header>
32 <div id="logo"></div> 42 <div id="logo"></div>
33 <h1 id="title-main" class="i18n_firstRun_title"></h1> 43 <h1 id="title-main" class="i18n_firstRun_title"></h1>
34 </header> 44 </header>
35 45
46 <section id="legacySafariWarning" class="i18n_firstRun_legacySafariWarning" hidden="true"></section>
36 <section id="dataCorruptionWarning" class="i18n_firstRun_dataCorruptionWarni ng" hidden="true"></section> 47 <section id="dataCorruptionWarning" class="i18n_firstRun_dataCorruptionWarni ng" hidden="true"></section>
37 48
38
39 <section id="acceptable-ads"> 49 <section id="acceptable-ads">
40 <h2 class="i18n_firstRun_acceptableAdsHeadline"></h2> 50 <h2 class="i18n_firstRun_acceptableAdsHeadline"></h2>
41 <p id="acceptableAdsExplanation" class="i18n_firstRun_acceptableAdsExplana tion"></p> 51 <p id="acceptableAdsExplanation" class="i18n_firstRun_acceptableAdsExplana tion"></p>
42 </section> 52 </section>
43 53
44 <section id="can-do-more"> 54 <section id="can-do-more">
45 <h2 class="i18n_firstRun_features"></h2> 55 <h2 class="i18n_firstRun_features"></h2>
46 56
47 <ul id="can-do-more-overview"> 57 <ul id="can-do-more-overview">
48 <li id="feature-first"> 58 <li id="feature-first">
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 <footer> 165 <footer>
156 <a id="contributors" class="i18n_firstRun_contributor_credits"></a> 166 <a id="contributors" class="i18n_firstRun_contributor_credits"></a>
157 </footer> 167 </footer>
158 168
159 169
160 <div id="glass-pane"> 170 <div id="glass-pane">
161 <iframe id="share-popup" scrolling="no"></iframe> 171 <iframe id="share-popup" scrolling="no"></iframe>
162 </div> 172 </div>
163 </body> 173 </body>
164 </html> 174 </html>
OLDNEW
« no previous file with comments | « no previous file | chrome/content/ui/firstRun.js » ('j') | chrome/content/ui/i18n.js » ('J')

Powered by Google App Engine
This is Rietveld