blob: 9763efb4829710ffd49d349d5eba6925ea545318 [file] [log] [blame]
<!-- Copyright 2015 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<link rel="import" href="chrome://oobe/custom_elements.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-iconset-svg.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<link rel="stylesheet" href="gaia_card_parameters.css">
<div id="oauth-enrollment" class="step no-logo hidden" hidden>
<div id="oauth-enroll-step-contents">
<link rel="stylesheet" href="oobe_flex_layout.css">
<div id="oauth-enroll-step-signin">
<oobe-dialog class="gaia-dialog" role="dialog" id="enrollment-gaia-dialog"
has-buttons no-header no-footer-padding>
<div slot="footer" class="flex layout vertical">
<webview id="oauth-enroll-auth-view" name="oauth-enroll-auth-view">
</webview>
</div>
<div slot="bottom-buttons" class="flex layout horizontal center">
<oobe-back-button id="oobe-signin-back-button"></oobe-back-button>
</div>
</oobe-dialog>
</div>
<div id="oauth-enroll-step-working">
<oobe-dialog id="oauth-enroll-working">
<hd-iron-icon slot="oobe-icon"
icon1x="oobe-enrollment-32:briefcase"
icon2x="oobe-enrollment-64:briefcase"></hd-iron-icon>
<h1 slot="title" i18n-content="oauthEnrollScreenTitle"></h1>
<paper-progress slot="progress" indeterminate>
</paper-progress>
<div slot="footer" class="flex layout vertical">
<div class="oauth-enroll-step-message">
<span i18n-content="oauthEnrollWorking"></span>
</div>
</div>
</oobe-dialog>
</div>
<div id="oauth-enroll-step-license">
<enrollment-license-card id="oauth-enroll-license-ui"
i18n-values="button-text:oauthEnrollNextBtn">
</enrollment-license-card>
</div>
<div id="oauth-enroll-step-ad-join">
<offline-ad-login id="oauth-enroll-ad-join-ui" is-domain-join
class="fit" i18n-values=
"ad-welcome-message:oauthEnrollAdDomainJoinWelcomeMessage">
</offline-ad-login>
</div>
<div id="oauth-enroll-step-error" role="alert">
<notification-card id="oauth-enroll-error-card" type="fail"
i18n-values="button-label:oauthEnrollRetry">
</notification-card>
</div>
<div id="oauth-enroll-step-success" role="alert">
<oobe-dialog id="oauth-enroll-success-card" has-buttons>
<hd-iron-icon slot="oobe-icon"
icon1x="oobe-enrollment-32:briefcase"
icon2x="oobe-enrollment-64:briefcase"></hd-iron-icon>
<h1 slot="title" i18n-content="oauthEnrollSuccessTitle"></h1>
<oobe-enrollment-success-with-domain id="oauth-enroll-success-subtitle"
slot="subtitle">
</oobe-enrollment-success-with-domain>
<div slot="footer" class="flex layout vertical center end-justified">
<img srcset="images/enrollment_success_illustration_1x.png 1x,
images/enrollment_success_illustration_2x.png 2x"
i18n-values="alt:enrollmentSuccessIllustrationTitle">
</div>
<div slot="bottom-buttons" class="layout horizontal end-justified">
<oobe-text-button inverse id="enroll-success-done-button"
class="focus-on-show">
<div i18n-content="oauthEnrollDone"></div>
</oobe-text-button>
</div>
</oobe-dialog>
</div>
<div id="oauth-enroll-step-attribute-prompt">
<oobe-dialog id="oauth-enroll-attribute-prompt-card" has-buttons>
<hd-iron-icon slot="oobe-icon"
icon1x="oobe-enrollment-32:briefcase"
icon2x="oobe-enrollment-64:briefcase"></hd-iron-icon>
<h1 slot="title" i18n-content="oauthEnrollScreenTitle"></h1>
<div slot="subtitle" i18n-content="oauthEnrollDeviceInformation"></div>
<div slot="footer" class="layout vertical start">
<div class="oauth-enroll-step-message">
<span id="oauth-enroll-attribute-prompt-message"
i18n-content="oauthEnrollAttributeExplanation"></span>
<a href="#" id="oauth-enroll-learn-more-link"
class="oauth-enroll-link"
i18n-content="oauthEnrollExplainAttributeLink"></a>
</div>
<gaia-input id="oauth-enroll-asset-id" type="text"
class="focus-on-show">
<div slot="label" i18n-content="oauthEnrollAssetIdLabel">
</div>
</gaia-input>
<gaia-input id="oauth-enroll-location" type="text">
<div slot="label" i18n-content="oauthEnrollLocationLabel">
</div>
</gaia-input>
</div>
<div slot="bottom-buttons" class="layout horizontal end-justified">
<oobe-text-button id="enroll-attributes-skip-button">
<div i18n-content="oauthEnrollSkip"></div>
</oobe-text-button>
<div class="flex"></div>
<oobe-next-button
id="enroll-attributes-submit-button"></oobe-next-button>
</div>
</oobe-dialog>
</div>
<div id="oauth-enroll-step-attribute-prompt-error">
<notification-card id="oauth-enroll-attribute-prompt-error-card"
type="fail" i18n-values="button-label:oauthEnrollDone">
</notification-card>
</div>
<div id="oauth-enroll-step-active-directory-join-error">
<notification-card id="oauth-enroll-active-directory-join-error-card"
type="fail" i18n-values="button-label:oauthEnrollRetry">
</notification-card>
</div>
</div>
<div id="oauth-saml-notice-container">
<span id="oauth-saml-notice-message"></span>
</div>
<navigation-bar id="oauth-enroll-navigation"></navigation-bar>
</div>