OLD | NEW |
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
4 <link rel="import" href="chrome://md-settings/people_page/sync_private_api.html"
> | 4 <link rel="import" href="chrome://md-settings/people_page/sync_private_api.html"
> |
5 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> | 5 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> |
6 | 6 |
7 <dom-module id="settings-manage-profile"> | 7 <dom-module id="settings-manage-profile"> |
8 <link rel="import" type="css" href="manage_profile.css"> | 8 <link rel="import" type="css" href="manage_profile.css"> |
9 <template> | 9 <template> |
10 <style include="settings-shared"></style> | 10 <style include="settings-shared"></style> |
11 <div class="settings-box first"> | 11 <div class="settings-box first"> |
12 <paper-input value="{{profileName}}" pattern=".*\S.*" auto-validate | 12 <paper-input value="{{profileName}}" pattern=".*\S.*" auto-validate |
13 on-blur="onProfileNameChanged_"> | 13 required on-change="onProfileNameChanged_"> |
14 </paper-input> | 14 </paper-input> |
15 <div id="availableIcons"> | 15 <div id="availableIcons"> |
16 <template is="dom-repeat" items="[[availableIconUrls]]"> | 16 <template is="dom-repeat" items="[[availableIconUrls]]"> |
17 <paper-button toggles active="{{isActiveIcon_(item, profileIconUrl)}}" | 17 <paper-button toggles active="{{isActiveIcon_(item, profileIconUrl)}}" |
18 on-tap="onIconTap_" data-icon-url$="[[item]]"> | 18 on-tap="onIconTap_" data-icon-url$="[[item]]"> |
19 <img src="[[item]]"> | 19 <img src="[[item]]"> |
20 </paper-button> | 20 </paper-button> |
21 </template> | 21 </template> |
22 </div> | 22 </div> |
23 </div> | 23 </div> |
24 </template> | 24 </template> |
25 <script src="manage_profile.js"></script> | 25 <script src="manage_profile.js"></script> |
26 </dom-module> | 26 </dom-module> |
OLD | NEW |