-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
109 lines (99 loc) · 3.37 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="src/styles/panel.css" />
<link rel="stylesheet" href="src/styles/timeline.css" />
</head>
<body>
<sl-tab-group>
<sl-tab slot="nav" panel="panel-gam">GAM</sl-tab>
<sl-tab slot="nav" panel="panel-spoor-ads">Spoor: Ads</sl-tab>
<sl-tab slot="nav" panel="panel-spoor-page">Spoor: Page</sl-tab>
<!--
<sl-tab slot="nav" panel="panel-consent">Consent</sl-tab>
-->
<!-- Ad server -->
<sl-tab-panel name="panel-gam">
<div class="panel">
<div class="cols">
<div class="col">
<sl-card>
<div slot="header"><h3>Page</h3></div>
<div data-component="page-level-data">Waiting for data...</div>
</sl-card>
<sl-card>
<div slot="header"><h3>Slots</h3></div>
<div data-component="slot-level-data">Waiting for data...</div>
</sl-card>
</div>
</div>
<sl-details summary="All params">
<div class="raw">
<sl-copy-button from="gam-requests-raw"></sl-copy-button>
<pre data-component="requests-raw" id="gam-requests-raw">Waiting for data...</pre>
</div>
</sl-details>
</div>
</sl-tab-panel>
<!-- Spoor -->
<sl-tab-panel name="panel-spoor-ads">
<div class="panel">
<div class="cols">
<div class="col">
<sl-card>
<div slot="header"><h3>Shared</h3></div>
<div data-component="shared-data">Waiting for data...</div>
</sl-card>
<sl-card>
<div slot="header"><h3>Slots</h3></div>
<div data-component="events-parsed">Waiting for events...</div>
</sl-card>
</div>
</div>
<sl-details summary="Full responses">
<div class="raw">
<sl-copy-button from="spoor-events-raw"></sl-copy-button>
<pre data-component="events-raw" id="spoor-events-raw">Waiting for data...</pre>
</div>
</sl-details>
</div>
</sl-tab-panel>
<!-- Page events -->
<sl-tab-panel name="panel-spoor-page">
<div class="panel">
<div class="cols">
<div class="col">
<sl-card>
<div slot="header"><h3>Page events</h3></div>
<ol data-component="events" class="timeline" role="list">
Waiting for events...
</ol>
</sl-card>
</div>
<div class="col">
<sl-card>
<div slot="header"><h3>Event data</h3></div>
<pre data-component="event-data"></pre>
</sl-card>
</div>
</div>
</div>
</sl-tab-panel>
<!--
<-- Consent --\>
<sl-tab-panel name="panel-consent">
<div class="panel">
<sl-card>
<div slot="header"><h3>Consent</h3></div>
<p>Coming soon...</p>
</sl-card>
</div>
</sl-tab-panel>
-->
</sl-tab-group>
<script type="module" src="src/panel.ts"></script>
</body>
</html>