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

Side by Side Diff: chrome/browser/resources/chromeos/login/saml_interstitial.html

Issue 1831523003: FR: SAML Sign In - Interstitial page to send users directly to IdP login screen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Xiyuan's comments and rebase Created 4 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/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 enterprise domain the device is enrolled to.
10 'showDomainMessages_' - If true, the messages showing the enrollment domain
xiyuan 2016/03/29 02:10:49 Remove trailing "_"?
afakhry 2016/03/29 03:12:02 Done.
11 will be shown. Its value is set automatically when
12 'domain' is set, and is true as long as 'domain' is
13 not empty.
14
15 Events:
16 'samlPageNextClicked' - Fired when the "Next" button is clicked indicating
17 that the user would like to proceed with
18 authentication via his enrollement SAML IdP.
19 'samlPageChangeAccountClicked' - Fired when the user clicks the sign in with
20 a differnt account link. GAIA Minute Maid
21 screen will be shown.
22 -->
23 <dom-module name="saml-interstitial">
24
25 <template>
26 <style>
27 :host {
28 display: block;
29 line-height: 150%;
30 }
31 </style>
32
33 <gaia-card id="samlInterstitialCard" class="fit">
34 <div id="samlInterstitialHeader"
35 class="header flex vertical layout end-justified start">
36 <h1 class="welcome-message" i18n-content="loginWelcomeMessage">
37 </h1>
38 <p id="managedBy" class="enterprise-info"
39 i18n-content="enterpriseInfoMessage"
40 hidden$="[[!showDomainMessages_]]">
41 </p>
42 </div>
43
44 <div class="footer flex vertical layout justified">
45 <!-- This message contains <strong> and <br> tags inside. -->
46 <html-echo id="message" hidden$="[[!showDomainMessages_]]"></html-echo>
47
48 <gaia-input-form on-submit="onSamlPageNextClicked_"
49 i18n-values="button-text:samlInterstitialNextBtn">
50 <gaia-button type="link" on-tap="onSamlPageChangeAccountClicked_"
51 i18n-content="samlInterstitialChangeAccountLink">
52 </gaia-button>
53 </gaia-input-form>
54
55 <img id="logo-img" src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90"
56 class="self-center" alt="">
57 </div>
58 </gaia-card>
59
60 </template>
61
62 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698