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

Side by Side Diff: desktop-options.html

Issue 29578574: Issue 5632 - Use checkboxes for toggling acceptable ads (Closed)
Patch Set: Created Oct. 16, 2017, 5:36 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 | desktop-options.js » ('j') | desktop-options.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 <https://adblockplus.org/>, 3 - This file is part of Adblock Plus <https://adblockplus.org/>,
4 - Copyright (C) 2006-present eyeo GmbH 4 - Copyright (C) 2006-present 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 <span data-tooltip="options_protection_%value%_tooltip"></span> 89 <span data-tooltip="options_protection_%value%_tooltip"></span>
90 </template> 90 </template>
91 </ul> 91 </ul>
92 </section> 92 </section>
93 <section class="cols"> 93 <section class="cols">
94 <header> 94 <header>
95 <h2 class="i18n_options_acceptableAds_header"></h2> 95 <h2 class="i18n_options_acceptableAds_header"></h2>
96 <p class="i18n_options_acceptableAds_description"></p> 96 <p class="i18n_options_acceptableAds_description"></p>
97 </header> 97 </header>
98 <form id="acceptable-ads"> 98 <form id="acceptable-ads">
99 <div> 99 <ul>
100 <input data-action="switch-acceptable-ads" type="radio" name="acce ptable-ads" value="ads"> 100 <li>
101 <label class="i18n_options_acceptableAds_ads_label"></label> 101 <button id="acceptable-ads-allow" data-action="switch-acceptable -ads" type="button" role="checkbox" name="acceptable-ads" value="ads"></button>
102 <p id="enable-aa-description" class="i18n_options_acceptableAds_ad s_description_1"></p> 102 <label for="acceptable-ads-allow" class="i18n_options_acceptable Ads_ads_label"></label>
103 <p class="i18n_options_acceptableAds_ads_description_2"></p> 103 <p id="enable-acceptable-ads-description" class="i18n_options_ac ceptableAds_ads_description_1"></p>
104 </div> 104 <p class="i18n_options_acceptableAds_ads_description_2"></p>
105 <div> 105 </li>
106 <input data-action="switch-acceptable-ads" type="radio" name="acce ptable-ads" value="privacy"> 106 <ul>
107 <label class="i18n_options_acceptableAds_privacy_label"></label> 107 <li>
108 <p class="i18n_options_acceptableAds_privacy_description"></p> 108 <button id="acceptable-ads-privacy-allow" data-action="switch- acceptable-ads" type="button" role="checkbox" name="acceptable-ads" value="priva cy"></button>
109 <p id="dnt" class="i18n_options_acceptableAds_dnt_notification"></ p> 109 <label for="acceptable-ads-privacy-allow" class="i18n_options_ acceptableAds_privacy_label"></label>
110 </div> 110 <span class="i18n_options_new_label new"></span>
111 <div> 111 <p id="enable-acceptable-ads-privacy-description" class="i18n_ options_acceptableAds_privacy_description"></p>
112 <input data-action="switch-acceptable-ads" type="radio" name="acce ptable-ads" value="none"> 112 <p id="dnt" class="i18n_options_acceptableAds_dnt_notification "></p>
113 <label class="i18n_options_acceptableAds_none_label"></label> 113 </li>
114 </div> 114 </ul>
115 </ul>
115 </form> 116 </form>
116 </section> 117 </section>
117 <section class="cols"> 118 <section class="cols">
118 <header> 119 <header>
119 <h2 class="i18n_options_language_header"></h2> 120 <h2 class="i18n_options_language_header"></h2>
120 <p class="i18n_options_language_description"></p> 121 <p class="i18n_options_language_description"></p>
121 </header> 122 </header>
122 <div id="blocking-languages"> 123 <div id="blocking-languages">
123 <ul id="blocking-languages-table" class="table list"> 124 <ul id="blocking-languages-table" class="table list">
124 <template> 125 <template>
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 </div> 398 </div>
398 <!-- Notification --> 399 <!-- Notification -->
399 <div id="notification" aria-hidden="true" aria-live="polite"> 400 <div id="notification" aria-hidden="true" aria-live="polite">
400 <strong id="notification-text"></strong> 401 <strong id="notification-text"></strong>
401 <button id="hide-notification" data-action="hide-notification"> 402 <button id="hide-notification" data-action="hide-notification">
402 <span class="i18n_options_notification_hide sr-only"></span> 403 <span class="i18n_options_notification_hide sr-only"></span>
403 </button> 404 </button>
404 </div> 405 </div>
405 </body> 406 </body>
406 </html> 407 </html>
OLDNEW
« no previous file with comments | « no previous file | desktop-options.js » ('j') | desktop-options.js » ('J')

Powered by Google App Engine
This is Rietveld