Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <link rel="import" href="chrome://resources/html/polymer_config.html"> | |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/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-checkbox/paper-ch eckbox.html"> | |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi nner.html"> | |
| 6 <link rel="import" href="chrome://md-settings/i18n_setup.html"> | |
| 7 <link rel="import" href="chrome://md-settings/settings_dialog.html"> | |
| 8 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> | |
| 9 <link rel="import" href="chrome://md-settings/certificate_manager_page/certifica tes_browser_proxy.html"> | |
| 10 | |
| 11 <dom-module id="settings-ca-trust-edit-dialog"> | |
| 12 <template> | |
| 13 <style include="settings-shared"></style> | |
| 14 <style> | |
| 15 paper-checkbox { | |
| 16 display: block; | |
| 17 } | |
| 18 </style> | |
|
Dan Beam
2016/03/09 21:46:37
nit: do you need 2 style tags or can this just be
dpapad
2016/03/09 22:33:56
Done. Using only one <style> tag seems to work.
| |
| 19 | |
| 20 <settings-dialog id="dialog"> | |
| 21 <div class="title">$i18n{certificateManagerCaTrustEditDialogTitle}</div> | |
| 22 <div class="body"> | |
| 23 <div>[[explanationText_]]</div> | |
| 24 <div>$i18n{certificateManagerCaTrustEditDialogDescription}</div> | |
| 25 <paper-checkbox id="ssl" checked$=[[trustInfo_.ssl]]> | |
|
Dan Beam
2016/03/09 21:46:38
$= should be =, also should be "[[trustInfo_.ssl]]
dpapad
2016/03/09 22:33:56
Done.
| |
| 26 $i18n{certificateManagerCaTrustEditDialogSsl} | |
| 27 </paper-checkbox> | |
| 28 <paper-checkbox id="email" checked$=[[trustInfo_.email]]> | |
| 29 $i18n{certificateManagerCaTrustEditDialogEmail} | |
| 30 </paper-checkbox> | |
| 31 <paper-checkbox id="objSign" checked$=[[trustInfo_.objSign]]> | |
| 32 $i18n{certificateManagerCaTrustEditDialogObjSign} | |
| 33 </paper-checkbox> | |
| 34 </div> | |
| 35 <div class="button-container"> | |
| 36 <paper-spinner id="spinner"></paper-spinner> | |
| 37 <paper-button class="cancel-button" on-tap="onCancelTap_"> | |
| 38 $i18n{cancel} | |
| 39 </paper-button> | |
| 40 <paper-button id="ok" class="action-button" on-tap="onOkTap_"> | |
| 41 $i18n{ok} | |
| 42 </paper-button> | |
| 43 </div> | |
| 44 </settings-dialog> | |
| 45 </template> | |
| 46 <script src="ca_trust_edit_dialog.js"></script> | |
| 47 </dom-module> | |
| OLD | NEW |