1 <link rel=
"import" href=
"chrome://oobe/custom_elements.html">
2 <link rel=
"import" href=
"chrome://resources/polymer/core-animated-pages/core-animated-pages.html">
3 <link rel=
"import" href=
"chrome://resources/polymer/core-iconset-svg/core-iconset-svg.html">
4 <link rel=
"import" href=
"chrome://resources/polymer/core-item/core-item.html">
5 <link rel=
"import" href=
"chrome://resources/polymer/polymer/polymer.html">
7 <core-iconset-svg id=
"host-pairing-icons" iconSize=
"48">
11 <include src=
"../../../../app/theme/cast_icon.svg">
17 <polymer-element name=
"host-pairing-page" noscript
>
19 <link rel=
"stylesheet" href=
"oobe_screen_host_pairing_page.css">
22 <content select=
".title"></content>
30 <polymer-element name=
"host-pairing-screen" extends=
"oobe-screen">
32 <link rel=
"stylesheet" href=
"oobe_screen_host_pairing.css">
34 <core-animated-pages transitions=
"cross-fade-all"
35 selected=
"{{C.page}}">
36 <host-pairing-page name=
"welcome">
37 <div class=
"title">{{'welcomeTitle' | i18n}}
</div>
38 <div>{{'welcomeText' | i18n}}
</div>
40 <host-pairing-page name=
"code-confirmation">
41 <div class=
"title">{{'confirmationTitle' | i18n}}
</div>
42 <div id=
"code">{{C.code}}
</div>
44 <host-pairing-page name=
"update">
45 <div class=
"title">{{'updatingTitle' | i18n}}
</div>
46 <!-- Not yet implemented on backend side. -->
47 <!--div>{{['updatingText', C.downloadedMb, C.totalMb] | i18n}}</div-->
49 <host-pairing-page name="enrollment-introduction">
50 <div class="title">{{'enrollTitle' | i18n}}</div>
52 <host-pairing-page name="enrollment">
54 <!-- 'enrollmentTitle' contains <strong> tag. We need to wrap it in
55 'html-echo' to prevent HTML escaping. -->
57 content=
"{{['enrollingTitle', C.enrollmentDomain] | i18n}}">
61 <host-pairing-page name=
"enrollment-error">
62 <div class=
"title">{{'enrollmentErrorTitle' | i18n}}
</div>
63 <div>{{'errorNeedsRestart' | i18n}}
</div>
65 <host-pairing-page name=
"pairing-done">
66 <div class=
"title">{{'doneTitle' | i18n}}
</div>
67 <div>{{'doneText' | i18n}}
</div>
69 </core-animated-pages>
70 <core-item id=
"device-indicator"class=
"font-scalable"
71 icon=
"host-pairing-icons:cast">
72 <div id=
"device-label">{{C.deviceName}}
</div>
74 <div id=
"illustration"></div>