Chromium Code Reviews| Index: chrome/browser/resources/chromeos/login/saml_interstitial.html |
| diff --git a/chrome/browser/resources/chromeos/login/saml_interstitial.html b/chrome/browser/resources/chromeos/login/saml_interstitial.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..db3f75be35fd2325c41507d528e14470f2a0392e |
| --- /dev/null |
| +++ b/chrome/browser/resources/chromeos/login/saml_interstitial.html |
| @@ -0,0 +1,62 @@ |
| +<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
| + |
| +<!-- |
| +UI for the SAML interstitial page. |
| +Example: |
| + <saml-interstitial></saml-interstitial> |
| + |
| +Attributes: |
| + 'domain' - The enterprise domain the device is enrolled to. |
| + '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.
|
| + will be shown. Its value is set automatically when |
| + 'domain' is set, and is true as long as 'domain' is |
| + not empty. |
| + |
| +Events: |
| + 'samlPageNextClicked' - Fired when the "Next" button is clicked indicating |
| + that the user would like to proceed with |
| + authentication via his enrollement SAML IdP. |
| + 'samlPageChangeAccountClicked' - Fired when the user clicks the sign in with |
| + a differnt account link. GAIA Minute Maid |
| + screen will be shown. |
| +--> |
| +<dom-module name="saml-interstitial"> |
| + |
| +<template> |
| + <style> |
| + :host { |
| + display: block; |
| + line-height: 150%; |
| + } |
| + </style> |
| + |
| + <gaia-card id="samlInterstitialCard" class="fit"> |
| + <div id="samlInterstitialHeader" |
| + class="header flex vertical layout end-justified start"> |
| + <h1 class="welcome-message" i18n-content="loginWelcomeMessage"> |
| + </h1> |
| + <p id="managedBy" class="enterprise-info" |
| + i18n-content="enterpriseInfoMessage" |
| + hidden$="[[!showDomainMessages_]]"> |
| + </p> |
| + </div> |
| + |
| + <div class="footer flex vertical layout justified"> |
| + <!-- This message contains <strong> and <br> tags inside. --> |
| + <html-echo id="message" hidden$="[[!showDomainMessages_]]"></html-echo> |
| + |
| + <gaia-input-form on-submit="onSamlPageNextClicked_" |
| + i18n-values="button-text:samlInterstitialNextBtn"> |
| + <gaia-button type="link" on-tap="onSamlPageChangeAccountClicked_" |
| + i18n-content="samlInterstitialChangeAccountLink"> |
| + </gaia-button> |
| + </gaia-input-form> |
| + |
| + <img id="logo-img" src="chrome://theme/IDR_LOGO_GOOGLE_COLOR_90" |
| + class="self-center" alt=""> |
| + </div> |
| + </gaia-card> |
| + |
| +</template> |
| + |
| +</dom-module> |