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

Side by Side Diff: options.html

Issue 6088024630755328: issue 1526 - Implement new options page design for Chrome/Opera/Safari (Closed)
Patch Set: Created Jan. 27, 2015, 2:52 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 | « locale/en-US/options.json ('k') | options.js » ('j') | options.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <!--
3 - This file is part of Adblock Plus <https://adblockplus.org/>,
4 - Copyright (C) 2006-2015 Eyeo GmbH
5 -
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
8 - published by the Free Software Foundation.
9 -
10 - Adblock Plus is distributed in the hope that it will be useful,
11 - but WITHOUT ANY WARRANTY; without even the implied warranty of
12 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 - GNU General Public License for more details.
14 -
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/>.
17 -->
18
19 <html>
20 <head>
21 <meta charset="utf-8">
22 <title class="i18n_options_page_title"></title>
23 <link rel="stylesheet" href="skin/options.css">
24 <script src="ext/common.js"></script>
25 <script src="ext/content.js"></script>
26 <script src="i18n.js"></script>
27 <script src="options.js"></script>
28 </head>
29 <body>
30 <!-- Navigation sidebar -->
31 <div id="nav-sidebar">
32 <div id="fixed-sidebar" class="fixed">
33 <div id="page-title">
34 <p class="i18n_options_page_name"></p>
35 <h1 class="i18n_options_abp"></h1>
36 </div>
37 <ul class="tabs vertical" id="main-navigation-tabs">
38 <li id="tab-general" data-show="content-general" class="active">
39 <span class="i18n_options_tab_general"></span>
40 <span class="icon"></span>
41 </li>
42 <li id="tab-advanced" data-show="content-advanced">
43 <span class="i18n_options_tab_advanced"></span>
44 <span class="icon"></span>
45 </li>
46 <li id="tab-help" data-show="content-help">
47 <span class="i18n_options_tab_help"></span>
48 <span class="icon"></span>
49 </li>
50 </ul>
51 <p class="nav-link">
52 <span class="i18n_options_version"></span> <span id="abp-version"></sp an>
53 </p>
54 <ul class="tabs vertical bottom">
55 <li id="tab-share">
56 <span class="i18n_options_tab_share"></span><span class="icon"></spa n>
57 </li>
58 <li id="tab-donate">
59 <span class="i18n_options_tab_donate"></span><span class="icon"></sp an>
60 </li>
61 </ul>
62 </div>
63 </div>
64 <div id="tab-content">
65 <div id="content-wrapper">
66 <div id="modal-background"></div>
67
68 <!-- General tab content -->
69 <div id="content-general">
70 <div>
71 <h1 class="i18n_options_blocking"></h1>
72 <div class="flex-container">
73 <div id="blocking-languages">
74 <p class="option-name">
75 <span class="i18n_options_language_title"></span>
76 <a class="i18n_options_readMore tooltip" href="#" target="_bla nk"></a>
77 </p>
78 <ul class="table list" id="blocking-languages-table"></ul>
79 <div class="controls">
80 <button id="add-website-language" data-show="blocking-language s-modal">
81 <span class="icon icon-add"></span>
82 <span class="i18n_options_language_add"></span>
83 </button>
84 </div>
85 </div>
86 <div id="further-blocking">
87 <p class="option-name">
88 <strong class="i18n_options_furtherBlocking_title"></strong>
89 <a class="i18n_options_readMore tooltip" href="#" target="_bla nk"></a>
90 </p>
91 <ul class="table list" id="further-list-table"></ul>
92 <div class="controls">
93 <button id="add-blocking-list" data-show="further-blocking-mod al">
94 <span class="icon icon-add"></span>
95 <span class="i18n_options_furtherBlocking_add"><span>
96 </button>
97 </div>
98 </div>
99 </div>
100 </div>
101 <div>
102 <h1 class="i18n_options_exceptions"></h1>
103 <div class="flex-container">
104 <div id="acceptable-ads">
105 <p class="option-name">
106 <strong class="i18n_options_acceptableAds_title"></strong>
107 <a class="i18n_options_readMore tooltip" href="#" target="_bla nk"></a>
108 </p>
109 <ul class="table list">
110 <li>
111 <input type="checkbox"/>
112 <span id="allow-whitelist-cb"></span>
113 <span>Allow some non-intrusive advertising</span>
114 </li>
115 </ul>
116 </div>
117 <div id="whitelisting">
118 <p class="option-name">
119 <strong class="i18n_options_whitelisted_title"></strong>
120 <a class="i18n_options_readMore tooltip" href="#" target="_bla nk"></a>
121 </p>
122 <ul class="table list" id="whitelisting-table"></ul>
123 <div class="controls">
124 <div>
125 <span class="icon icon-add" id="whitelisting-add-icon"></spa n>
126 <input type="text" id="whitelisting-textbox" />
127 <span class="icon icon-enter" id="whitelisting-enter-icon">< /span>
128 </div>
129 <div>
130 <button class="button-add" id="whitelisting-add-btn">
131 +<span class="i18n_options_btn_add"></span>
132 </button>
133 <span></span>
134 <button class="i18n_options_btn_cancel cancelbtn" id="whitel isting-cancel-btn"></button>
135 </div>
136 </div>
137 </div>
138 </div>
139 </div>
140 </div>
141
142 <!-- Advanced tab content -->
143 <div id="content-advanced">
144 <div>
145 <h1><span class="i18n_options_tweaks"></span><a class="i18n_options_ readMore tooltip" href="#"></a></h1>
146 <ul class="table" style="width: auto;">
147 <li>
148 <input type="checkbox" id="easylist"/><span></span><span id="blo ck-element-explanation" class="i18n_options_tweaks_blockElement"></span></li>
149 </ul>
150 </div>
151 <div>
152 <h1><span class="i18n_options_blockingList"></span><a class="i18n_op tions_readMore tooltip" href="#" target="_blank"></a></h1>
153 <ul class="tabs horizontal" id="blocking-list-tabs">
154 <li class="i18n_options_tab_overview active" data-show="blocking-l ist-overview"></li><li class="i18n_options_tab_ownList" data-show="blocking-list -own"></li>
155 </ul>
156 <div id="blocking-list">
157 <div id="blocking-list-overview">
158 <ul class="table cols" style="width: auto;">
159 <li class="col-name"><span class="i18n_options_tableCol_name"> </span><span class="i18n_options_tableCol_description"></span><span class="i18n_ options_tableCol_date"></span></li>
160 <li><input type="checkbox" id="easylist"/><span for="easylist" ></span><span>Easylist</span><span>Adblocking english sites</span><span>15 March 14 - 10:31</span></li>
161 <li><input type="checkbox" id="easylist+de"/><span for="easyli st+de"></span><span>Easylist Germany + Easylist</span><span>Adblocking english + german sites</span><span>15 March 14 - 10:31</span></li>
162 <li><input type="checkbox" id="annoyance-fb"/><span for="annoy ance-fb"></span><span>Facebook annoyance blocker</span><span>Blocks Facebook ann oyances</span><span>15 March 14 - 10:31</span></li>
163 <li><input type="checkbox" id="annoyance-youtube"/><span for=" annoyance-youtube"></span><span>Facebook annoyance blocker</span><span>Blocks Fa cebook annoyances</span><span>15 March 14 - 10:31</span></li>
164 <li><input type="checkbox" id="own-list"/><span for="own-list" ></span><span>Own blocking list</span><span>Your own blocking list</span><span>< a href="#">edit your blocking list</a></span></li>
165 </ul>
166 <div class="controls">
167 <button>
168 <span class="icon icon-add"></span><span class="i18n_options _blockingList_add"></span>
169 </button>
170 <button>
171 <span class="icon icon-update"></span><span class="i18n_opti ons_blockingList_update"></span>
172 </button>
173 </div>
174 </div>
175 <div id="blocking-list-own">
176 <p class="i18n_options_blockingRules"></p>
177 <ul class="table list">
178 <li><span>zap2it.com##.zc-station-position</span></li>
179 <li><span>downturk.net##.zippo</span></li>
180 <li><span>yahoo.com##.y708-promo-middle</span></li>
181 <li><span>reflector.com##.yahooboss</span></li>
182 <li><span>yardbarker.com##.yard_leader</span></li>
183 <li><span>espn.co.uk##.will_hill</span></li>
184 <li><span>listverse.com##.wiki</span></li>
185 <li><span>planet5d.com##.wp-image-1573</span></li>
186 <li><span>buzzinn.net##.wpn_finner</span></li>
187 <li><span>talkers.com##.wpss_slideshow</span></li>
188 </ul>
189 <div class="controls" style="margin: 0px;">
190 <input type="text" placeholder="add your blocking rule here"/>
191 <div class="input-control">
192 <span class="input-separator"></span>
193 <span class="i18n_options_btn_add input-btn-text"></span>
194 <span class="icon icon-enter-blue"></span>
195 </div>
196 </div>
197 <div class="controls">
198 <button>
199 <span class="icon icon-edit"></span>
200 <span class="i18n_options_blockingRules_edit"></span>
201 </button>
202 </div>
203 </div>
204 </div>
205 </div>
206 </div>
207
208 <!-- Help tab content -->
209 <div id="content-help">
210 <h1 class="i18n_options_faq"></h1>
211 <p class="i18n_options_faq_description"></p>
212 <p>
213 <a class="i18n_options_faq_link" href="#" target="_blank"></a>
214 </p>
215 <h1 class="i18n_options_forum"></h1>
216 <p class="i18n_options_forum_description"></p>
217 <p>
218 <a class="i18n_options_forum_link" href="#" target="_blank"></a>
219 </p>
220 <h1 class="i18n_options_media"></h1>
221 <p class="i18n_options_media_description"></p>
222 <p>
223 <a href="#" target="_blank">Twitter</a>
224 <a href="#" target="_blank">Facebook</a>
225 <a href="#" target="_blank">Google+</a>
226 </p>
227 </div>
228 </div>
229 </div>
230
231 <!-- Modal -->
232 <div id="modal">
233 <header>
234 <span id="modal-title"></span>
235 <button id="modal-close" class="i18n_options_close"></button>
236 </header>
237 <div class="content" id="modal-content">
238 <!-- Add other website language: Modal -->
239 <div id="blocking-languages-modal" data-title="options_modal_language_ti tle">
240 <div>
241 <h3 class="i18n_options_modal_language_added"></h3>
242 <ul class="table list" id="blocking-languages-modal-table"></ul>
243 </div>
244 <div id="other-language">
245 <h3 class="i18n_options_modal_language_other"></h3>
246 <div>
247 <input type="text" id="find-language" />
Thomas Greiner 2015/01/30 13:55:51 This could be `type="search"`. See https://develop
saroyanm 2015/02/26 12:18:32 Done.
248 </div>
249 <ul class="table list" id="all-lang-table"></ul>
250 </div>
251 </div>
252 <!-- Add other blocking list: Modal -->
253 <div id="further-blocking-modal" data-title="options_modal_blocklist_tit le">
254 <div>
255 <h3 class="i18n_options_modal_blocklist_subscription_title"></h3>
256 <div>
257 <input id="blockingList-textbox" type="text" placeholder="www.exam ple.com/blockinglist.txt" />
258 </div>
259 <div class="btn-wrapper" id="import-blockingList-btn">
260 <span class="icon icon-arrow"></span>
261 <span class="i18n_options_modal_blocklist_import"></span>
262 </div>
263 </div>
264 <div>
265 <h3 class="i18n_options_modal_edit_own_list"></h3>
266 <div class="btn-wrapper" id="edit-ownBlockingList-btn">
267 <span class="icon icon-arrow"></span>
268 <span class="i18n_options_modal_create_own_list"></span>
269 </div>
270 </div>
271 </div>
272 </div>
273 </div>
274 </body>
275 </html>
OLDNEW
« no previous file with comments | « locale/en-US/options.json ('k') | options.js » ('j') | options.js » ('J')

Powered by Google App Engine
This is Rietveld