| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 7 <link rel="import" href="../i18n_setup.html"> | 7 <link rel="import" href="../i18n_setup.html"> |
| 8 <link rel="import" href="../icons.html"> | 8 <link rel="import" href="../icons.html"> |
| 9 <link rel="import" href="../route.html"> | 9 <link rel="import" href="../route.html"> |
| 10 <link rel="import" href="../settings_shared_css.html"> | 10 <link rel="import" href="../settings_shared_css.html"> |
| 11 <link rel="import" href="add_site_dialog.html"> | 11 <link rel="import" href="add_site_dialog.html"> |
| 12 <link rel="import" href="constants.html"> | 12 <link rel="import" href="constants.html"> |
| 13 <link rel="import" href="site_settings_behavior.html"> | 13 <link rel="import" href="site_settings_behavior.html"> |
| 14 <link rel="import" href="site_settings_prefs_browser_proxy.html"> | 14 <link rel="import" href="site_settings_prefs_browser_proxy.html"> |
| 15 | 15 |
| 16 <dom-module id="site-list"> | 16 <dom-module id="site-list"> |
| 17 <template> | 17 <template> |
| 18 <style include="settings-shared"> | 18 <style include="settings-shared"> |
| 19 paper-button { | |
| 20 margin-top: 12px; /* Align with <h2>. */ | |
| 21 } | |
| 22 | |
| 23 paper-icon-button { | 19 paper-icon-button { |
| 24 left: 8px; | 20 left: 8px; |
| 25 right: 8px; | 21 right: 8px; |
| 26 } | 22 } |
| 27 | 23 |
| 28 .selectable { | 24 .selectable { |
| 29 -webkit-user-select: text; | 25 -webkit-user-select: text; |
| 30 } | 26 } |
| 31 </style> | 27 </style> |
| 32 <div id="category"> | 28 <div id="category"> |
| 33 <div class="settings-box first" hidden$="[[allSites]]"> | 29 <div class="settings-box first" hidden$="[[allSites]]"> |
| 34 <h2 class="start">[[categoryHeader]]</h2> | 30 <h2 class="start">[[categoryHeader]]</h2> |
| 35 <paper-button class="secondary-button" id="icon" on-tap="onAddSiteTap_"> | 31 <paper-button class="secondary-button header-aligned-button" id="icon" |
| 32 on-tap="onAddSiteTap_"> |
| 36 $i18n{add} | 33 $i18n{add} |
| 37 </paper-button> | 34 </paper-button> |
| 38 </div> | 35 </div> |
| 39 | 36 |
| 40 <dialog is="cr-action-menu"> | 37 <dialog is="cr-action-menu"> |
| 41 <button class="dropdown-item" role="option" id="allow" | 38 <button class="dropdown-item" role="option" id="allow" |
| 42 on-tap="onAllowTap_" hidden$="[[!showAllowAction_]]"> | 39 on-tap="onAllowTap_" hidden$="[[!showAllowAction_]]"> |
| 43 $i18n{siteSettingsActionAllow} | 40 $i18n{siteSettingsActionAllow} |
| 44 </button> | 41 </button> |
| 45 <button class="dropdown-item" role="option" id="block" | 42 <button class="dropdown-item" role="option" id="block" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 </button> | 88 </button> |
| 92 </div> | 89 </div> |
| 93 </template> | 90 </template> |
| 94 </div> | 91 </div> |
| 95 </template> | 92 </template> |
| 96 </div> | 93 </div> |
| 97 </div> | 94 </div> |
| 98 </template> | 95 </template> |
| 99 <script src="site_list.js"></script> | 96 <script src="site_list.js"></script> |
| 100 </dom-module> | 97 </dom-module> |
| OLD | NEW |