Chromium Code Reviews| 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..4aa8454b82f00a87d3b50cf9bdee191029dc9358 |
| --- /dev/null |
| +++ b/chrome/browser/resources/signin/signin_error/signin_error.html |
| @@ -0,0 +1,55 @@ |
| +<!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"> |
| + <style is="custom-style" include="signin-dialog-shared"> |
| + .details { |
| + margin-bottom: 8px; |
| + margin-top: 16px; |
| + padding: 0 24px; |
| + } |
| + |
| + #closeButton { |
| + -webkit-margin-start: 8px; |
| + } |
| + |
| + #confirmButton { |
| + display: none; |
| + } |
| + |
| +<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"> |
| + $i18n{signinErrorOkLabel} |
| + </paper-button> |
| + </div> |
| + </div> |
| + </body> |
| + <script src="chrome://resources/js/cr.js"></script> |
|
Dan Beam
2016/08/30 00:43:08
you should be using <link rel="import" href="chrom
|
| + <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> |
| +</html> |