OLD | NEW |
---|---|
(Empty) | |
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | |
2 | |
3 <!-- | |
4 UI for the SAML interstitial page. | |
5 Example: | |
6 <saml-interstitial></saml-interstitial> | |
7 | |
8 Attributes: | |
9 'domain' - The interprise domain the device is enrolled to. | |
xiyuan
2016/03/28 20:58:40
nit: interprise -> enterprise
afakhry
2016/03/28 23:15:32
Done.
| |
10 | |
11 Events: | |
12 'samlPageNextClicked' - Fired when the "Next" button is clicked indicating | |
13 that the user would like to proceed with | |
14 authentication via his enrollement SAML IdP. | |
15 'samlPageChangeAccountClicked' - Fired when the user clicks the sign in with | |
16 a differnt account link. GAIA Minute Maid | |
17 screen will be shown. | |
18 --> | |
19 <dom-module name="saml-interstitial" id="saml-interstitial"> | |
xiyuan
2016/03/28 20:58:40
"id" attribute should be set in the master dom.
afakhry
2016/03/28 23:15:32
Done.
| |
20 | |
21 <template> | |
22 <style> | |
23 :host { | |
24 display: flex; | |
25 flex-direction: column; | |
xiyuan
2016/03/28 20:58:40
nit: I suspect we could just use "display: block"
afakhry
2016/03/28 23:15:32
Done.
| |
26 line-height: 150%; | |
xiyuan
2016/03/28 20:58:40
nit: wrong indent
afakhry
2016/03/28 23:15:32
Done.
| |
27 } | |
28 </style> | |
29 | |
30 <gaia-card id="samlInterstitialCard" class="fit"> | |
31 <div id="samlInterstitialHeader" | |
32 class="header flex vertical layout end-justified start"> | |
33 <h1 class="welcome-message" i18n-content="loginWelcomeMessage"> | |
34 </h1> | |
35 <p id="managedBy" class="enterprise-info" | |
36 i18n-content="enterpriseInfoMessage" | |
37 hidden$="[[!showDomainMessages_]]"> | |
38 </p> | |
39 </div> | |
40 | |
41 <div class="footer flex vertical layout justified"> | |
42 <!-- This message contains <strong> and <br> tags inside. --> | |
43 <html-echo id="message" hidden$="[[!showDomainMessages_]]"></html-echo> | |
44 | |
45 <gaia-input-form on-submit="onSamlPageNextClicked_" | |
46 i18n-values="button-text:samlInterstitialNextBtn"> | |
47 <gaia-button type="link" on-tap="onSamlPageChangeAccountClicked_" | |
48 i18n-content="samlInterstitialChangeAccountLink"> | |
49 </gaia-button> | |
50 </gaia-input-form> | |
51 | |
52 <img id="logoImg" src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90" | |
xiyuan
2016/03/28 20:58:40
nit: wrong indent
xiyuan
2016/03/28 20:58:40
nit: logoImg -> logo-img
afakhry
2016/03/28 23:15:32
Done.
afakhry
2016/03/28 23:15:32
Done.
| |
53 class="self-center" alt=""> | |
54 </div> | |
55 </gaia-card> | |
56 | |
57 </template> | |
58 | |
59 </dom-module> | |
OLD | NEW |