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

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

Issue 2655583002: MD Settings: Certificates: Add 'Import and bind' button for CrOS (Closed)
Patch Set: Elim OS_CHROMEOS condition for certificateManagerImportAndBind to fix tests Created 3 years, 11 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"> 2 <link rel="import" href="chrome://resources/html/assert.html">
3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 3 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
4 <link rel="import" href="/certificate_manager_page/certificate_entry.html"> 4 <link rel="import" href="/certificate_manager_page/certificate_entry.html">
5 <link rel="import" href="/certificate_manager_page/certificate_manager_types.htm l"> 5 <link rel="import" href="/certificate_manager_page/certificate_manager_types.htm l">
6 <link rel="import" href="/certificate_manager_page/certificates_browser_proxy.ht ml"> 6 <link rel="import" href="/certificate_manager_page/certificates_browser_proxy.ht ml">
7 <link rel="import" href="/i18n_setup.html"> 7 <link rel="import" href="/i18n_setup.html">
8 <link rel="import" href="/settings_shared_css.html"> 8 <link rel="import" href="/settings_shared_css.html">
9 9
10 <dom-module id="settings-certificate-list"> 10 <dom-module id="settings-certificate-list">
11 <template> 11 <template>
12 <style include="settings-shared"> 12 <style include="settings-shared">
13 .settings-box { 13 .settings-box {
14 margin-bottom: 24px; 14 margin-bottom: 24px;
15 } 15 }
16 </style> 16 </style>
17 <div class="settings-box first"> 17 <div class="settings-box first">
18 <span class="start"> 18 <span class="start">
19 [[getDescription_(certificateType, certificates)]]</span> 19 [[getDescription_(certificateType, certificates)]]</span>
20 <paper-button on-tap="onImportTap_" 20 <paper-button id="import" on-tap="onImportTap_"
21 hidden="[[!canImport_(certificateType)]]"> 21 hidden="[[!canImport_(certificateType)]]">
22 $i18n{certificateManagerImport}</paper-button> 22 $i18n{certificateManagerImport}</paper-button>
23 <if expr="chromeos">
24 <paper-button id="importAndBind" on-tap="onImportAndBindTap_"
25 hidden="[[!canImportAndBind_(certificateType)]]">
26 $i18n{certificateManagerImportAndBind}</paper-button>
27 </if>
23 </div> 28 </div>
24 <template is="dom-repeat" items="[[certificates]]"> 29 <template is="dom-repeat" items="[[certificates]]">
25 <settings-certificate-entry model="[[item]]" 30 <settings-certificate-entry model="[[item]]"
26 certificate-type="[[certificateType]]"> 31 certificate-type="[[certificateType]]">
27 </settings-certificate-entry> 32 </settings-certificate-entry>
28 </template> 33 </template>
29 </template> 34 </template>
30 <script src="certificate_list.js"></script> 35 <script src="certificate_list.js"></script>
31 </dom-module> 36 </dom-module>
OLDNEW
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/resources/settings/certificate_manager_page/certificate_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698