-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (70 loc) · 1.69 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'" />
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'" /> -->
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<title>OSC Relay</title>
</head>
<body>
<style>
body {
margin: 0;
padding: 1rem;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Helvetica, Arial, sans-serif;
}
button {
background: #333;
border: none;
padding: 0 1rem;
margin: 0.25rem;
border-radius: 3px;
outline: none;
color: #fff;
}
#messages {
list-style-type: none;
margin: 0;
padding: 0;
}
#messages > li {
padding: 0.5rem 1rem;
display: flex;
align-items: center;
}
#messages > li:nth-child(odd) {
background: #efefef;
}
.row {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
input {
width: 60px;
}
p {
margin: 0;
}
.socket {
background-color: yellow;
}
.badge {
text-transform: uppercase;
font-size: 8px;
padding: 8px;
border-radius: 8px;
margin-right: 8px;
}
.udp {
background-color: orange;
}
</style>
<div id="app"></div>
</body>
<script src="./renderer.js"></script>
</html>