| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/fade-in-animation.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/fade-in-animation.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/fade-out-animation.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio
ns/fade-out-animation.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="chrome://resources/polymer/v1_0/paper-dialog/paper-dial
og.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dial
og.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
| 8 | 8 |
| 9 <dom-module id="viewer-password-screen"> | 9 <dom-module id="viewer-password-screen"> |
| 10 <template> | 10 <template> |
| 11 <paper-dialog id="dialog" modal no-cancel-on-esc-key | 11 <paper-dialog id="dialog" modal no-cancel-on-esc-key |
| 12 entry-animation="fade-in-animation" exit-animation="fade-out-animation"> | 12 entry-animation="fade-in-animation" exit-animation="fade-out-animation"> |
| 13 <div id="message" i18n-content="passwordPrompt"></div> | 13 <div id="message" i18n-content="passwordPrompt"></div> |
| 14 <div class="horizontal layout start"> | 14 <div class="horizontal layout start"> |
| 15 <paper-input-container id="password-container" class="flex" | 15 <paper-input-container id="password-container" class="flex" |
| 16 no-label-float invalid="[[invalid]]"> | 16 no-label-float invalid="[[invalid]]"> |
| 17 <input is="iron-input" id="password" type="password" size="20" | 17 <input is="iron-input" id="password" type="password" size="20" |
| 18 on-keypress="handleKey" autofocus> | 18 on-keypress="handleKey" autofocus> |
| 19 </input> | 19 </input> |
| 20 <paper-input-error hidden$="[[!invalid]]" | 20 <paper-input-error hidden$="[[!invalid]]" |
| 21 i18n-content="passwordInvalid"></paper-input-error> | 21 i18n-content="passwordInvalid"></paper-input-error> |
| 22 </paper-input-container> | 22 </paper-input-container> |
| 23 <paper-button id="submit" on-click="submit" | 23 <paper-button id="submit" on-click="submit" |
| 24 i18n-content="passwordSubmit"></paper-button> | 24 i18n-content="passwordSubmit"></paper-button> |
| 25 </div> | 25 </div> |
| 26 </paper-dialog> | 26 </paper-dialog> |
| 27 </template> | 27 </template> |
| 28 </dom-module> | 28 </dom-module> |
| 29 <script src="viewer-password-screen.js"></script> | 29 <script src="viewer-password-screen.js"></script> |
| OLD | NEW |