OLD | NEW |
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 |
2 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa
nd_button.html"> | 3 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa
nd_button.html"> |
3 <link rel="import" href="certificates_browser_proxy.html"> | 4 <link rel="import" href="certificates_browser_proxy.html"> |
4 <link rel="import" href="../settings_shared_css.html"> | 5 <link rel="import" href="../settings_shared_css.html"> |
5 <link rel="import" href="certificate_subentry.html"> | 6 <link rel="import" href="certificate_subentry.html"> |
6 | 7 |
7 <dom-module id="settings-certificate-entry"> | 8 <dom-module id="settings-certificate-entry"> |
8 <template> | 9 <template> |
9 <style include="settings-shared"></style> | 10 <style include="settings-shared"></style> |
10 <div class="settings-box"> | 11 <div class="settings-box"> |
11 <div class="start">[[model.id]]</div> | 12 <div class="start">[[model.id]]</div> |
12 <cr-expand-button expanded="{{expanded_}}" | 13 <cr-expand-button expanded="{{expanded_}}" |
13 alt="$i18n{certificateManagerExpandA11yLabel}"> | 14 alt="$i18n{certificateManagerExpandA11yLabel}"> |
14 </cr-expand-button> | 15 </cr-expand-button> |
15 </div> | 16 </div> |
16 <template is="dom-if" if="[[expanded_]]"> | 17 <template is="dom-if" if="[[expanded_]]"> |
17 <div class="list-frame"> | 18 <div class="list-frame"> |
18 <template is="dom-repeat" items="[[model.subnodes]]"> | 19 <template is="dom-repeat" items="[[model.subnodes]]"> |
19 <settings-certificate-subentry model="[[item]]" | 20 <settings-certificate-subentry model="[[item]]" |
20 certificate-type="[[certificateType]]" | 21 certificate-type="[[certificateType]]" |
21 is-last$="[[isLast_(index, model)]]"> | 22 is-last$="[[isLast_(index, model)]]"> |
22 </settings-certificate-subentry> | 23 </settings-certificate-subentry> |
23 </template> | 24 </template> |
24 </div> | 25 </div> |
25 </template> | 26 </template> |
26 </template> | 27 </template> |
27 <script src="certificate_entry.js"></script> | 28 <script src="certificate_entry.js"></script> |
28 </dom-module> | 29 </dom-module> |
OLD | NEW |