Index: chrome/browser/resources/signin_error/signin_error.html |
diff --git a/chrome/browser/resources/signin_error/signin_error.html b/chrome/browser/resources/signin_error/signin_error.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..494b739745ac49d3400df15155b49d8f7afa2c86 |
--- /dev/null |
+++ b/chrome/browser/resources/signin_error/signin_error.html |
@@ -0,0 +1,64 @@ |
+<!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="stylesheet" href="chrome://resources/css/text_defaults_md.css"> |
+ <link rel="stylesheet" href="signin_error.css"></link> |
tommycli
2016/08/23 19:15:39
If that CSS file is only used in here, why not jus
Jane
2016/08/24 13:40:31
Done.
|
+ <style is="custom-style"> |
+ a { |
+ color: var(--google-blue-700); |
+ text-decoration: none; |
+ } |
+ |
+ paper-button.primary-action { |
+ background: var(--google-blue-500); |
+ color: white; |
+ font-weight: 500; |
tommycli
2016/08/23 19:15:39
These styles that are in common with both primary
Jane
2016/08/24 13:40:31
Done.
|
+ --paper-button-flat-keyboard-focus: { |
+ background: rgb(58, 117, 215); |
+ }; |
+ } |
+ |
+ paper-button.secondary-action { |
+ color: var(--google-blue-500); |
+ font-weight: 500; |
+ --paper-button-flat-keyboard-focus: { |
+ background: rgba(0, 0, 0, .12); |
+ }; |
+ } |
+ |
+<if expr="is_macosx or is_linux"> |
+ .action-container { |
+ flex-flow: row-reverse; |
+ justify-content: flex-start; |
+ } |
+</if> |
+ </style> |
+ </head> |
+ <body> |
+ <div class="container"> |
+ <div class="top-title-bar">$i18n{signinErrorTitle}</div> |
+ <div class="details" i18n-values=".innerHTML:signinErrorMessage"></div> |
tommycli
2016/08/23 19:15:39
does using $i18nRaw work?
Jane
2016/08/24 13:40:31
Done. Yep!
|
+ <div class="action-container"> |
+ <paper-button class="primary-action" id="switchButton"> |
+ $i18n{signinErrorSwitchLabel} |
+ </paper-button> |
+ <paper-button class="secondary-action" id="secondaryConfirmButton"> |
+ $i18n{signinErrorOkLabel} |
+ </paper-button> |
+ <paper-button class="primary-action" id="primaryConfirmButton"> |
+ $i18n{signinErrorOkLabel} |
+ </paper-button> |
+ </div> |
+ </div> |
+ </body> |
+ <script src="chrome://resources/js/cr.js"></script> |
+ <script src="chrome://resources/js/load_time_data.js"></script> |
+ <script src="chrome://resources/js/util.js"></script> |
+ <script src="signin_error.js"></script> |
+ <script src="chrome://signin-error/strings.js"></script> |
+ <script src="chrome://resources/js/i18n_template.js"></script> |
+</html> |