summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/new_profile.html
diff options
context:
space:
mode:
authorsail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-06 17:31:32 +0000
committersail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-06 17:31:32 +0000
commit66fa0acfa2d06fe00fdb461603122329ef06ba3c (patch)
treee99cd98ea4bc7eec51b2877dc489510d6d9ac705 /chrome/browser/resources/new_profile.html
parentd9884f501247498d6687ea762afbbab13e4045c9 (diff)
downloadchromium_src-66fa0acfa2d06fe00fdb461603122329ef06ba3c.zip
chromium_src-66fa0acfa2d06fe00fdb461603122329ef06ba3c.tar.gz
chromium_src-66fa0acfa2d06fe00fdb461603122329ef06ba3c.tar.bz2
Multi-Profiles: New Profile Setup UI
This change adds DOM UI to setup a new profile. When the user clicks Wrench Menu -> New Profile the following happens: 1 we create a new profile and give it a good default name and icon 2 we open a browser window and navigate it to chrome://newprofile 3 user customizes the name and icon if they wish and then click Create 4 we navigate to the new tab page where we optionally show the Sign In To Sync promo page This change implements 3 and 4. Screenshots: - http://www.dropmocks.com/mW4un BUG=None TEST=Navigated to chrome://newprofile and verified that things looked ok Review URL: http://codereview.chromium.org/7256002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91573 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/new_profile.html')
-rw-r--r--chrome/browser/resources/new_profile.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/chrome/browser/resources/new_profile.html b/chrome/browser/resources/new_profile.html
new file mode 100644
index 0000000..e6ba432
--- /dev/null
+++ b/chrome/browser/resources/new_profile.html
@@ -0,0 +1,57 @@
+<!-- Copyright (c) 2011 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. -->
+<!DOCTYPE HTML>
+<html i18n-values="dir:textdirection;
+ customlogo:customlogo;">
+<head>
+<meta charset="utf-8">
+<title i18n-content="title"></title>
+<script src="chrome://resources/js/local_strings.js"></script>
+<script src="chrome://resources/js/cr.js"></script>
+<script src="chrome://resources/js/util.js"></script>
+<script src="chrome://newprofile/new_profile.js"></script>
+
+<link rel="stylesheet" href="chrome://resources/css/button.css">
+<link rel="stylesheet" href="new_profile.css">
+</head>
+<body i18n-values=".style.fontFamily:fontfamily;">
+<div class="overlay">
+ <div id="new-profile-overlay" class="page">
+ <h3 i18n-content="summaryTitle"></h3>
+ <p i18n-content="summaryBody"></p>
+ <p i18n-content="summaryConclusion"></p>
+ <div id="outer-input-area">
+ <div id="inner-input-area">
+ <div i18n-content="profileNameLabel"></div>
+ <div>
+ <form id="profile-name-form">
+ <input id="profile-name" type="text">
+ </form>
+ </div>
+ <div i18n-content="profileIconLabel"></div>
+ <div id="avatar-menu"></div>
+ </div>
+ </div>
+ <div class="action-area">
+ <div class="button-strip">
+ <input id="cancel-button" type="button"
+ i18n-values="value:cancelProfile">
+ <input id="create-button" type="button"
+ i18n-values="value:createProfile">
+ </div>
+ </div>
+ </div>
+</div>
+<div id="footer">
+ <div id="footer-content">
+ <img id="logo-img">
+ </div>
+</div>
+<!-- TODO(sail): This should be at the top of the page but moving it causes
+ text in the page to fail to load. -->
+<script src="chrome://newprofile/strings.js"></script>
+<script src="chrome://resources/js/i18n_template.js"></script>
+<script src="chrome://resources/js/i18n_process.js"></script>
+</body>
+</html>