summaryrefslogtreecommitdiff
path: root/deps/v8/tools/system-analyzer/view/code-panel-template.html
blob: d237ac3a51856ec7319aeb8a726d10afb1628aa3 (plain)
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
<!-- Copyright 2020 the V8 project authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<head>
  <link href="./index.css" rel="stylesheet">
</head>

<style>
  #sourceCode {
    white-space: pre-line;
  }
  .reg, .addr {
    border-bottom: 1px dashed;
    border-radius: 2px;
  }
  .reg:hover, .addr:hover {
    background-color: var(--border-color);
  }
  .reg.selected, .addr.selected {
    color: var(--default-color);
    background-color: var(--border-color);
  }
  .addr:hover {
    cursor: pointer;
  }
</style>

<div class="panel">
  <input type="checkbox" id="closer" class="panelCloserInput" checked>
  <label class="panelCloserLabel" for="closer">▼</label>
  <h2 class="title">Code Panel</h2>
  <div class="selection">
    <select id="codeSelect"></select>
    <button id="selectedRelatedButton">Select Related Events</button>
  </div>
  <div class="panelBody">
    <h3>Properties</h3>
    <property-link-table id="properties"></property-link-table>
    <h3>FeedbackVector</h3>
    <property-link-table id="feedbackVector"></property-link-table>
    <h3>Disassembly</h3>
    <pre id="disassembly"></pre>
  </div>
</div>