OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 |
1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> | 3 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> |
2 <link rel="import" href="chrome://resources/html/polymer.html"> | |
3 <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"> |
4 <link rel="import" href="../i18n_setup.html"> | 5 <link rel="import" href="../i18n_setup.html"> |
5 <link rel="import" href="../settings_shared_css.html"> | 6 <link rel="import" href="../settings_shared_css.html"> |
6 | 7 |
7 <dom-module id="settings-certificates-error-dialog"> | 8 <dom-module id="settings-certificates-error-dialog"> |
8 <template> | 9 <template> |
9 <style include="settings-shared"></style> | 10 <style include="settings-shared"></style> |
10 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}"> | 11 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}"> |
11 <div class="title">[[model.title]]</div> | 12 <div class="title">[[model.title]]</div> |
12 <div class="body"> | 13 <div class="body"> |
13 <div>[[model.description]]</div> | 14 <div>[[model.description]]</div> |
14 <template is="dom-if" if="[[model.certificateErrors]]"> | 15 <template is="dom-if" if="[[model.certificateErrors]]"> |
15 <template is="dom-repeat" items="[[model.certificateErrors]]"> | 16 <template is="dom-repeat" items="[[model.certificateErrors]]"> |
16 <div>[[getCertificateErrorText_(item)]]</div> | 17 <div>[[getCertificateErrorText_(item)]]</div> |
17 </template> | 18 </template> |
18 </template> | 19 </template> |
19 </div> | 20 </div> |
20 <div class="button-container"> | 21 <div class="button-container"> |
21 <paper-button id="ok" class="action-button" on-tap="onOkTap_"> | 22 <paper-button id="ok" class="action-button" on-tap="onOkTap_"> |
22 $i18n{ok} | 23 $i18n{ok} |
23 </paper-button> | 24 </paper-button> |
24 </div> | 25 </div> |
25 </dialog> | 26 </dialog> |
26 </template> | 27 </template> |
27 <script src="certificates_error_dialog.js"></script> | 28 <script src="certificates_error_dialog.js"></script> |
28 </dom-module> | 29 </dom-module> |
OLD | NEW |