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

Side by Side 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: bring back changes 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 unified diff | Download patch
OLDNEW
(Empty)
1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/paper-button/paper-button.ht ml">
3
4 <polymer-element name="gaia-whitelist-error" attributes="errorMsg
5 enterpriseErrorMsg tryAgainBtn learnMoreBtn">
6 <template>
7 <style>
8 #container {
9 height: 100%;
10 width: 100%;
11 }
12
13 #icon-container {
14 margin-bottom: 14px;
15 }
16
17 #text-container {
18 color: grey;
19 line-height: 130%;
20 text-align: center;
21 width: 240px;
22 }
23
24 #controls-container {
25 width: 100%;
26 }
27
28 .learn-more-button {
29 color: rgb(66, 133, 244);
30 text-transform: none;
31 }
32
33 .try-again-button {
34 background-color: rgb(66, 133, 244);
35 color: rgb(255, 255, 255);
36 width: 126px;
37 }
38 </style>
39 <div id="container" vertical layout center>
40 <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.
41 <div flex></div>
42 <div flex>
43 <div id="icon-container" vertical layout center>
44 <img src="../../../../../ui/webui/resources/images/icon_warning.png">
45 </div>
46 <div id="text-container">
47 <div id="error-msg" hidden?="{{enterpriseManaged}}">
48 {{errorMsg}}
49 </div>
50 <div id="enterprise-error-msg" hidden?="{{!enterpriseManaged}}">
51 {{enterpriseErrorMsg}}
52 </div>
53 </div>
54 </div>
55 </div>
56 <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.
57 flex center>
58 <paper-button class="learn-more-button"
59 on-tap={{onLearnMoreClicked}}>
60 {{learnMoreBtn}}
61 </paper-button>
62 <paper-button class="try-again-button" raised
63 on-tap="{{tryAgainButtonClicked}}">
64 {{tryAgainBtn}}
65 </paper-button>
66 </div>
67 </div>
68 </template>
69 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698