1 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. -->
5 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/iron-flex-layout/classes/iron-flex-layout.html">
6 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
7 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/iron-iconset-svg/iron-iconset-svg.html">
8 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/neon-animation/animations/fade-in-animation.html">
9 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/neon-animation/animations/fade-out-animation.html">
10 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/neon-animation/neon-animatable-behavior.html">
11 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/neon-animation/neon-animated-pages.html">
12 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/paper-item/paper-icon-item.html">
13 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/paper-styles/color.html">
14 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/polymer/polymer.html">
16 <iron-iconset-svg name=
"host-pairing-icons" size=
"48">
20 <include src=
"../../../../app/theme/cast_icon.svg">
26 <dom-module name=
"host-pairing-page">
28 <link rel=
"stylesheet" href=
"oobe_screen_host_pairing_page.css">
32 <content select=
".title"></content>
40 <dom-module name=
"host-pairing-screen">
42 <link rel=
"stylesheet" href=
"oobe_screen_host_pairing.css">
45 <neon-animated-pages attr-for-selected=
"name" selected=
"[[C.page]]"
46 entry-animation=
"fade-in-animation" exit-animation=
"fade-out-animation">
47 <host-pairing-page name=
"welcome">
48 <div class=
"title" i18n-content=
"login_HostPairingScreen_welcomeTitle">
50 <div i18n-content=
"login_HostPairingScreen_welcomeText"></div>
52 <host-pairing-page name=
"code-confirmation">
54 i18n-content=
"login_HostPairingScreen_confirmationTitle">
56 <div id=
"code">{{C.code}}
</div>
58 <host-pairing-page name=
"update">
59 <div class=
"title" i18n-content=
"login_HostPairingScreen_updatingTitle">
62 <host-pairing-page name=
"enrollment-introduction">
63 <div class=
"title" i18n-content=
"login_HostPairingScreen_enrollTitle">
66 <host-pairing-page name=
"enrollment">
68 <!-- 'enrollmentTitle' contains <strong> tag. We need to wrap it in
69 'html-echo' to prevent HTML escaping. -->
70 <html-echo content=
"[[getEnrollmentStepTitle_(C.enrollmentDomain)]]">
74 <host-pairing-page name=
"enrollment-error">
76 i18n-content=
"login_HostPairingScreen_enrollmentErrorTitle">
78 <div i18n-content=
"login_HostPairingScreen_errorNeedsRestart"></div>
80 <host-pairing-page name=
"pairing-done">
81 <div class=
"title" i18n-content=
"login_HostPairingScreen_doneTitle">
83 <div i18n-content=
"login_HostPairingScreen_doneText"></div>
85 </neon-animated-pages>
86 <paper-icon-item id=
"device-indicator">
87 <iron-icon icon=
"host-pairing-icons:cast" item-icon
></iron-icon>
88 <div id=
"device-label">{{C.deviceName}}
</div>
90 <div id=
"illustration"></div>