OLD | NEW |
1 <!-- Copyright 2017 The Chromium Authors. All rights reserved. | 1 <!-- Copyright 2017 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/paper-checkbox/paper-ch
eckbox.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> |
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> |
9 | 9 |
10 | 10 |
11 <dom-module name="arc-tos-md"> | 11 <dom-module name="arc-tos-md"> |
12 <template> | 12 <template> |
13 <link rel="stylesheet" href="arc_terms_of_service.css"> | 13 <link rel="stylesheet" href="arc_terms_of_service.css"> |
14 <link rel="stylesheet" href="oobe_dialog_parameters.css"> | 14 <link rel="stylesheet" href="oobe_dialog_parameters.css"> |
15 <oobe-dialog id="arc-tos-dialog-md" class="arc-tos-loading" has-buttons> | 15 <oobe-dialog id="arc-tos-dialog-md" class="arc-tos-loading" has-buttons> |
16 <iron-icon src="chrome://oobe/playstore.svg" class="oobe-icon"> | 16 <iron-icon src="chrome://oobe/playstore.svg" class="oobe-icon"> |
17 </iron-icon> | 17 </iron-icon> |
18 <div class="header"> | 18 <div class="header"> |
19 <h1 class="title">$i18n{arcTermsOfServiceScreenHeading}</h1> | 19 <h1 class="title" i18n-content="arcTermsOfServiceScreenHeading"></h1> |
20 <div class="subtitle">$i18n{arcTermsOfServiceScreenDescription}</div> | 20 <div class="subtitle" i18n-content="arcTermsOfServiceScreenDescription"> |
| 21 </div> |
21 </div> | 22 </div> |
22 <div class="footer flex layout vertical"> | 23 <div class="footer flex layout vertical"> |
23 <div id="arc-tos-view-container-md" class="arc-tos-content"> | 24 <div id="arc-tos-view-container-md" class="arc-tos-content"> |
24 <webview id="arc-tos-view-md"></webview> | 25 <webview id="arc-tos-view-md"></webview> |
25 </div> | 26 </div> |
26 <a id="arc-policy-link-md" class="arc-tos-content" href="#"> | 27 <a id="arc-policy-link-md" class="arc-tos-content" href="#" |
27 $i18n{arcPolicyLink} | 28 i18n-content="arcPolicyLink"></a> |
28 </a> | |
29 <div class="parameter-section arc-tos-content"> | 29 <div class="parameter-section arc-tos-content"> |
30 <p id="arc-text-metrics-md"></p> | 30 <p id="arc-text-metrics-md"></p> |
31 </div> | 31 </div> |
32 <div class="parameter-section arc-tos-content"> | 32 <div class="parameter-section arc-tos-content"> |
33 <paper-checkbox id="arc-enable-backup-restore-md"> | 33 <paper-checkbox id="arc-enable-backup-restore-md"> |
34 <p i18n-values=".innerHTML:arcTextBackupRestore"></p> | 34 <p i18n-values=".innerHTML:arcTextBackupRestore"></p> |
35 </paper-checkbox> | 35 </paper-checkbox> |
36 </div> | 36 </div> |
37 <div class="parameter-section arc-tos-content"> | 37 <div class="parameter-section arc-tos-content"> |
38 <paper-checkbox id="arc-enable-location-service-md"> | 38 <paper-checkbox id="arc-enable-location-service-md"> |
39 <p i18n-values=".innerHTML:arcTextLocationService"></p> | 39 <p i18n-values=".innerHTML:arcTextLocationService"></p> |
40 </paper-checkbox> | 40 </paper-checkbox> |
41 </div> | 41 </div> |
42 <div class="arc-tos-loading"> | 42 <div class="arc-tos-loading"> |
43 <p>$i18n{arcTermsOfServiceLoading}</p> | 43 <p i18n-content="arcTermsOfServiceLoading"></p> |
44 </div> | 44 </div> |
45 <div class="arc-tos-error"> | 45 <div class="arc-tos-error"> |
46 <p>$i18n{arcTermsOfServiceError}</p> | 46 <p i18n-content="arcTermsOfServiceError"></p> |
47 </div> | 47 </div> |
48 </div> | 48 </div> |
49 <div class="bottom-buttons flex layout horizontal"> | 49 <div class="bottom-buttons flex layout horizontal"> |
50 <div class="flex"> | 50 <div class="flex"> |
51 </div> | 51 </div> |
52 <oobe-text-button id="arc-tos-skip-button-md" on-tap="onSkip_" | 52 <oobe-text-button id="arc-tos-skip-button-md" on-tap="onSkip_" |
53 disabled="[[arcTosButtonsDisabled]]"> | 53 disabled="[[arcTosButtonsDisabled]]"> |
54 <div>$i18n{arcTermsOfServiceSkipButton}</div> | 54 <div i18n-content="arcTermsOfServiceSkipButton"></div> |
55 </oobe-text-button> | 55 </oobe-text-button> |
56 <oobe-text-button id="arc-tos-retry-button-md" | 56 <oobe-text-button id="arc-tos-retry-button-md" |
57 inverse on-tap="onRetry_" | 57 inverse on-tap="onRetry_" |
58 disabled="[[arcTosButtonsDisabled]]"> | 58 disabled="[[arcTosButtonsDisabled]]"> |
59 <div>$i18n{arcTermsOfServiceRetryButton}</div> | 59 <div i18n-content="arcTermsOfServiceRetryButton"></div> |
60 </oobe-text-button> | 60 </oobe-text-button> |
61 <oobe-text-button id="arc-tos-accept-button-md" | 61 <oobe-text-button id="arc-tos-accept-button-md" |
62 inverse on-tap="onAccept_" | 62 inverse on-tap="onAccept_" |
63 disabled="[[arcTosButtonsDisabled]]"> | 63 disabled="[[arcTosButtonsDisabled]]"> |
64 <div>$i18n{arcTermsOfServiceAcceptButton}</div> | 64 <div i18n-content="arcTermsOfServiceAcceptButton"></div> |
65 </oobe-text-button> | 65 </oobe-text-button> |
66 </div> | 66 </div> |
67 </oobe-dialog> | 67 </oobe-dialog> |
68 </template> | 68 </template> |
69 </dom-module> | 69 </dom-module> |
OLD | NEW |