Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/html/action_link.html"> | 1 <link rel="import" href="chrome://resources/html/action_link.html"> |
| 2 <link rel="import" href="chrome://resources/html/action_link_css.html"> | 2 <link rel="import" href="chrome://resources/html/action_link_css.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/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> |
| 6 <link rel="import" href="../controls/settings_toggle_button.html"> | 6 <link rel="import" href="../controls/settings_toggle_button.html"> |
| 7 <link rel="import" href="../settings_shared_css.html"> | 7 <link rel="import" href="../settings_shared_css.html"> |
| 8 <link rel="import" href="user_list.html"> | 8 <link rel="import" href="user_list.html"> |
| 9 <link rel="import" href="users_add_user_dialog.html"> | 9 <link rel="import" href="users_add_user_dialog.html"> |
| 10 | 10 |
| 11 <dom-module id="settings-users-page"> | 11 <dom-module id="settings-users-page"> |
| 12 <template> | 12 <template> |
| 13 <style include="settings-shared action-link"> | 13 <style include="settings-shared action-link"> |
| 14 .users { | 14 .users { |
| 15 /* The users box must line up with the checkbox text. */ | 15 /* The users box must line up with the checkbox text. */ |
| 16 -webkit-margin-start: var(--settings-indent-width); | 16 -webkit-margin-start: var(--settings-indent-width); |
| 17 } | 17 } |
| 18 | 18 |
| 19 .settings-box:first-of-type { | 19 .settings-box:first-of-type { |
| 20 border-top: none; | 20 border-top: none; |
| 21 } | 21 } |
| 22 | 22 |
| 23 #add-user-button { | 23 #add-user-button { |
| 24 /* Add user button must be lined up with the start of users' names. */ | 24 /* Add user button must be lined up with the start of users' names. */ |
| 25 /* TODO(dschuyler): Should this be var(--settings-box-row-indent) rather | |
| 26 than 56px? */ | |
|
dschuyler
2017/04/11 01:11:18
I think this is likely, but it needs further inves
| |
| 25 -webkit-margin-start: 56px; | 27 -webkit-margin-start: 56px; |
| 26 } | 28 } |
| 27 </style> | 29 </style> |
| 28 <template is="dom-if" if="[[isWhitelistManaged_]]"> | 30 <template is="dom-if" if="[[isWhitelistManaged_]]"> |
| 29 <div class="settings-box">$i18n{settingsManagedLabel}</div> | 31 <div class="settings-box">$i18n{settingsManagedLabel}</div> |
| 30 </template> | 32 </template> |
| 31 <template is="dom-if" if="[[!isWhitelistManaged_]]"> | 33 <template is="dom-if" if="[[!isWhitelistManaged_]]"> |
| 32 <template is="dom-if" if="[[!isOwner_]]"> | 34 <template is="dom-if" if="[[!isOwner_]]"> |
| 33 <div class="settings-box">$i18n{usersModifiedByOwnerLabel}</div> | 35 <div class="settings-box">$i18n{usersModifiedByOwnerLabel}</div> |
| 34 </template> | 36 </template> |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 68 $i18n{addUsers} | 70 $i18n{addUsers} |
| 69 </a> | 71 </a> |
| 70 </div> | 72 </div> |
| 71 </div> | 73 </div> |
| 72 </div> | 74 </div> |
| 73 <settings-users-add-user-dialog id="addUserDialog"> | 75 <settings-users-add-user-dialog id="addUserDialog"> |
| 74 </settings-users-add-user-dialog> | 76 </settings-users-add-user-dialog> |
| 75 </template> | 77 </template> |
| 76 <script src="users_page.js"></script> | 78 <script src="users_page.js"></script> |
| 77 </dom-module> | 79 </dom-module> |
| OLD | NEW |