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

Side by Side Diff: options.html

Issue 29321198: Issue 2376 - Implement custom filters in new options page (Closed)
Patch Set: Created June 29, 2015, 11:21 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 <!DOCTYPE html>
2 <!-- 2 <!--
3 - This file is part of Adblock Plus <https://adblockplus.org/>, 3 - This file is part of Adblock Plus <https://adblockplus.org/>,
4 - Copyright (C) 2006-2015 Eyeo GmbH 4 - Copyright (C) 2006-2015 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,
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 </div> 159 </div>
160 </div> 160 </div>
161 </div> 161 </div>
162 </div> 162 </div>
163 </div> 163 </div>
164 </div> 164 </div>
165 165
166 <!-- Advanced tab content --> 166 <!-- Advanced tab content -->
167 <div id="content-advanced"> 167 <div id="content-advanced">
168 <div> 168 <div>
169 <h1><span class="i18n_options_tweaks_title"></span><a class="i18n_op tions_readMore tooltip" href="#"></a></h1> 169 <h1><span class="i18n_options_tweaks_title"></span><a class="i18n_op tions_readMore tooltip" href="#"></a></h1>
Thomas Greiner 2015/06/30 09:23:27 While I did intentionally ignore the Advanced tab
saroyanm 2015/07/08 18:25:40 I didn't touch this part of advanced tab intention
Thomas Greiner 2015/07/09 11:07:54 Fair enough. As long as it's being tackled it shou
170 <ul class="table" style="width: auto;"> 170 <ul class="table" style="width: auto;">
171 <li> 171 <li>
172 <input type="checkbox" id="easylist"/><span id="block-element-ex planation" class="i18n_options_tweaks_blockElement"></span></li> 172 <input type="checkbox" id="easylist"/><span id="block-element-ex planation" class="i18n_options_tweaks_blockElement"></span></li>
173 </ul> 173 </ul>
174 </div> 174 </div>
175 <div> 175 <div>
176 <h1><span class="i18n_options_blockingList_title"></span><a class="i 18n_options_readMore tooltip" href="#" target="_blank"></a></h1> 176 <h1><span class="i18n_options_blockingList_title"></span><a class="i 18n_options_readMore tooltip" href="#" target="_blank"></a></h1>
177 <ul id="blocking-list-tabs" class="tabs horizontal"> 177 <ul id="blocking-list-tabs" class="tabs horizontal">
178 <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> 178 <li class="i18n_options_tab_overview active" data-show="blocking-l ist-overview"></li><li class="i18n_options_tab_ownList" data-show="custom-filter s"></li>
179 </ul> 179 </ul>
180 <div id="blocking-list"> 180 <div id="blocking-list">
181 <div id="blocking-list-overview"> 181 <div id="blocking-list-overview">
182 <ul class="table cols" style="width: auto;"> 182 <ul class="table cols" style="width: auto;">
183 <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> 183 <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>
184 <li><input type="checkbox" id="easylist"/><span>Easylist</span ><span>Adblocking english sites</span><span>15 March 14 - 10:31</span></li> 184 <li><input type="checkbox" id="easylist"/><span>Easylist</span ><span>Adblocking english sites</span><span>15 March 14 - 10:31</span></li>
185 <li><input type="checkbox" id="easylist+de"/><span>Easylist Ge rmany + Easylist</span><span>Adblocking english + german sites</span><span>15 Ma rch 14 - 10:31</span></li> 185 <li><input type="checkbox" id="easylist+de"/><span>Easylist Ge rmany + Easylist</span><span>Adblocking english + german sites</span><span>15 Ma rch 14 - 10:31</span></li>
186 <li><input type="checkbox" id="annoyance-fb"/><span>Facebook a nnoyance blocker</span><span>Blocks Facebook annoyances</span><span>15 March 14 - 10:31</span></li> 186 <li><input type="checkbox" id="annoyance-fb"/><span>Facebook a nnoyance blocker</span><span>Blocks Facebook annoyances</span><span>15 March 14 - 10:31</span></li>
187 <li><input type="checkbox" id="annoyance-youtube"/><span>Faceb ook annoyance blocker</span><span>Blocks Facebook annoyances</span><span>15 Marc h 14 - 10:31</span></li> 187 <li><input type="checkbox" id="annoyance-youtube"/><span>Faceb ook annoyance blocker</span><span>Blocks Facebook annoyances</span><span>15 Marc h 14 - 10:31</span></li>
188 <li><input type="checkbox" id="own-list"/><span>Own blocking l ist</span><span>Your own blocking list</span><span><a href="#">edit your blockin g list</a></span></li> 188 <li><input type="checkbox" id="own-list"/><span>Own blocking l ist</span><span>Your own blocking list</span><span><a href="#">edit your blockin g list</a></span></li>
189 </ul> 189 </ul>
190 <div class="controls"> 190 <div class="controls">
191 <button> 191 <button>
192 <span class="icon icon-add"></span><span class="i18n_options _blockingList_add"></span> 192 <span class="icon icon-add"></span><span class="i18n_options _blockingList_add"></span>
193 </button> 193 </button>
194 <button> 194 <button>
195 <span class="icon icon-update"></span><span class="i18n_opti ons_blockingList_update"></span> 195 <span class="icon icon-update"></span><span class="i18n_opti ons_blockingList_update"></span>
196 </button> 196 </button>
197 </div> 197 </div>
198 </div> 198 </div>
199 <div id="blocking-list-own"> 199 <div id="custom-filters" data-view="list">
200 <p class="i18n_options_blockingRules"></p> 200 <h4 id="custom-filters-header" class="i18n_options_customFilters _title"></h4>
Thomas Greiner 2015/06/30 09:23:27 Where did <h2> and <h3> go?
saroyanm 2015/07/08 18:25:40 You are right we don't have h4 in mock up, h2 shou
201 <ul class="table list"> 201 <div id="custom-filters-list-wrapper">
202 <li><span>zap2it.com##.zc-station-position</span></li> 202 <ul id="custom-filters-table" class="table list">
203 <li><span>downturk.net##.zippo</span></li> 203 <template>
204 <li><span>yahoo.com##.y708-promo-middle</span></li> 204 <span class="display"></span>
205 <li><span>reflector.com##.yahooboss</span></li> 205 </template>
206 <li><span>yardbarker.com##.yard_leader</span></li> 206 </ul>
207 <li><span>espn.co.uk##.will_hill</span></li> 207 <div id="custom-filter-add-wrapper" class="controls">
Thomas Greiner 2015/06/30 09:23:27 Tip: You could avoid that "Enter" key check by usi
Thomas Greiner 2015/06/30 09:23:27 I noticed that almost every single element has an
saroyanm 2015/07/08 18:25:40 Good point, make sense to also handle in consisten
saroyanm 2015/07/08 18:25:40 Referencing here -> https://codereview.adblockplus
208 <li><span>listverse.com##.wiki</span></li> 208 <input id="custom-filters-add-textbox" type="text"/>
209 <li><span>planet5d.com##.wp-image-1573</span></li> 209 <button id="custom-filters-add-btn" class="i18n_options_butt on_add"></button>
210 <li><span>buzzinn.net##.wpn_finner</span></li>
211 <li><span>talkers.com##.wpss_slideshow</span></li>
212 </ul>
213 <div class="controls" style="margin: 0px;">
214 <input type="text" placeholder="add your blocking rule here"/>
215 <div class="input-control">
216 <span class="input-separator"></span>
217 <span class="i18n_options_button_add input-button-text"></sp an>
218 <span class="icon icon-enter-blue"></span>
219 </div> 210 </div>
220 </div> 211 </div>
221 <div class="controls"> 212 <textarea id="custom-filters-textarea"></textarea>
Thomas Greiner 2015/06/30 09:23:27 As mentioned in the previous review, IDs or class
saroyanm 2015/07/08 18:25:40 Done.
222 <button> 213 <div id="custom-filters-edit-wrapper" class="controls">
214 <button id="custom-filters-edit-btn" data-show="edit">
223 <span class="icon icon-edit"></span> 215 <span class="icon icon-edit"></span>
224 <span class="i18n_options_blockingRules_edit"></span> 216 <span class="i18n_options_customFilter_edit_btn"></span>
225 </button> 217 </button>
218 <div id="custom-filters-textarea-controls">
219 <button id="custom-filters-list-btn" data-show="list">
220 <span class="icon icon-edit"></span>
221 <span class="i18n_options_customFilter_list_btn"></span>
222 </button>
223 <button id="custom-filters-save-btn" data-show="list">
224 <span class="icon icon-edit"></span>
225 <span class="i18n_options_customFilter_save_btn"></span>
226 </button>
227 </div>
226 </div> 228 </div>
227 </div> 229 </div>
228 </div> 230 </div>
229 </div> 231 </div>
230 </div> 232 </div>
231 233
232 <!-- Help tab content --> 234 <!-- Help tab content -->
233 <div id="content-help"> 235 <div id="content-help">
234 <h1 class="i18n_options_faq_title"></h1> 236 <h1 class="i18n_options_faq_title"></h1>
235 <p class="i18n_options_faq_description"></p> 237 <p class="i18n_options_faq_description"></p>
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 <div id="edit-ownBlockingList-button" class="button-wrapper"> 306 <div id="edit-ownBlockingList-button" class="button-wrapper">
305 <span class="icon icon-arrow"></span> 307 <span class="icon icon-arrow"></span>
306 <span class="i18n_options_dialog_create_own_list"></span> 308 <span class="i18n_options_dialog_create_own_list"></span>
307 </div> 309 </div>
308 </div> 310 </div>
309 </div> 311 </div>
310 </div> 312 </div>
311 </div> 313 </div>
312 </body> 314 </body>
313 </html> 315 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld