File: app.html

package info (click to toggle)
chromium 139.0.7258.138-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,120,676 kB
  • sloc: cpp: 35,100,869; 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 (95 lines) | stat: -rw-r--r-- 2,203 bytes parent folder | download | duplicates (6)
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>