| OLD | NEW |
| 1 <link rel="import" href="../third-party/polymer.html"> | 1 <link rel="import" href="../third-party/polymer.html"> |
| 2 | 2 |
| 3 <polymer-element name="passphrase-dialog"> | 3 <dom-module id="passphrase-dialog"> |
| 4 <template> | 4 <template> |
| 5 <link rel="stylesheet" href="../css/passphrase-dialog.css"> | 5 <link rel="stylesheet" href="../css/passphrase-dialog.css"> |
| 6 <h3>{{ 'passphraseTitle' | i18n }}</h3> | 6 <!-- TODO(takise): Translation --> |
| 7 <paper-input-decorator label="{{ 'passphraseInputLabel' | i18n }}"> | 7 <h3>This file is password protected</h3> |
| 8 <paper-input-decorator> |
| 9 <!-- TODO(takise): Translation --> |
| 10 Password |
| 8 <input is="core-input" type="password" id="input" autofocus> | 11 <input is="core-input" type="password" id="input" autofocus> |
| 9 </paper-input-decorator> | 12 </paper-input-decorator> |
| 10 <div id="bar"> | 13 <div id="bar"> |
| 11 <paper-checkbox id="remember" | 14 <paper-checkbox id="remember"> |
| 12 label="{{ 'passphraseRemember' | i18n }}"></paper-checkbox> | 15 <!-- TODO(takise): Translation --> |
| 16 Remember |
| 17 </paper-checkbox> |
| 13 <div id="buttons"> | 18 <div id="buttons"> |
| 14 <paper-button on-click="{{cancel}}" id="cancelButton"> | 19 <paper-button on-click="cancel" id="cancelButton"> |
| 15 {{ 'passphraseCancel' | i18n }} | 20 <!-- TODO(takise): Translation --> |
| 21 Cancel |
| 16 </paper-button> | 22 </paper-button> |
| 17 <paper-button on-click="{{accept}}" id="acceptButton"> | 23 <paper-button on-click="accept" id="acceptButton"> |
| 18 {{ 'passphraseAccept' | i18n }} | 24 <!-- TODO(takise): Translation --> |
| 25 Accept |
| 19 </paper-button> | 26 </paper-button> |
| 20 </div> | 27 </div> |
| 21 </div> | 28 </div> |
| 22 </template> | 29 </template> |
| 23 <script src="../js/passphrase-dialog.js"></script> | 30 <script src="../js/passphrase-dialog.js"></script> |
| 24 </polymer-element> | 31 </dom-module> |
| OLD | NEW |