-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscreen.html
48 lines (43 loc) · 1.38 KB
/
screen.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Jokes</title>
<meta name="viewport" content="width=1050, initial-scale=1" />
<link rel="stylesheet" href="/assets/screen.css" />
</head>
<body>
<h1>Willkommen in joke.town 🤡 🏘</h1>
<header>
<div class="text">
<div class="cta">Schick auch du einen Witz ein:</div>
<div class="number">+43 676 800 10 4321</div>
<div class="link">https://joke.town/</div>
</div>
<img src="/assets/qrcode.png" />
</header>
<main class="nojoke" id="nojoke">
<h2>Zur Zeit gibt es keinen Witz zum Abstimmen 😢</h2>
</main>
<main class="newjoke hidden" id="newjoke">
<h2>Neuer Witz von <span id="user_field"></span>:</h2>
<div id="text_field"></div>
</main>
<div class="votes hidden" id="votes">
<div class="pointbar" id="downvotes_bar"></div>
<div class="pointbar" id="upvotes_bar"></div>
</div>
<div class="description hidden" id="description">
<h3>Wie findest du den Witz?</h3>
<div>
<span>Nicht so toll 👎</span>
<span>Super Lustig 👍</span>
</div>
</div>
<script>
const IOPORT = "{{IOPORT}}";
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.2.0/socket.io.js"></script>
<script src="/assets/screen.js"></script>
</body>
</html>