File: assistant_related_info.html

package info (click to toggle)
chromium 139.0.7258.127-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 6,122,068 kB
  • sloc: cpp: 35,100,771; ansic: 7,163,530; javascript: 4,103,002; python: 1,436,920; asm: 946,517; xml: 746,709; pascal: 187,653; perl: 88,691; sh: 88,436; objc: 79,953; sql: 51,488; cs: 44,583; fortran: 24,137; makefile: 22,147; tcl: 15,277; php: 13,980; yacc: 8,984; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (103 lines) | stat: -rw-r--r-- 3,651 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!--
Copyright 2020 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<style include="oobe-dialog-host-styles assistant-common-styles">
  #content-container .content {
    padding-bottom: 16px;
  }

  .example-text {
    color: var(--cros-text-color-primary);
    font-family: var(--oobe-header-font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    max-width: 330px;
  }

  #relatedInfoImg {
    height: 100%;
    width: 100%;
  }

  #subtitle-container div:not(:last-child) {
    padding-bottom: 16px;
  }

  :host-context([orientation=vertical]) oobe-adaptive-dialog {
    --oobe-adaptive-dialog-content-top-padding: 0;
  }
</style>
<oobe-adaptive-dialog id="relatedInfoDialog" role="dialog" hide-shadow
    aria-label$=
        "[[getDialogTitle_(locale, skipActivityControl_, childName_)]]">
  <iron-icon slot="icon" icon="assistant-32:assistant"
      aria-label$="[[i18nDynamic(locale, 'assistantLogo')]]">
  </iron-icon>
  <h1 slot="title">
    [[getDialogTitle_(locale, skipActivityControl_, childName_)]]
  </h1>
  <div slot="subtitle" id="subtitle-container"
      hidden$="[[skipActivityControl_]]">
    <div hidden="[[childName_]]">
      [[i18nDynamic(locale, 'assistantScreenContextDesc')]]
    </div>
    <div hidden="[[!childName_]]">
      [[i18nDynamic(
          locale, 'assistantScreenContextDescForChild', childName_)]]
    </div>
    <div>[[i18nDynamic(locale, 'assistantRelatedInfoMessage')]]</div>
  </div>
  <div id="animation-container" hidden$="[[!skipActivityControl_]]">
    <webview id="assistant-animation-webview" tabindex="-1"></webview>
  </div>
  <div slot="content" class="flex layout vertical center center-justified"
      hidden$="[[skipActivityControl_]]">
    <div class="example-text" hidden="[[childName_]]">
      [[i18nDynamic(locale, 'assistantRelatedInfoExample')]]
    </div>
    <div class="example-text" hidden="[[!childName_]]">
      [[i18nDynamic(locale, 'assistantRelatedInfoExampleForChild')]]
    </div>
    <iron-icon id="relatedInfoImg" icon="assistant-illo:related_info">
    </iron-icon>
  </div>
  <div slot="content" id="content-container" class="landscape-header-aligned"
      hidden$="[[!skipActivityControl_]]">
    <div class="content" hidden="[[childName_]]">
      [[i18nDynamic(locale, 'assistantRelatedInfoReturnedUserMessage')]]
    </div>
    <div class="content" hidden="[[!childName_]]">
      [[i18nDynamic(locale,
          'assistantRelatedInfoReturnedUserMessageForChild', childName_)]]
    </div>
    <div class="line"></div>
    <setting-zippy id="zippy">
      <iron-media-query query="(prefers-color-scheme: dark)"
          query-matches="{{isDarkModeActive_}}">
      </iron-media-query>
      <div slot="title">
        [[i18nDynamic(locale, 'assistantScreenContextTitle')]]
      </div>
      <div slot="content" hidden="[[childName_]]">
        [[i18nDynamic(locale, 'assistantScreenContextDesc')]]
      </div>
      <div slot="content" hidden="[[!childName_]]">
        [[i18nDynamic(locale,
            'assistantScreenContextDescForChild', childName_)]]
      </div>
    </setting-zippy>
  </div>
  <div slot="bottom-buttons" class="layout horizontal end-justified">
    <oobe-text-button id="skip-button" disabled="[[loading]]"
        text-key="assistantOptinNoThanksButton" on-click="onSkipTap_">
    </oobe-text-button>
    <oobe-text-button id="next-button" inverse="[[!equalWeightButtons_]]"
        disabled="[[loading]]" text-key="assistantOptinAgreeButton"
        on-click="onNextTap_">
    </oobe-text-button>
  </div>
</oobe-adaptive-dialog>