This repository has been archived by the owner on Jul 20, 2022. It is now read-only.
forked from MartinMouritzen/segment-chromeextension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
86 lines (83 loc) · 1.52 KB
/
popup.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
<html>
<head>
<style type="text/css">
body {
padding: 10px;
overflow: hidden;
}
#trackMessages {
max-height: 460px;
overflow: auto;
}
.eventTracked {
padding: 10px;
margin-bottom: 1px;
}
.eventInfo {
font-size: 16px;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
cursor: pointer;
}
.eventName {
color: #00386c;
}
.eventContent {
display: none;
font-family: Courier New, sans-serif;
font-size: 14px;
background-color: #CECECE;
padding: 10px;
margin-bottom: 10px;
overflow-y: auto;
height: 400px;
border: 1px solid #DDDDDD;
white-space: pre;
}
.string { color: green; }
.number { color: blue; }
.boolean { color: purple; }
.null { color: magenta; }
.key { color: black; font-weight: bold; }
.logo {
float: left;
margin-right: 10px;
}
h1 {
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 26px;
font-weight: normal;
}
.clearButtonDiv {
padding-top: 10px;
text-align: right;
}
input[type=button] {
border-width: 0px;
background-color: #49b882;
color: #FFFFFF;
padding: 10px;
}
.eventType_identify {
background-color: #90b8a4;
color: #000000;
}
.eventType_pageLoad {
background-color: #9da6b0;
}
.eventType_track {
background-color: #dddddd;
}
</style>
<script src="popup.js"></script>
</head>
<body style="width: 700px">
<img class="logo" src="logo32.png">
<h1>Events tracked to Segment</h1>
<div id="trackMessages">
Events will be here
</div>
<div class="clearButtonDiv">
<input type="button" id="clearButton" value="Clear log from this tab">
</div>
</body>
</html>