OLD | NEW |
---|---|
1 <!-- TODO(dzhioev): replace all the strings with i18n-values. --> | 1 <link rel="import" href="polymer/core-item/core-item.html"> |
2 <div class="step hidden no-logo" id="host-pairing" hidden> | 2 <link rel="import" href="polymer/core-animated-pages/core-animated-pages.html"> |
3 <div alias="pageNameLabel_" class="page-name"></div> | 3 <link rel="import" href="polymer/core-iconset-svg/core-iconset-svg.html"> |
4 <div>My name is <strong alias="deviceNameLabel_"></strong>.</div> | 4 <link rel="import" href="polymer/polymer/polymer.html"> |
5 <div class="page page-welcome"> | 5 |
6 <div>Welcome!</div> | 6 <core-iconset-svg id="host-pairing-icons" iconSize="48"> |
7 </div> | 7 <svg> |
8 <div class="page page-code-confirmation"> | 8 <defs> |
9 <div>Pair with a controller</div> | 9 <g id="cast"> |
10 <div alias="confirmationCodeLabel_"></div> | 10 <include src="../../../../app/theme/cast_icon.svg"> |
11 </div> | 11 </g> |
12 <div class="page page-update"> | 12 </defs> |
13 <div>Updating Chromebox...</div> | 13 </svg> |
14 <progress alias="updateProgressBar_"></progress> | 14 </core-iconset-svg> |
15 </div> | 15 |
16 <div class="page page-enrollment-introduction"> | 16 <polymer-element name="host-pairing-page" noscript> |
17 <div>Enroll your organization</div> | 17 <template> |
18 </div> | 18 <link rel="stylesheet" href="oobe_screen_host_pairing_page.css"> |
19 <div class="page page-enrollment"> | 19 |
20 <div> | 20 <div id="title"> |
21 Enrolling in <strong alias="domainNameLabel_">domain.com</strong>... | 21 <content select=".title"></content> |
22 </div> | 22 </div> |
23 </div> | 23 <div id="content"> |
24 <div class="page page-enrollment-error"> | 24 <content></content> |
25 <div>Enrollment failed =(</div> | 25 </div> |
26 </div> | 26 </template> |
27 <div class="page page-pairing-done"> | 27 </polymer-element> |
28 <div>Great success!</div> | 28 |
29 </div> | 29 <polymer-element name="host-pairing-screen" extends="oobe-screen"> |
30 <template> | |
31 <link rel="stylesheet" href="oobe_screen_host_pairing.css"> | |
32 | |
33 <core-animated-pages valueattr="page" | |
34 transitions="cross-fade-all" | |
35 selected="{{C.page}}"> | |
36 <host-pairing-page page="welcome"> | |
37 <div class="title">{{'welcomeTitle' | i18n}}</div> | |
38 <div>{{'welcomeText' | i18n}}</div> | |
39 </host-pairing-page> | |
40 <host-pairing-page page="code-confirmation"> | |
41 <div class="title">{{'confirmationTitle' | i18n}}</div> | |
42 <div id="code">{{C.code}}</div> | |
43 </host-pairing-page> | |
44 <host-pairing-page page="update"> | |
45 <div class="title">{{'updatingTitle' | i18n}}</div> | |
46 <!-- Not yet implemented on backend side. --> | |
Nikita (slow)
2014/09/26 09:10:08
nit: File a tracking bug for this.
dzhioev (left Google)
2014/09/26 22:56:11
OK, will file on monday.
| |
47 <!--div>{{['updatingText', C.downloadedMb, C.totalMb] | i18n}}</div--> | |
48 </host-pairing-page> | |
49 <host-pairing-page page="enrollment-introduction"> | |
50 <div class="title">{{'enrollTitle' | i18n}}</div> | |
51 </host-pairing-page> | |
52 <host-pairing-page page="enrollment"> | |
53 <div class="title"> | |
54 <!-- 'enrollmentTitle' contains <strong> tag. We need to wrap it in | |
Nikita (slow)
2014/09/25 20:20:00
nit: Provide generalized version of this comment i
dzhioev (left Google)
2014/09/26 22:56:11
Done.
| |
55 'html-echo' to prevent HTML escaping. --> | |
56 <html-echo | |
57 content="{{['enrollingTitle', C.enrollmentDomain] | i18n}}"> | |
58 </html-echo> | |
59 </div> | |
60 </host-pairing-page> | |
61 <host-pairing-page page="enrollment-error"> | |
62 <div class="title">{{'enrollmentErrorTitle' | i18n}}</div> | |
63 <div>{{'errorNeedsRestart' | i18n}}</div> | |
64 </host-pairing-page> | |
65 <host-pairing-page page="pairing-done"> | |
66 <div class="title">{{'doneTitle' | i18n}}</div> | |
67 <div>{{'doneText' | i18n}}</div> | |
68 </host-pairing-page> | |
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> | |
73 </core-item> | |
74 <div id="illustration"></div> | |
75 </template> | |
76 </polymer-element> | |
77 | |
78 <div class="step hidden no-logo fullscreen" id="host-pairing" hidden> | |
79 <host-pairing-screen name="HostPairingScreen"></host-pairing-screen> | |
30 </div> | 80 </div> |
81 | |
OLD | NEW |