weird behaviour with send testing in docker

This commit is contained in:
nannal
2020-12-09 21:03:09 +02:00
parent d310a97a7b
commit 94016c7432
4 changed files with 33 additions and 83 deletions

View File

@@ -1,22 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<title>Flag Waver</title>
<script src="https://cdn.bootcss.com/flv.js/1.5.0/flv.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<title>🚂Vote Train🚂</title>
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<div class="video-wrapper">
<video id="videoElement" style="text-align: center; width:100%; display:none;" controls></video>
</div>
<div class="button-wrapper">
<button id="start-cam" onclick="runVid()">Play</button>
</div>
<div class="button-wrapper">
<button onclick="wave()" id="wave">Press!</button>
<body class="">
<div class="justify-center text-center text-white sm:text-lg bg-green-200 sm:p-20 h-full m-36 sm:rounded-3xl">
<div id="input" class="py-10 sm:max-w-xl mx-auto font-mono">
<form action="javascript:void(0)" class="shadow-2xl sm:rounded-r-full sm:p-10 bg-gradient-to-t from-black to-gray-500 tracking-widest">
<input type="text" placeholder="key" class="text-black" id="key"/><br>
Upvote: <input type="checkbox" id="upvote"/><br>
Downvote: <input type="checkbox" id="downvote"/><br>
<button onclick="send()" class="bg-gray-600 ">Submit</button>
</form>
</div>
</div>
</body>
</html>