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

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

Issue 10585038: First-run page (revisited) (Closed)
Patch Set: Created May 14, 2013, 3:12 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
OLDNEW
1 <!-- 1 <!--
2 - This file is part of Adblock Plus <http://adblockplus.org/>, 2 - This file is part of Adblock Plus <http://adblockplus.org/>,
3 - Copyright (C) 2006-2013 Eyeo GmbH 3 - Copyright (C) 2006-2013 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 SYSTEM "chrome://adblockplus/locale/firstRun.dtd"> 18 <!DOCTYPE html SYSTEM "chrome://adblockplus/locale/firstRun.dtd">
19 19
20 <html xmlns="http://www.w3.org/1999/xhtml"> 20 <html xmlns="http://www.w3.org/1999/xhtml">
21 <head> 21 <head>
22 <title>&dialog.title;</title> 22 <title>&dialog.title;</title>
23 <script type="application/x-javascript;version=1.7" src="utils.js"/> 23 <script type="application/x-javascript;version=1.7" src="utils.js"/>
24 <script type="application/x-javascript;version=1.7" src="typoSettings.js"/>
24 <script type="application/x-javascript;version=1.7" src="firstRun.js"/> 25 <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 <link type="text/css" href="chrome://adblockplus/skin/firstRun.css" rel="sty lesheet"/>
26 </head> 27 </head>
27 <body onload="init()"> 28 <body>
28 <p>&confirmation;</p> 29 <div id="shade" class="arrow"></div>
30 <div id="content">
31 <header>
32 <h1>Adblock Plus has been installed</h1>
33 </header>
29 34
30 <div class="sectionContainer"> 35 <p>
31 <p class="sectionTitle">&advancedSection;</p> 36 Adblock Plus will always block annoying ads. Still, we want to encourage
37 websites using plain and unobtrusive advertising. That's why we have estab lished
38 <a href="#" onclick="UI.loadDocLink('acceptable_ads_criteria'); return fal se;">strict guidelines</a>
39 to identify acceptable ads, and allow these out of the box. You can always
40 <a href="#" onclick="openFilters(); return false;">disable</a> this if you want to block all ads.
41 </p>
32 42
33 <p>&listSelection1;</p> 43 <h2>Adblock Plus can do more than block ads:</h2>
34 44
35 <p id="listNameContainer" hidden="true"> 45 <div id="features">
36 <div id="listName"/> 46 <div class="feature">
37 <a id="listHomepage" onclick="UI.loadInBrowser(this.getAttribute('href') ); return false;">&visitHomepage.label;</a> 47 <img src="chrome://adblockplus/skin/features/typo.png" alt=""/>
38 </p> 48 <h1>Typo Correction</h1>
39 <p id="listNone">&noList;</p> 49 <p>
40 50 Adblock Plus can automatically correct typos in the address bar
41 <p id="acceptableAds" hidden="true"> 51 to protect you from visiting malicious websites when misspelling an
42 &acceptableAds2; 52 internet address.
43 <a href="#" onclick="UI.loadInBrowser(Prefs.subscriptions_exceptionsurl) ; return false;">&viewList.label;</a> 53 </p>
44 <a href="#" onclick="UI.loadDocLink('acceptable_ads'); return false;">&r eadMore.label;</a> 54 <button onclick="TypoActions.setEnabled(true); this.setAttribute('hidden ', 'true'); return false;">Activate</button>
45 </p> 55 </div>
56 <div class="feature">
57 <img src="chrome://adblockplus/skin/features/malware.png" alt=""/>
58 <h1>Malware Blocking</h1>
59 <p>
60 Adblock Plus can block domains that are known to be infected by malwar e
61 to make browsing the internet more secure.
62 </p>
63 <button>Activate</button>
64 </div>
65 <div class="feature">
66 <img src="chrome://adblockplus/skin/features/social.png" alt=""/>
67 <h1>Remove Social Media Buttons</h1>
68 <p>
69 Social media integration such as the Facebook Like button can be used
70 to track your browsing habits. Adblock Plus can remove all social medi a
71 buttons.
72 </p>
73 <button>Activate</button>
74 </div>
75 <div class="feature">
76 <img src="chrome://adblockplus/skin/features/tracking.png" alt=""/>
77 <h1>Disable Tracking</h1>
78 <p>
79 Enter nice description here.
80 </p>
81 <button>Activate</button>
82 </div>
46 </div> 83 </div>
47 84
48 <p id="changeDescription" _textTemplate="&listSelection2;"> 85 <footer id="social">
49 <a href="#" onclick="openFilters(); return false;"/> 86 <ul>
50 </p> 87 <li>
88 <a href="https://www.facebook.com/adblockplus">
89 <img src="chrome://adblockplus/skin/social/facebook.png" width="82" height="82" alt="Share on Facebook"/>
90 </a>
91 </li>
92 <li>
93 <a href="https://twitter.com/adblockplus">
94 <img src="chrome://adblockplus/skin/social/twitter.png" width="82" h eight="82" alt="Share on Twitter"/>
95 </a>
96 </li>
97 <li>
98 <a href="https://plus.google.com/110020691898167279887">
99 <img src="chrome://adblockplus/skin/social/gplus.png" width="82" hei ght="82" alt="Share on Google+"/>
100 </a>
101 </li>
102 </ul>
103 <!-- This is a hack, header should go before content, but I do not know ho w to make address it with CSS then. -->
104 <h1>Think Adblock Plus is worth sharing?</h1>
105 </footer>
106 </div>
51 </body> 107 </body>
52 </html> 108 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld