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

Unified Diff: chrome/browser/resources/signin/signin_error/signin_error.html

Issue 2298503002: [Signin Error Dialog] (1/3) Adds necessary web components (Closed)
Patch Set: Address feedback. Created 4 years, 3 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
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/signin/signin_error/signin_error.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/signin/signin_error/signin_error.html
diff --git a/chrome/browser/resources/signin/signin_error/signin_error.html b/chrome/browser/resources/signin/signin_error/signin_error.html
new file mode 100644
index 0000000000000000000000000000000000000000..2114b2dcf38f9c6541ed0653562d7b7cbd57ad49
--- /dev/null
+++ b/chrome/browser/resources/signin/signin_error/signin_error.html
@@ -0,0 +1,51 @@
+<!doctype html>
+<html i18n-values="dir:textdirection;lang:language">
+ <head>
+ <meta charset="utf-8">
+ <link rel="import" href="chrome://resources/html/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-styles/color.html">
+ <link rel="import" href="signin_shared_css.html">
+ <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
+ <link rel="import" href="chrome://resources/html/cr.html">
+ <link rel="import" href="chrome://resources/html/load_time_data.html">
+ <link rel="import" href="chrome://resources/html/util.html">
+ <style is="custom-style" include="signin-dialog-shared">
+ .details {
+ margin-bottom: 8px;
+ margin-top: 16px;
+ padding: 0 24px;
+ }
+
+ #closeButton {
+ -webkit-margin-start: 8px;
+ }
+
+<if expr="is_macosx or is_linux">
+ #closeButton {
+ -webkit-margin-end: 8px;
+ -webkit-margin-start: 0;
+ }
+</if>
+ </style>
+ </head>
+ <body>
+ <div class="container">
+ <div class="top-title-bar">$i18n{signinErrorTitle}</div>
+ <div class="details">$i18nRaw{signinErrorMessage}</div>
+ <div class="action-container">
+ <paper-button class="primary-action" id="switchButton">
+ $i18n{signinErrorSwitchLabel}
+ </paper-button>
+ <paper-button class="secondary-action" id="closeButton">
+ $i18n{signinErrorCloseLabel}
+ </paper-button>
+ <paper-button class="primary-action" id="confirmButton" hidden>
+ $i18n{signinErrorOkLabel}
+ </paper-button>
+ </div>
+ </div>
+ </body>
+ <script src="signin_error.js"></script>
+ <script src="chrome://signin-error/strings.js"></script>
+</html>
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/signin/signin_error/signin_error.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698