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

Unified Diff: chrome/browser/resources/chromeos/login/gaia_whitelist_error.html

Issue 1058433002: [cros login, new GAIA] New UI for not authorized error (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 8 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
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..b8c2a3cf677cad1e7ad160e03f04b89e8e179083
--- /dev/null
+++ b/chrome/browser/resources/chromeos/login/gaia_whitelist_error.html
@@ -0,0 +1,72 @@
+<link rel="import" href="chrome://resources/polymer/polymer/polymer.html">
+<link rel="import" href="chrome://resources/polymer/paper-button/paper-button.html">
+<link rel="import" href="chrome://resources/polymer/core-icons/core-icons.html">
+
+<polymer-element name="gaia-whitelist-error" attributes="errorMsg
+ enterpriseErrorMsg tryAgainBtn learnMoreBtn">
+ <template>
+ <style>
+ #container {
+ padding: 40px;
+ }
+
+ #icon-container {
+ margin-bottom: 14px;
+ }
+
+ core-icon {
+ color: #fbc02d;
+ height: 28px;
+ width: 28px;
+ }
+
+ #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 fit>
+ <div flex layout center-justified vertical>
+ <div id="icon-container" vertical layout center>
+ <core-icon icon="warning"></core-icon>
+ </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 id="controls-container" horizontal layout justified
+ 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>
« no previous file with comments | « chrome/browser/resources/chromeos/login/gaia_whiteist_error.js ('k') | chrome/browser/resources/chromeos/login/login.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698