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

Unified Diff: chrome/browser/resources/managed_user_passphrase_dialog.html

Issue 11783008: Add a lock to the managed user settings page and require authentication for unlocking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add a check if the passphrase is set before closing the settings. Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/managed_user_passphrase_dialog.html
diff --git a/chrome/browser/resources/managed_user_passphrase_dialog.html b/chrome/browser/resources/managed_user_passphrase_dialog.html
new file mode 100644
index 0000000000000000000000000000000000000000..eae866f2306358f266561faca81698e5782d89c9
--- /dev/null
+++ b/chrome/browser/resources/managed_user_passphrase_dialog.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<!-- Copyright (c) 2012 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+<html i18n-values="dir:textdirection">
+<head>
+ <link rel="stylesheet" href="shared/css/chrome_shared.css">
+ <link rel="stylesheet" href="dialog.css">
+ <link rel="stylesheet" href="managed_user_passphrase_dialog.css">
+ <script src="chrome://resources/js/load_time_data.js"></script>
+ <script src="chrome://resources/js/util.js"></script>
+ <script src="managed_user_passphrase_dialog.js"></script>
+</head>
+<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
+ <div id="managed-mode-passphrase-page" class="page">
+ <div id="managed-user-logo"></div>
+ <h1 i18n-content="managedModePassphrasePage"></h1>
+ <div class="content-area">
+ <div id="instructions">
+ <label>
+ <span i18n-content="passphrase_instruction"></span>
+ </label>
+ </div>
+ <div id="entry">
+ <input id="passphrase-entry" size="50" type="password" required/>
+ </div>
+ <!-- TODO(akuegel): Create a link to a page which explains how to reset the
Bernhard Bauer 2013/02/04 16:13:35 I think this is 81 characters now.
Adrian Kuegel 2013/02/05 12:12:35 Fixed.
+ passphrase
Bernhard Bauer 2013/02/04 16:13:35 No need to align with the TODO colon, a period at
Adrian Kuegel 2013/02/05 12:12:35 Done.
+ <div id="ref">
+ <a href="http://www.google.com" target="_blank">
+ <span i18n-content="forgot_passphrase"></span></a>
+ </div>
+ -->
+ <div id="buttons">
+ <div id="cancel">
+ <button id="cancel-passphrase-button"
+ i18n-content="cancel_passphrase_button"></button>
+ <div id="unlock">
+ <button id="unlock-passphrase-button"
+ i18n-content="unlock_passphrase_button" disabled></button>
+ </div>
+ </div>
+ <div id="incorrect-passphrase-warning" hidden>
+ <label>
+ <span i18n-content="incorrect_passphrase_warning"></span>
+ </label>
+ </div>
+ </div>
+ </div>
+ <script src="strings.js"></script>
+ <script src="chrome://resources/js/i18n_template2.js"></script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698