summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/chromeos/login/saml_confirm_password.html
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/resources/chromeos/login/saml_confirm_password.html')
-rw-r--r--chromium/chrome/browser/resources/chromeos/login/saml_confirm_password.html90
1 files changed, 0 insertions, 90 deletions
diff --git a/chromium/chrome/browser/resources/chromeos/login/saml_confirm_password.html b/chromium/chrome/browser/resources/chromeos/login/saml_confirm_password.html
deleted file mode 100644
index f10e848b230..00000000000
--- a/chromium/chrome/browser/resources/chromeos/login/saml_confirm_password.html
+++ /dev/null
@@ -1,90 +0,0 @@
-<!-- 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://resources/polymer/v1_0/iron-flex-layout/classes/iron-flex-layout.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animations/fade-in-animation.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animations/fade-out-animation.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-animatable.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-animated-pages.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dialog.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
-
-<!--
- SAML password confirmation UI for the New Gaia flow.
- Contains two cards with a fade transition between them:
- 1. Password input form.
- 2. Spinner with notice "Please wait";
-
- Example:
- <saml-confirm-password id="saml-confirm-password" hidden>
- </saml-confirm-password>
-
- Attributes:
- 'email' - Displayed email in header.
-
- Events:
- 'passwordEnter' - Fired when user enters password. Fires with an argument
- |password|.
- 'cancel' - Fired when user presses the X-button and then presses YES
- in the cancel confirmation dialog.
-
- Methods:
- 'invalidate' - Mark password input as invalid.
- 'reset' - Reset element, switches to the first screen, closes
- the confirm dialog, displays the close button,
- empties password field and enables buttons.
- 'focus' - If the current card is the first one, focuses password input.
--->
-<dom-module name="saml-confirm-password">
- <link rel="stylesheet" href="saml_confirm_password.css">
-
- <template>
- <neon-animated-pages id="animatedPages" class="fit"
- entry-animation="fade-in-animation" exit-animation="fade-out-animation"
- on-neon-animation-finish="onAnimationFinish_" selected="0">
- <neon-animatable class="fit">
- <gaia-card id="confirmPasswordCard" class="fit">
- <gaia-header class="header flex" email="[[email]]">
- </gaia-header>
- <div class="footer gaia-body-text horizontal layout center">
- <p i18n-content="confirmPasswordTitle">
- </p>
- </div>
- <gaia-input-form id="inputForm" class="footer"
- on-submit="onPasswordSubmitted_" disabled="[[disabled]]"
- i18n-values="button-text:nextButtonText">
- <gaia-input id="passwordInput" type="password" required
- i18n-values="error:confirmPasswordIncorrectPassword;
- label:confirmPasswordLabel;">
- </gaia-input>
- </gaia-input-form>
- </gaia-card>
- </neon-animatable>
- <neon-animatable class="fit">
- <throbber-notice i18n-values="text:gaiaLoadingNewGaia" class="fit">
- </throbber-notice>
- </neon-animatable>
- </neon-animated-pages>
-
- <gaia-icon-button id="closeButton" icon="close" on-tap="onClose_"
- disabled="[[disabled]]" i18n-values="aria-label:closeButton">
- </gaia-icon-button>
-
- <paper-dialog id="cancelConfirmDlg" no-cancel-on-outside-click
- on-iron-overlay-closed="onDialogOverlayClosed_">
- <h2 i18n-content="accountSetupCancelDialogTitle"></h2>
- <div class="buttons">
- <gaia-button type="dialog" dialog-dismiss autofocus
- i18n-content="accountSetupCancelDialogNo">
- </gaia-button>
- <gaia-button type="dialog" dialog-confirm on-tap="onConfirmCancel_"
- i18n-content="accountSetupCancelDialogYes">
- </gaia-button>
- </div>
- </paper-dialog>
-
- </template>
-</dom-module>
-