Index: chrome/browser/resources/chromeos/login/gaia_whitelist_error.html |
diff --git a/chrome/browser/resources/chromeos/login/gaia_whitelist_error.html b/chrome/browser/resources/chromeos/login/gaia_whitelist_error.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..db3fdb2cfd45d6df3e2cdbace6cf4775aab3bfee |
--- /dev/null |
+++ b/chrome/browser/resources/chromeos/login/gaia_whitelist_error.html |
@@ -0,0 +1,69 @@ |
+<link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> |
+<link rel="import" href="chrome://resources/polymer/paper-button/paper-button.html"> |
+ |
+<polymer-element name="gaia-whitelist-error" attributes="errorMsg |
+ enterpriseErrorMsg tryAgainBtn learnMoreBtn"> |
+ <template> |
+ <style> |
+ #container { |
+ height: 100%; |
+ width: 100%; |
+ } |
+ |
+ #icon-container { |
+ margin-bottom: 14px; |
+ } |
+ |
+ #text-container { |
+ color: grey; |
+ line-height: 130%; |
+ text-align: center; |
+ width: 240px; |
+ } |
+ |
+ #controls-container { |
+ width: 100%; |
+ } |
+ |
+ .learn-more-button { |
+ color: rgb(66, 133, 244); |
+ text-transform: none; |
+ } |
+ |
+ .try-again-button { |
+ background-color: rgb(66, 133, 244); |
+ color: rgb(255, 255, 255); |
+ width: 126px; |
+ } |
+ </style> |
+ <div id="container" vertical layout center> |
+ <div flex two layout center vertical> |
dzhioev (left Google)
2015/04/07 17:16:57
Please fix indentation.
Nikita (slow)
2015/04/08 16:55:20
Done.
|
+ <div flex></div> |
+ <div flex> |
+ <div id="icon-container" vertical layout center> |
+ <img src="../../../../../ui/webui/resources/images/icon_warning.png"> |
+ </div> |
+ <div id="text-container"> |
+ <div id="error-msg" hidden?="{{enterpriseManaged}}"> |
+ {{errorMsg}} |
+ </div> |
+ <div id="enterprise-error-msg" hidden?="{{!enterpriseManaged}}"> |
+ {{enterpriseErrorMsg}} |
+ </div> |
+ </div> |
+ </div> |
+ </div> |
+ <div id="controls-container" horizontal layout around-justified |
dzhioev (left Google)
2015/04/07 17:16:57
Let's make controls bar height fixed, as discussed
Nikita (slow)
2015/04/08 16:55:20
Done.
|
+ flex center> |
+ <paper-button class="learn-more-button" |
+ on-tap={{onLearnMoreClicked}}> |
+ {{learnMoreBtn}} |
+ </paper-button> |
+ <paper-button class="try-again-button" raised |
+ on-tap="{{tryAgainButtonClicked}}"> |
+ {{tryAgainBtn}} |
+ </paper-button> |
+ </div> |
+ </div> |
+ </template> |
+</polymer-element> |