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

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

Issue 10585038: First-run page (revisited) (Closed)
Patch Set: Implemented behavior of remaining buttons on Chrome; Added changelog and data corruption warning Created May 24, 2013, 10:09 a.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 <!DOCTYPE html>
1 <!-- 2 <!--
2 - This file is part of Adblock Plus <http://adblockplus.org/>, 3 - This file is part of Adblock Plus <http://adblockplus.org/>,
3 - Copyright (C) 2006-2013 Eyeo GmbH 4 - Copyright (C) 2006-2013 Eyeo GmbH
4 - 5 -
5 - 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
6 - 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
7 - published by the Free Software Foundation. 8 - published by the Free Software Foundation.
8 - 9 -
9 - 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,
10 - but WITHOUT ANY WARRANTY; without even the implied warranty of 11 - but WITHOUT ANY WARRANTY; without even the implied warranty of
11 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 - GNU General Public License for more details. 13 - GNU General Public License for more details.
13 - 14 -
14 - 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
15 - 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/>.
16 --> 17 -->
17 18
18 <!DOCTYPE html SYSTEM "chrome://adblockplus/locale/firstRun.dtd"> 19 <html>
20 <head>
21 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
22 <link type="text/css" href="/skin/firstRun.css" rel="stylesheet"/>
23 <script type="text/javascript" src="firstRun.js" charset="utf-8"></script>
Wladimir Palant 2013/05/27 11:02:00 Please don't define the charset of scripts - it's
24 </head>
25 <body>
26 <div id="shade" class="arrow"></div>
27 <div id="content">
28 <header>
29 <h1 id="title-main"></h1>
30 <div id="title-changelog"><a class="i18n_firstRun_changelog"></a></div>
31 </header>
19 32
20 <html xmlns="http://www.w3.org/1999/xhtml"> 33 <p id="dataCorruptionWarning" class="i18n_firstRun_dataCorruptionWarning" hidden="true"></p>
21 <head>
22 <title>&dialog.title;</title>
23 <script type="application/x-javascript;version=1.7" src="utils.js"/>
24 <script type="application/x-javascript;version=1.7" src="firstRun.js"/>
25 <link type="text/css" href="chrome://adblockplus/skin/firstRun.css" rel="sty lesheet"/>
26 </head>
27 <body onload="init()">
28 <p>&confirmation;</p>
29 34
30 <div class="sectionContainer"> 35 <p id="acceptableAdsExplanation" class="i18n_firstRun_acceptableAdsExplana tion"></p>
31 <p class="sectionTitle">&advancedSection;</p>
32 36
33 <p>&listSelection1;</p> 37 <h2 id="features-title" class="i18n_firstRun_features"></h2>
34 38
35 <p id="listNameContainer" hidden="true"> 39 <ul id="features">
36 <div id="listName"/> 40 <li id="feature-typo" class="feature">
37 <a id="listHomepage" onclick="UI.loadInBrowser(this.getAttribute('href') ); return false;">&visitHomepage.label;</a> 41 <div class="feature-image"></div>
38 </p> 42 <div class="feature-description">
39 <p id="listNone">&noList;</p> 43 <p class="feature-text">
44 <span class="i18n_firstRun_feature_typo feature-title"></span> <sp an class="i18n_firstRun_feature_typo_description"></span>
45 </p>
46 </div>
47 <button id="toggle-typo"></button>
48 </li>
49 <li id="feature-malware" class="feature">
50 <div class="feature-image"></div>
51 <div class="feature-description">
52 <p class="feature-text">
53 <span class="i18n_firstRun_feature_malware feature-title"></span> <span class="i18n_firstRun_feature_malware_description"></span>
54 </p>
55 </div>
56 <button id="toggle-malware"></button>
57 </li>
58 <li id="feature-social" class="feature">
59 <div class="feature-image"></div>
60 <div class="feature-description">
61 <p class="feature-text">
62 <span class="i18n_firstRun_feature_social feature-title"></span> < span class="i18n_firstRun_feature_social_description"></span>
63 </p>
64 </div>
65 <button id="toggle-social"></button>
66 </li>
67 <li id="feature-tracking" class="feature">
68 <div class="feature-image"></div>
69 <div class="feature-description">
70 <p class="feature-text">
71 <span class="i18n_firstRun_feature_tracking feature-title"></span> <span class="i18n_firstRun_feature_tracking_description"></span>
72 </p>
73 </div>
74 <button id="toggle-tracking"></button>
75 </li>
76 </ul>
40 77
41 <p id="acceptableAds" hidden="true"> 78 <footer id="social">
42 &acceptableAds2; 79 <h1 class="i18n_firstRun_share"></h1>
43 <a href="#" onclick="UI.loadInBrowser(Prefs.subscriptions_exceptionsurl) ; return false;">&viewList.label;</a> 80 <ul>
44 <a href="#" onclick="UI.loadDocLink('acceptable_ads'); return false;">&r eadMore.label;</a> 81 <li>
45 </p> 82 <a id="share-facebook" class="share-button" href="#" title="Share on Facebook"></a>
83 </li>
84 <li>
85 <a id="share-twitter" class="share-button" href="#" title="Share on Twitter"></a>
86 </li>
87 <li>
88 <a id="share-gplus" class="share-button" href="#" title="Share on Go ogle+"></a>
89 </li>
90 </ul>
91 </footer>
46 </div> 92 </div>
47 93
48 <p id="changeDescription" _textTemplate="&listSelection2;"> 94 <div id="glass-pane">
49 <a href="#" onclick="openFilters(); return false;"/> 95 <iframe id="share-popup" scrolling="no"></iframe>
50 </p> 96 </div>
51 </body> 97 </body>
52 </html> 98 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld