OLD | NEW |
1 <link rel="import" href="chrome://resources/html/assert.html"> | 1 <link rel="import" href="chrome://resources/html/assert.html"> |
2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
5 <link rel="import" href="../i18n_setup.html"> | 5 <link rel="import" href="../i18n_setup.html"> |
6 <link rel="import" href="../icons.html"> | 6 <link rel="import" href="../icons.html"> |
7 <link rel="import" href="lock_screen_constants.html"> | 7 <link rel="import" href="lock_screen_constants.html"> |
8 <link rel="import" href="pin_keyboard.html"> | 8 <link rel="import" href="pin_keyboard.html"> |
9 <link rel="import" href="../settings_shared_css.html"> | 9 <link rel="import" href="../settings_shared_css.html"> |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 justify-content: center; | 31 justify-content: center; |
32 } | 32 } |
33 </style> | 33 </style> |
34 | 34 |
35 <dialog is="cr-dialog" id="dialog" on-close="close" | 35 <dialog is="cr-dialog" id="dialog" on-close="close" |
36 close-text="$i18n{close}"> | 36 close-text="$i18n{close}"> |
37 <div class="title">[[getTitleMessage_(isConfirmStep_)]]</div> | 37 <div class="title">[[getTitleMessage_(isConfirmStep_)]]</div> |
38 <div class="body"> | 38 <div class="body"> |
39 <!-- Warning/error; only shown if title is hidden. Id is needed for | 39 <!-- Warning/error; only shown if title is hidden. Id is needed for |
40 tests. --> | 40 tests. --> |
41 <div id="problemDiv" class$="[[problemClass_]] settings-box first" | 41 <div id="problemDiv" class$="[[problemClass_]] settings-box first"> |
42 hidden$="[[!hasProblem_(problemMessage_)]]"> | 42 <iron-icon icon="settings:warning" hidden$="[[!problemMessage_]]"> |
43 <iron-icon icon="settings:warning"></iron-icon> | 43 </iron-icon> |
44 <span class="middle">[[problemMessage_]]</span> | 44 <span class="middle">[[problemMessage_]]</span> |
45 </div> | 45 </div> |
46 | 46 |
47 <!-- Pin keyboard --> | 47 <!-- Pin keyboard --> |
48 <div id="pinKeyboardDiv" class="settings-box continuation"> | 48 <div id="pinKeyboardDiv" class="settings-box continuation"> |
49 <pin-keyboard id="pinKeyboard" on-pin-change="onPinChange_" | 49 <pin-keyboard id="pinKeyboard" on-pin-change="onPinChange_" |
50 on-submit="onPinSubmit_" value="{{pinKeyboardValue_}}"> | 50 on-submit="onPinSubmit_" value="{{pinKeyboardValue_}}"> |
51 </pin-keyboard> | 51 </pin-keyboard> |
52 </div> | 52 </div> |
53 | 53 |
54 <div class="button-strip"> | 54 <div class="button-strip"> |
55 <paper-button class="cancel-button" on-tap="onCancelTap_"> | 55 <paper-button class="cancel-button" on-tap="onCancelTap_"> |
56 $i18n{cancel} | 56 $i18n{cancel} |
57 </paper-button> | 57 </paper-button> |
58 | 58 |
59 <paper-button class="action-button" on-tap="onPinSubmit_" | 59 <paper-button class="action-button" on-tap="onPinSubmit_" |
60 disabled$="[[!enableSubmit_]]"> | 60 disabled$="[[!enableSubmit_]]"> |
61 <span>[[getContinueMessage_(isConfirmStep_)]]</span> | 61 <span>[[getContinueMessage_(isConfirmStep_)]]</span> |
62 </paper-button> | 62 </paper-button> |
63 </div> | 63 </div> |
64 </div> | 64 </div> |
65 </dialog> | 65 </dialog> |
66 </template> | 66 </template> |
67 | 67 |
68 <script src="setup_pin_dialog.js"></script> | 68 <script src="setup_pin_dialog.js"></script> |
69 </dom-module> | 69 </dom-module> |
OLD | NEW |