File: app.html

package info (click to toggle)
chromium 138.0.7204.183-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 6,080,960 kB
  • sloc: cpp: 34,937,079; ansic: 7,176,967; javascript: 4,110,704; python: 1,419,954; asm: 946,768; xml: 739,971; pascal: 187,324; sh: 89,623; perl: 88,663; objc: 79,944; sql: 50,304; cs: 41,786; fortran: 24,137; makefile: 21,811; php: 13,980; tcl: 13,166; yacc: 8,925; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (95 lines) | stat: -rw-r--r-- 2,203 bytes parent folder | download | duplicates (5)
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
<style include="cr-nav-menu-item-style healthd-internals-shared">
  #appContainer {
    display: flex;
    height: 100vh;
    width: 100vw;
  }

  #main {
    height: 100%;
    flex-grow: 1;
  }

  #sidebarContainer {
    display: flex;
    height: 100%;
  }

  #sidebar {
    border-inline-end: 1px solid var(--cr-separator-color);
    box-sizing: border-box;
    overflow: auto;
    width: 240px;
    white-space: nowrap;
    transition: width .2s ease-in-out;
  }

  #sidebar.collapsed {
    width: 0px;
  }

  #selector {
    padding-inline-end: 8px;
  }

  #settingsButtonContainer {
    display: flex;
    justify-content: center;
  }

  #sidebarToggleButton {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 16px;
    width: 20px;
    cursor: pointer;
    color: var(--cr-primary-text-color);
  }

  #sidebarToggleButton:hover {
    background-color: var(--cros-sys-highlight_shape);
  }
</style>

<healthd-internals-settings-dialog id="settingsDialog">
</healthd-internals-settings-dialog>

<div id="appContainer">

<div id="sidebarContainer">
  <div id="sidebar">
    <h1 id="pageTitle">Healthd Internals</h1>
    <cr-menu-selector id="selector"
        selected="{{selectedIndex}}"
        selected-attribute="selected">
      <template is="dom-repeat" items="[[pageList]]">
        <a role="menuitem" href="[[item.path]]" class="cr-nav-menu-item">
          [[item.name]]
        </a>
      </template>
    </cr-menu-selector>
    <div id="settingsButtonContainer">
      <cr-button on-click="openSettingsDialog">Settings</cr-button>
    </div>
  </div>
  <div id="sidebarToggleButton" on-click="toggleSidebar">&lt;</div>
</div>

<iron-location path="{{currentPath}}"></iron-location>

<div id="main">
  <iron-pages class="full-page" selected="[[selectedIndex]]">
    <healthd-internals-info id="infoPage">
    </healthd-internals-info>
    <healthd-internals-telemetry id="telemetryPage">
    </healthd-internals-telemetry>
    <healthd-internals-process id="processPage">
    </healthd-internals-process>
    <healthd-internals-system-trend id="systemTrendPage">
    </healthd-internals-system-trend>
  </iron-pages>
</div>

</div>