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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
ash / webui / status_area_internals / resources / status_area_internals.html [blame]
<!-- Copyright 2023 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<style>
:host {
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
}
app-header {
background-color: royalblue;
color: white;
font-size: 200%;
padding: 8px;
text-align: center;
}
.input-field {
margin: 2.5% 5%;
display: flex;
}
.input-field-column {
flex: 1;
margin-right: 16px;
}
.input-field ol {
margin: 0 0 8px 0;
padding: 0 16px;
}
.input-field ol>li {
align-items: center;
border-bottom: none;
display: flex;
padding: 0 0 8px 0;
}
.padded-text {
margin-inline-start: 5px;
}
.row {
display: flex;
flex: 0 1 100%;
}
.radio-group {
margin-left: 16px;
}
.radio-group h2 {
margin-bottom: 8px;
}
.radio-group label {
display: block;
margin-bottom: 8px;
}
</style>
<app-header>
<app-toolbar>ChromeOS Status Area Tester</app-toolbar>
</app-header>
<div class="input-field">
<div class=""input-field-column>
<ol>
<h2>Shelf Pod</h2>
<p>Toggle to show or hide the pod in the shelf</p>
<li>
<div class="row">
<cr-toggle aria-label="ime-tray" on-change="onImeToggled"></cr-toggle>
<span aria-hidden="true" class="padded-text">
IME Tray
</span>
</div>
</li>
<li>
<div class="row">
<cr-toggle aria-label="palette-tray" on-change="onPaletteToggled">
</cr-toggle>
<span aria-hidden="true" class="padded-text">
Palette Tray
</span>
</div>
</li>
<li>
<div class="row">
<cr-toggle aria-label="logout-button" on-change="onLogoutToggled">
</cr-toggle>
<span aria-hidden="true" class="padded-text">
Logout Button
</span>
</div>
</li>
<li>
<div class="row">
<cr-toggle aria-label="logout-button" on-change="onVirtualKeyboardToggled">
</cr-toggle>
<span aria-hidden="true" class="padded-text">
Virtual Keyboard Tray
</span>
</div>
</li>
<li>
<div class="row">
<cr-toggle aria-label="logout-button" on-change="onDictationToggled">
</cr-toggle>
<span aria-hidden="true" class="padded-text">
Dictation Tray
</span>
</div>
</li>
<li>
<div class="row">
<cr-toggle aria-label="logout-button" on-change="onVideoConferenceToggled">
</cr-toggle>
<span aria-hidden="true" class="padded-text">
Video Conference Tray
</span>
</div>
</li>
<li>
<div class="row">
<cr-toggle aria-label="annotation-tray" on-change="onAnnotatorToggled">
</cr-toggle>
<span aria-hidden="true" class="padded-text">
Annotation Tray
</span>
</div>
</li>
</ol>
<ol>
<h2>Quick Settings</h2>
<h3>Supervised User UI</h3>
<li>
<div class="row">
<cr-toggle aria-label="child-user" on-change="onChildUserToggled">
</cr-toggle>
<span aria-hidden="true" class="padded-text">
Child User
</span>
</div>
</li>
</ol>
<ol>
<h2>Privacy Indicators</h2>
<privacy-indicator-app-manager></privacy-indicator-app-manager>
</ol>
<ol>
<h2>Help Me Write</h2>
<li>
<div class="row">
<cr-button on-click="onHmrConsentStatusReset">
<span class="emphasize">Reset Help Me Write consent status</span>
</cr-button>
</div>
</li>
</ol>
</div>
<div class="input-field-column">
<div class="radio-group" aria-label="icon-settings" on-change="onBatteryIconChanged">
<h2>Battery Settings</h2>
<p class="note">Note: Power settings cannot be accessed when this page is open.</p>
<label>
<input type="radio" aria-label="x-icon" name="battery-icon" value="x-icon">
X-icon
</label>
<label>
<input type="radio" aria-label="unreliable-icon" name="battery-icon" value="unreliable-icon">
Unreliable Icon
</label>
<label>
<input type="radio" aria-label="bolt-icon" name="battery-icon" value="bolt-icon">
Bolt Icon
</label>
<label>
<input type="radio" aria-label="battery-saver-plus-icon" name="battery-icon" value="battery-saver-plus-icon">
Battery Saver Plus Icon
</label>
<label>
<input type="radio" aria-label="default" name="battery-icon" value="default" checked>
Default (no-icon)
</label>
</div>
<div class="row">
<label>
Battery Percentage:
<input type="range" id="battery-percent-slider" aria-label="battery-percentage-slider" name="battery-percent" min="0" max="100" value="{{batteryPercent::input}}" on-change="onBatteryPercentChanged">
</label>
<span id="battery-percent-value">{{batteryPercent}}%</span>
</div>
</div>
</div>