Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: chrome/browser/resources/settings/certificate_manager_page/certificate_list.html

Issue 1842403004: MD Settings: Certificate manager, move "Import" button to the tab level. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comment. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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://resources/html/assert.html">
3 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
2 <link rel="import" href="chrome://md-settings/certificate_manager_page/certifica te_entry.html"> 4 <link rel="import" href="chrome://md-settings/certificate_manager_page/certifica te_entry.html">
5 <link rel="import" href="chrome://md-settings/certificate_manager_page/certifica tes_browser_proxy.html">
6 <link rel="import" href="chrome://md-settings/i18n_setup.html">
7 <link rel="import" href="chrome://md-settings/settings_shared_css.html">
3 8
4 <dom-module id="settings-certificate-list"> 9 <dom-module id="settings-certificate-list">
5 <template> 10 <template>
11 <style include="settings-shared">
12 .settings-box {
13 margin-bottom: 24px;
14 }
15 </style>
16 <div class="settings-box first">
17 <span class="start">[[getDescription_(certificateType)]]</span>
18 <paper-button on-tap="onImportTap_"
19 hidden="[[!canImport_(certificateType)]]">
20 $i18n{certificateManagerImport}</paper-button>
21 </div>
6 <template is="dom-repeat" items="[[certificates]]"> 22 <template is="dom-repeat" items="[[certificates]]">
7 <settings-certificate-entry model="[[item]]" 23 <settings-certificate-entry model="[[item]]"
8 certificate-type="[[certificateType]]"> 24 certificate-type="[[certificateType]]">
9 </settings-certificate-entry> 25 </settings-certificate-entry>
10 </template> 26 </template>
11 <template is="dom-if" if="[[!certificates.length]]"> 27 <template is="dom-if" if="[[!certificates.length]]">
12 <!-- TODO(dpapad): Localize string --> 28 <!-- TODO(dpapad): Localize string -->
13 You have no certificates 29 You have no certificates
14 </template> 30 </template>
15 </template> 31 </template>
16 <script src="certificate_list.js"></script> 32 <script src="certificate_list.js"></script>
17 </dom-module> 33 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698