waschmarken/user.html
2020-07-18 12:12:21 +02:00

95 lines
2.0 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<title>Waschmarken.io</title>
<meta name="description" content="Waschmarken Scoreboard">
<link rel="stylesheet" href="../../static/css/normalize.css">
<link rel="stylesheet" href="../../static/css/sakura-dark.css">
<style>
.heading {
text-align: center;
}
#thetable {
margin-bottom: 2rem;
}
.flex {
display: flex;
}
.biceps {
justify-content: space-around;
}
input {
width: 8rem;
}
#errormessage {
display: none;
/* flex if visible */
justify-content: space-between;
width: 100%;
border-left: 3px solid red;
padding-left: 1rem;
background: #460000;
color: red;
}
#errorclose {
margin-right: 1rem;
font-weight: bold;
cursor: pointer;
}
</style>
</head>
<body>
<h1 class="heading">Waschmarken Scoreboard</h1>
<h3><span id="greeting">Henlo</span></h3>
<p>
You can update your sold washing coins here.
</p>
<table id="thetable">
<tbody>
<tr>
<td>Washing Coins Sold</td>
<td id="currentcoins">42</td>
</tr>
<tr>
<td>Maximum Available</td>
<td id="maxcoins">69</td>
</tr>
</tbody>
</table>
<div class="flex biceps">
<div>
<input type="number" id="sellvalue" value = "1" min="0">
<input type="button" id="sell" value="Sell">
</div>
</div>
<div id="errormessage">
<span id="errortext"></span>
<span id="errorclose">&times;</span>
</div>
<script src="../../static/js/user.js"></script>
</body>
</html>