Website/calc/index.html

83 lines
2 KiB
HTML
Raw Normal View History

2020-07-18 04:10:49 +00:00
<html>
2020-08-02 23:06:29 +00:00
<head>
2020-07-18 04:10:49 +00:00
<title>Admin Application Calculator</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="script.js"></script>
2020-08-02 23:06:29 +00:00
</head>
<body>
<h1>Admin Application Calculator</h1>
<div class="form">
<div>
2020-07-18 04:10:49 +00:00
<p>Application Type:</p>
<select id="type">
<option value="super">Super Admin</option>
<option value="telnet">Telnet Admin</option>
<option value="senior">Senior Admin</option>
2020-08-02 23:06:29 +00:00
</select>
</div>
<div>
<div>
<p>Operator:</p>
2020-07-18 04:10:49 +00:00
</div>
<div>
2020-08-02 23:06:29 +00:00
<button onclick="submit_vote(1);" )>V (+1)</button>
<button onclick="submit_vote(2);">V (+2)</button>
2020-07-18 04:10:49 +00:00
</div>
<div>
2020-08-02 23:06:29 +00:00
<button onclick="submit_vote(-1);">O (-1)</button>
<button onclick="submit_vote(-2);">O (-2)</button>
</div>
</div>
<div>
<div>
<p>Super Admin:</p>
2020-07-18 04:10:49 +00:00
</div>
<div>
2020-08-02 23:06:29 +00:00
<button onclick="submit_vote(2);" )>V (+2)</button>
<button onclick="submit_vote(3);">V (+3)</button>
<button onclick="submit_vote(4);">V (+4)</button>
</div>
<div>
<button onclick="submit_vote(-2);">O (-2)</button>
<button onclick="submit_vote(-3);">O (-3)</button>
<button onclick="submit_vote(-4);">O (-4)</button>
</div>
</div>
<div>
<div>
<p>Telnet Admin:</p>
2020-07-18 04:10:49 +00:00
</div>
<div>
2020-08-02 23:06:29 +00:00
<button onclick="submit_vote(3);">V (+3)</button>
<button onclick="submit_vote(4);">V (+4)</button>
2020-07-18 04:10:49 +00:00
</div>
<div>
2020-08-02 23:06:29 +00:00
<button onclick="submit_vote(-3);">O (-3)</button>
<button onclick="submit_vote(-4);">O (-4)</button>
</div>
</div>
<div>
<div>
<p>Senior Admin:</p>
</div>
<div>
<button onclick="submit_vote(4);">V (+4)</button>
</div>
<div>
<button onclick="submit_vote(-4);">O (-4)</button>
</div>
</div>
<div>
<div>
<p>Score:</p>
<p><span id="points">0</span> points / <span id="total_votes">0</span> votes</p>
<p><span id="rounded_percentage">0</span>% (<span id="percentage">0</span>%)</p>
<p>Status: <span id="status">N/A</span></p>
2020-07-18 04:10:49 +00:00
</div>
</div>
2020-08-02 23:06:29 +00:00
</div>
</body>
2020-07-18 04:10:49 +00:00
</html>