Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: chrome/browser/resources/settings/controls/important_site_checkbox.html

Issue 2716333002: Implement important sites dialog for desktop. (Closed)
Patch Set: remove favicon Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in dicator.html">
2 <link rel="import" href="chrome://resources/html/polymer.html">
dschuyler 2017/04/27 23:10:25 I've learned that polymer.html should be imported
dullweber 2017/04/28 12:34:03 fixed, thanks!
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html">
4 <link rel="import" href="settings_boolean_control_behavior.html">
5 <link rel="import" href="../settings_shared_css.html">
6
7 <dom-module id="important-site-checkbox">
8 <template>
9 <style include="settings-shared">
10 #outerRow {
11 align-items: center;
12 display: flex;
13 min-height: var(--settings-row-two-line-min-height);
14 width: 100%;
15 }
16
17 paper-checkbox {
18 width: 100%;
19 }
20
21 paper-checkbox:not([checked]) .secondary {
22 @apply(--settings-secondary-unchecked);
23 }
24
25 .important-site-label {
26 display: inline-block;
27 }
28 </style>
29 <div id="outerRow">
30 <paper-checkbox id="checkbox" checked="{{site.isChecked}}"
31 disabled="[[disabled]]">
32 <div class="important-site-label">
33 <div>[[site.registerableDomain]]</div>
34 <div class="secondary">
35 <span class="storage-size">[[site.storageSize]]</span>
36 <template is="dom-if" if="[[site.hasNotifications]]">
37 <span>&nbsp;&middot;&nbsp;</span>
dschuyler 2017/04/27 23:10:25 nit: If the &nbsp; can be avoided, please remove t
dullweber 2017/04/28 12:34:03 I replaced the spaces with padding.
38 <span class="has-notifications">$i18n{notificationWarning}</span>
39 </template>
40 </div>
41 </div>
42 </paper-checkbox>
43 </div>
44 </template>
45 <script src="important_site_checkbox.js"></script>
46 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698