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

Side by Side Diff: new-options.html

Issue 29502647: Issue 5482 - Sidebar and about ABP dialog (Closed)
Patch Set: Rebased Created Aug. 23, 2017, 1:29 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 <!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 12 matching lines...) Expand all
23 <link rel="stylesheet" href="skin/common.css"> 23 <link rel="stylesheet" href="skin/common.css">
24 <link rel="stylesheet" href="skin/new-options.css"> 24 <link rel="stylesheet" href="skin/new-options.css">
25 <script src="ext/common.js"></script> 25 <script src="ext/common.js"></script>
26 <script src="ext/content.js"></script> 26 <script src="ext/content.js"></script>
27 <script src="common.js"></script> 27 <script src="common.js"></script>
28 <script src="i18n.js"></script> 28 <script src="i18n.js"></script>
29 <script src="new-options.js"></script> 29 <script src="new-options.js"></script>
30 </head> 30 </head>
31 <body data-tab="general"> 31 <body data-tab="general">
32 <!-- Navigation sidebar --> 32 <!-- Navigation sidebar -->
33 <div id="nav-sidebar"> 33 <div id="sidebar">
34 <div id="fixed-sidebar" class="fixed"> 34 <div class="fixed">
35 <header id="page-title"> 35 <header>
36 <p class="i18n_options_page_header_1"></p> 36 <img id="sidebar-logo" src="skin/abp-logo.svg">
37 <h1 class="i18n_options_page_header_2"></h1> 37 <h1>
38 Adblock <strong>Plus</strong>
39 </h1>
40 <p class="i18n_options_page_title"></p>
38 </header> 41 </header>
39 42
40 <nav> 43 <nav>
41 <ul id="nav-tablist" class="tabs vertical" 44 <ul class="tabs"
42 role="tablist" data-action="switch-tab" 45 role="tablist" data-action="switch-tab"
43 data-keys="ArrowLeft ArrowUp ArrowRight ArrowDown"> 46 data-keys="ArrowLeft ArrowUp ArrowRight ArrowDown">
44 <li id="tab-general" role="tab" data-tab="general" 47 <li>
45 aria-selected="true" aria-controls="content-general" 48 <a href="#general" class="i18n_options_tab_general" role="tab" ari a-selected="true" aria-controls="content-general"></a>
46 tabindex="0">
47 <span class="i18n_options_tab_general"></span>
48 </li> 49 </li>
49 <li id="tab-whitelist" role="tab" data-tab="whitelist" 50 <li>
50 aria-controls="content-whitelist" 51 <a href="#whitelist" class="i18n_options_tab_whitelist" role="tab" aria-controls="content-whitelist"></a>
51 tabindex="-1">
52 <span class="i18n_options_tab_whitelist"></span>
53 </li> 52 </li>
54 <li id="tab-advanced" role="tab" data-tab="advanced" 53 <li>
55 aria-controls="content-advanced" tabindex="-1"> 54 <a href="#advanced" class="i18n_options_tab_advanced" role="tab" a ria-controls="content-advanced"></a>
56 <span class="i18n_options_tab_advanced"></span>
57 </li> 55 </li>
58 <li id="tab-help" role="tab" data-tab="help" 56 <li>
59 aria-controls="content-help" tabindex="-1"> 57 <a href="#help" class="i18n_options_tab_help" role="tab" aria-cont rols="content-help"></a>
60 <span class="i18n_options_tab_help"></span>
61 </li> 58 </li>
62 </ul> 59 </ul>
63 </nav> 60 </nav>
64
65 <a id="link-version">
66 <span class="i18n_options_version"></span>
67 <span id="abp-version"></span>
68 </a>
69
70 <footer> 61 <footer>
71 <ul class="tabs vertical bottom" data-action="open-doclink" 62 <p>
72 data-keys="Enter"> 63 <a id="contribute"
73 <li id="tab-share" data-doclink="share-general" tabindex="0"> 64 class="i18n_options_footer_contribute button secondary"
74 <span class="i18n_options_tab_share"></span> 65 target="_blank"></a>
75 </li> 66 </p>
76 <li id="tab-contribute" data-doclink="contribute" tabindex="0"> 67 <p>
77 <span class="i18n_options_tab_contribute"></span> 68 <button class="i18n_options_footer_about link"
78 </li> 69 data-action="open-dialog" data-dialog="about"></button>
79 </ul> 70 </p>
80 </footer> 71 </footer>
81 </div> 72 </div>
82 </div> 73 </div>
83 <div id="content"> 74 <main>
84 <div id="content-wrapper"> 75 <div id="dialog-background"></div>
85 <div id="dialog-background"></div>
86 76
87 <!-- General tab content --> 77 <!-- General tab content -->
88 <div id="content-general" role="tabpanel" aria-labelledby="tab-general"> 78 <div id="content-general" role="tabpanel" aria-labelledby="tab-general">
89 <h1 class="i18n_options_tab_general"></h1> 79 <h1 class="i18n_options_tab_general"></h1>
90 <p class="i18n_options_general_description"></p> 80 <p class="i18n_options_general_description"></p>
91 <section> 81 <section>
92 <h2 class="i18n_options_privacy_header"></h2> 82 <h2 class="i18n_options_privacy_header"></h2>
93 <ul id="recommend-protection-list-table" class="table list"> 83 <ul id="recommend-protection-list-table" class="table list">
94 <template> 84 <template>
95 <button data-action="toggle-remove-subscription" role="checkbox" class="control"></button> 85 <button data-action="toggle-remove-subscription" role="checkbox" class="control"></button>
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 <span id="share-general"> 302 <span id="share-general">
313 <a id="link-twitter" target="_blank">Twitter</a> 303 <a id="link-twitter" target="_blank">Twitter</a>
314 <a id="link-facebook" target="_blank">Facebook</a> 304 <a id="link-facebook" target="_blank">Facebook</a>
315 <a id="link-gplus" target="_blank">Google+</a> 305 <a id="link-gplus" target="_blank">Google+</a>
316 </span> 306 </span>
317 <span id="share-chinese"> 307 <span id="share-chinese">
318 <a id="link-renren" target="_blank">renren</a> 308 <a id="link-renren" target="_blank">renren</a>
319 <a id="link-weibo" target="_blank">weibo</a> 309 <a id="link-weibo" target="_blank">weibo</a>
320 </span> 310 </span>
321 </p> 311 </p>
322 </div>
323 </div> 312 </div>
324 </div> 313 </main>
325 314
326 <!-- Dialog --> 315 <!-- Dialog -->
327 <div id="dialog" role="dialog" aria-hidden="true"> 316 <div id="dialog" role="dialog" aria-hidden="true">
328 <header> 317 <header>
329 <span id="dialog-title"> 318 <span id="dialog-title">
319 <span id="dialog-title-about" class="i18n_options_dialog_about_title"> </span>
330 <span id="dialog-title-custom" class="i18n_options_dialog_custom_title "></span> 320 <span id="dialog-title-custom" class="i18n_options_dialog_custom_title "></span>
331 <span id="dialog-title-language-add" class="i18n_options_dialog_langua ge_title"></span> 321 <span id="dialog-title-language-add" class="i18n_options_dialog_langua ge_title"></span>
332 <span id="dialog-title-language-change" class="i18n_options_dialog_lan guage_title"></span> 322 <span id="dialog-title-language-change" class="i18n_options_dialog_lan guage_title"></span>
333 <span id="dialog-title-predefined" class="i18n_options_dialog_predefin ed_title"></span> 323 <span id="dialog-title-predefined" class="i18n_options_dialog_predefin ed_title"></span>
334 </span> 324 </span>
335 <button id="dialog-close" class="i18n_options_close focus-first" data-ac tion="close-dialog"></button> 325 <button id="dialog-close" class="i18n_options_close focus-first" data-ac tion="close-dialog"></button>
336 </header> 326 </header>
337 <div id="dialog-body" class="content"> 327 <div id="dialog-body" class="content">
328 <!-- About Adblock Plus -->
329 <div id="dialog-content-about" class="dialog-content">
330 <p id="abp-version"></p>
331 <p class="i18n_options_dialog_about_copyright"></p>
332 <p>
333 <button class="i18n_options_close primary" data-action="close-dialog "></button>
334 </p>
335 </div>
338 <!-- Add language subscription --> 336 <!-- Add language subscription -->
339 <div id="dialog-content-language-add" class="dialog-content"> 337 <div id="dialog-content-language-add" class="dialog-content">
340 <ul id="all-lang-table-add" class="table list"> 338 <ul id="all-lang-table-add" class="table list">
341 <template> 339 <template>
342 <button data-action="add-language-subscription,close-dialog" class ="control add" role="checkbox"> 340 <button data-action="add-language-subscription,close-dialog" class ="control add" role="checkbox">
343 <label class="display"></label> 341 <label class="display"></label>
344 </button> 342 </button>
345 <button data-action="change-language-subscription,close-dialog" cl ass="control change" role="checkbox"> 343 <button data-action="change-language-subscription,close-dialog" cl ass="control change" role="checkbox">
346 <label class="display"></label> 344 <label class="display"></label>
347 </button> 345 </button>
(...skipping 21 matching lines...) Expand all
369 <div class="url"></div> 367 <div class="url"></div>
370 <button class="i18n_options_dialog_predefined_confirm default-focus" data-action="add-predefined-subscription"></button> 368 <button class="i18n_options_dialog_predefined_confirm default-focus" data-action="add-predefined-subscription"></button>
371 </div> 369 </div>
372 </div> 370 </div>
373 </div> 371 </div>
374 <!-- Placeholder element to determine when to wrap focus around --> 372 <!-- Placeholder element to determine when to wrap focus around -->
375 <span class="focus-last" tabindex="0"></span> 373 <span class="focus-last" tabindex="0"></span>
376 </div> 374 </div>
377 </body> 375 </body>
378 </html> 376 </html>
OLDNEW
« no previous file with comments | « locale/en-US/new-options.json ('k') | new-options.js » ('j') | skin/new-options.css » ('J')

Powered by Google App Engine
This is Rietveld