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

Unified Diff: chrome/browser/resources/settings/certificate_manager_page/certificate_password_encryption_dialog.html

Issue 1782113004: MD Settings: Certificate manager, password encryption dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@certificates_delete_confirmation
Patch Set: Nits. Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/certificate_manager_page/certificate_password_encryption_dialog.html
diff --git a/chrome/browser/resources/settings/certificate_manager_page/certificate_password_encryption_dialog.html b/chrome/browser/resources/settings/certificate_manager_page/certificate_password_encryption_dialog.html
new file mode 100644
index 0000000000000000000000000000000000000000..323b4ef9fa3ca041bbc5f78122c2ff9489d49b3f
--- /dev/null
+++ b/chrome/browser/resources/settings/certificate_manager_page/certificate_password_encryption_dialog.html
@@ -0,0 +1,43 @@
+<link rel="import" href="chrome://resources/html/polymer_config.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html">
+<link rel="import" href="chrome://md-settings/i18n_setup.html">
+<link rel="import" href="chrome://md-settings/settings_dialog.html">
+<link rel="import" href="chrome://md-settings/settings_shared_css.html">
+<link rel="import" href="chrome://md-settings/certificate_manager_page/certificates_browser_proxy.html">
+
+<dom-module id="settings-certificate-password-encryption-dialog">
+ <template>
+ <style include="settings-shared">
+ .password-buttons {
+ margin-bottom: 20px;
+ }
+ </style>
+ <settings-dialog id="dialog">
+ <div class="title">$i18n{certificateManagerEncryptPasswordTitle}</div>
+ <div class="body">
+ <div class="password-buttons">
+ <paper-input type="password" always-float-label
+ value="{{password_}}" id="password"
+ i18n-values="label:certificateManagerPasswordLabel"
+ on-input="validate_"></paper-input>
+ <paper-input type="password" always-float-label
+ value="{{confirmPassword_}}" id="confirmPassword"
+ i18n-values="label:certificateManagerConfirmPasswordLabel"
+ on-input="validate_"></paper-input>
+ </div>
+ <div>$i18n{certificateManagerEncryptPasswordDescription}</div>
dschuyler 2016/03/11 21:18:15 Please try styling with with class="row" to make
dpapad 2016/03/14 19:34:49 I tried the suggestion about using CSS class "row"
dschuyler 2016/03/14 21:20:13 Thank you for trying it. Yeah, let's revisit this
+ </div>
+ <div class="button-container">
+ <paper-button class="cancel-button" on-tap="onCancelTap_">
+ $i18n{cancel}
+ </paper-button>
+ <paper-button id="ok" class="action-button" on-tap="onOkTap_" disabled>
+ $i18n{ok}
+ </paper-button>
+ </div>
+ </settings-dialog>
+ </template>
+ <script src="certificate_password_encryption_dialog.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698