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

Side by Side Diff: chrome/browser/resources/md_user_manager/import_supervised_user.html

Issue 1901853002: Import supervised user dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md-user-manager-confirmation-page
Patch Set: Created 4 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://md-user-manager/profile_browser_proxy.html">
2 <link rel="import" href="chrome://md-user-manager/shared_styles.html">
3 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
4 <link rel="import" href="chrome://resources/html/polymer.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml">
7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-sele ctor.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
9
10 <dom-module id="import-supervised-user">
11 <link rel="import" type="css"
12 href="chrome://md-user-manager/import_supervised_user.css">
tommycli 2016/04/18 23:27:18 External stylesheets deprecated.
Moe 2016/04/19 21:47:43 Done.
13 <template>
14 <style include="shared-styles"></style>
15 <template is="dom-if" if="[[!hidden_]]">
16 <div id="backdrop">
17 <div id="dialog">
18 <div id="title-bar" class="horizontal justified layout">
19 <span id="title">[[i18n('supervisedUserImportTitle')]]</span>
20 <iron-icon icon="close" on-tap="onCancelTap_"></iron-icon>
21 </div>
22 <div id="message">[[message_]]</div>
tommycli 2016/04/18 23:27:18 Instead of a property, we can use a computed bindi
Moe 2016/04/19 21:47:42 Done.
23 <div id="user-list" class="content-area">
24 <iron-selector selected="{{supervisedUserIndex_}}"
25 selectable=".selectable">
26 <template is="dom-repeat" items="[[supervisedUsers_]]">
27 <div class$="[[getUserClassNames_(item)]]">
28 <img class="profile-img" src="[[item.iconURL]]"></img>
29 <div class="profile-name">[[item.name]]</div>
30 <div class="on-device" hidden="[[!item.onCurrentDevice]]">
31 [[i18n('supervisedUserAlreadyOnThisDevice')]]
32 </div>
33 </div>
34 </template>
35 </iron-selector>
36 </div>
37 <div id="actions" class="horizontal end-justified layout">
38 <paper-button id="cancel" on-tap="onCancelTap_">
39 [[i18n('cancel')]]
40 </paper-button>
41 <paper-button id="import" on-tap="onImportTap_"
42 disabled="[[isImportDisabled_(supervisedUserIndex_)]]">
43 [[i18n('supervisedUserImportOk')]]
44 </paper-button>
45 </div>
46 </div>
47 </div>
48 </template>
49 </template>
50 <script src="chrome://md-user-manager/import_supervised_user.js"></script>
51 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698