Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Side by Side Diff: chrome/browser/resources/chromeos/login/host-pairing-screen.html

Issue 1535573002: 1) Add initialization error page; 2) Add connection error page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: We don't need to set enrollment related local state for a host device since Enrollment Screen doesn… Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- Copyright 2015 The Chromium Authors. All rights reserved. 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 2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. --> 3 found in the LICENSE file. -->
4 4
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-i conset-svg.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-i conset-svg.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-in-animation.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-in-animation.html">
9 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-out-animation.html"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-out-animation.html">
10 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable-behavior.html"> 10 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable-behavior.html">
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 <link rel="stylesheet" href="oobe_screen_host_pairing.css"> 42 <link rel="stylesheet" href="oobe_screen_host_pairing.css">
43 43
44 <template> 44 <template>
45 <neon-animated-pages attr-for-selected="name" selected="[[C.page]]" 45 <neon-animated-pages attr-for-selected="name" selected="[[C.page]]"
46 entry-animation="fade-in-animation" exit-animation="fade-out-animation"> 46 entry-animation="fade-in-animation" exit-animation="fade-out-animation">
47 <host-pairing-page name="welcome"> 47 <host-pairing-page name="welcome">
48 <div class="title" i18n-content="loginHostPairingScreenWelcomeTitle"> 48 <div class="title" i18n-content="loginHostPairingScreenWelcomeTitle">
49 </div> 49 </div>
50 <div i18n-content="loginHostPairingScreenWelcomeText"></div> 50 <div i18n-content="loginHostPairingScreenWelcomeText"></div>
51 </host-pairing-page> 51 </host-pairing-page>
52 <host-pairing-page name="initialization-error">
53 <div class="title"
54 i18n-content="loginHostPairingScreenInitializationErrorTitle">
55 </div>
56 <div i18n-content="loginHostPairingScreenErrorNeedRestartText"></div>
57 </host-pairing-page>
52 <host-pairing-page name="code-confirmation"> 58 <host-pairing-page name="code-confirmation">
53 <div class="title" 59 <div class="title"
54 i18n-content="loginHostPairingScreenConfirmationTitle"> 60 i18n-content="loginHostPairingScreenConfirmationTitle">
55 </div> 61 </div>
56 <div id="code">{{C.code}}</div> 62 <div id="code">{{C.code}}</div>
57 </host-pairing-page> 63 </host-pairing-page>
64 <host-pairing-page name="connection-error">
65 <div class="title"
66 i18n-content="loginHostPairingScreenConnectionErrorTitle">
67 </div>
68 <div i18n-content="loginHostPairingScreenErrorNeedRestartText"></div>
69 </host-pairing-page>
58 <host-pairing-page name="setup-basic-configuration"> 70 <host-pairing-page name="setup-basic-configuration">
59 <div class="title" 71 <div class="title"
60 i18n-content="loginHostPairingScreenSetupBasicConfigTitle"> 72 i18n-content="loginHostPairingScreenSetupBasicConfigTitle">
61 </div> 73 </div>
62 </host-pairing-page> 74 </host-pairing-page>
63 <host-pairing-page name="setup-network-error"> 75 <host-pairing-page name="setup-network-error">
64 <div class="title" 76 <div class="title"
65 i18n-content="loginHostPairingScreenSetupNetworkErrorTitle"> 77 i18n-content="loginHostPairingScreenSetupNetworkErrorTitle">
66 </div> 78 </div>
79 <div i18n-content="loginHostPairingScreenErrorNeedRestartText"></div>
67 </host-pairing-page> 80 </host-pairing-page>
68 <host-pairing-page name="update"> 81 <host-pairing-page name="update">
69 <div class="title" i18n-content="loginHostPairingScreenUpdatingTitle"> 82 <div class="title" i18n-content="loginHostPairingScreenUpdatingTitle">
70 </div> 83 </div>
71 </host-pairing-page> 84 </host-pairing-page>
72 <host-pairing-page name="enrollment-introduction"> 85 <host-pairing-page name="enrollment-introduction">
73 <div class="title" i18n-content="loginHostPairingScreenEnrollTitle"> 86 <div class="title" i18n-content="loginHostPairingScreenEnrollTitle">
74 </div> 87 </div>
75 </host-pairing-page> 88 </host-pairing-page>
76 <host-pairing-page name="enrollment"> 89 <host-pairing-page name="enrollment">
77 <div class="title"> 90 <div class="title">
78 <!-- 'enrollmentTitle' contains <strong> tag. We need to wrap it in 91 <!-- 'enrollmentTitle' contains <strong> tag. We need to wrap it in
79 'html-echo' to prevent HTML escaping. --> 92 'html-echo' to prevent HTML escaping. -->
80 <html-echo content="[[getEnrollmentStepTitle_(C.enrollmentDomain)]]"> 93 <html-echo content="[[getEnrollmentStepTitle_(C.enrollmentDomain)]]">
81 </html-echo> 94 </html-echo>
82 </div> 95 </div>
83 </host-pairing-page> 96 </host-pairing-page>
84 <host-pairing-page name="enrollment-error"> 97 <host-pairing-page name="enrollment-error">
85 <div class="title" 98 <div class="title"
86 i18n-content="loginHostPairingScreenEnrollmentErrorTitle"> 99 i18n-content="loginHostPairingScreenEnrollmentErrorTitle">
87 </div> 100 </div>
88 <div i18n-content="loginHostPairingScreenErrorNeedsRestart"></div> 101 <div i18n-content="loginHostPairingScreenErrorNeedRestartText"></div>
89 </host-pairing-page> 102 </host-pairing-page>
90 <host-pairing-page name="pairing-done"> 103 <host-pairing-page name="pairing-done">
91 <div class="title" i18n-content="loginHostPairingScreenDoneTitle"> 104 <div class="title" i18n-content="loginHostPairingScreenDoneTitle">
92 </div> 105 </div>
93 <div i18n-content="loginHostPairingScreenDoneText"></div> 106 <div i18n-content="loginHostPairingScreenDoneText"></div>
94 </host-pairing-page> 107 </host-pairing-page>
95 </neon-animated-pages> 108 </neon-animated-pages>
96 <paper-icon-item id="device-indicator"> 109 <paper-icon-item id="device-indicator">
97 <iron-icon icon="host-pairing-icons:cast" item-icon></iron-icon> 110 <iron-icon icon="host-pairing-icons:cast" item-icon></iron-icon>
98 <div id="device-label">{{C.deviceName}}</div> 111 <div id="device-label">{{C.deviceName}}</div>
99 </paper-icon-item> 112 </paper-icon-item>
100 <div id="illustration"></div> 113 <div id="illustration"></div>
101 </template> 114 </template>
102 </dom-module> 115 </dom-module>
103 116
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698