Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://md-settings/certificate_manager_page/certifica te_entry.html"> | 2 <link rel="import" href="chrome://md-settings/certificate_manager_page/certifica te_entry.html"> |
| 3 <link rel="import" href="chrome://md-settings/certificate_manager_page/certifica tes_browser_proxy.html"> | |
| 4 <link rel="import" href="chrome://md-settings/i18n_setup.html"> | |
| 5 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> | |
|
Dan Beam
2016/04/01 18:38:02
add this somewhere for assertNotReached
<link rel
dpapad
2016/04/01 21:13:17
Done.
| |
| 3 | 6 |
| 4 <dom-module id="settings-certificate-list"> | 7 <dom-module id="settings-certificate-list"> |
| 5 <template> | 8 <template> |
| 9 <style include="settings-shared"> | |
| 10 .settings-box { | |
| 11 border-top: none; | |
| 12 margin-bottom: 24px; | |
| 13 } | |
| 14 </style> | |
| 15 <div class="settings-box"> | |
|
Dan Beam
2016/04/01 18:38:02
class="settings-box first" drops the border
dpapad
2016/04/01 21:13:17
Done.
| |
| 16 <span class="start">[[getDescription_(certificateType)]]</span> | |
| 17 <paper-button on-tap="onImportTap_" | |
| 18 hidden="[[!canImport_(certificateType)]]"> | |
| 19 $i18n{certificateManagerImport}</paper-button> | |
| 20 </div> | |
| 6 <template is="dom-repeat" items="[[certificates]]"> | 21 <template is="dom-repeat" items="[[certificates]]"> |
| 7 <settings-certificate-entry model="[[item]]" | 22 <settings-certificate-entry model="[[item]]" |
| 8 certificate-type="[[certificateType]]"> | 23 certificate-type="[[certificateType]]"> |
| 9 </settings-certificate-entry> | 24 </settings-certificate-entry> |
| 10 </template> | 25 </template> |
| 11 <template is="dom-if" if="[[!certificates.length]]"> | 26 <template is="dom-if" if="[[!certificates.length]]"> |
| 12 <!-- TODO(dpapad): Localize string --> | 27 <!-- TODO(dpapad): Localize string --> |
| 13 You have no certificates | 28 You have no certificates |
| 14 </template> | 29 </template> |
| 15 </template> | 30 </template> |
| 16 <script src="certificate_list.js"></script> | 31 <script src="certificate_list.js"></script> |
| 17 </dom-module> | 32 </dom-module> |
| OLD | NEW |