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..0e2046763bcfe0416dccdb6beecb56ef588df42d |
| --- /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"> |
| + <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"> |
|
Dan Beam
2016/09/02 23:21:55
it'd be nice to use on-tap instead of addEventList
|
| + $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="chrome://resources/js/load_time_data.js"></script> |
| + <script src="chrome://resources/js/util.js"></script> |
|
Dan Beam
2016/09/02 23:21:55
these should also be imports instead of scripts
anthonyvd
2016/09/06 14:36:14
Done.
|
| + <script src="signin_error.js"></script> |
| + <script src="chrome://signin-error/strings.js"></script> |
| +</html> |