You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.6 KiB
76 lines
2.6 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="muni.css" />
|
|
<title>D4DJ Parking Calculator | Powered by Muni</title>
|
|
<script src="muni.js"></script>
|
|
</head>
|
|
<body>
|
|
<h1>D4DJ Event Parking Calculator</h1>
|
|
|
|
<fieldset>
|
|
<legend>Parking Configuration</legend>
|
|
<input type="radio" id="Poker" name="type" value="Poker" checked />
|
|
<label for="Poker">Poker/Raid</label>
|
|
|
|
<input type="radio" id="Bingo" name="type" value="Bingo" />
|
|
<label for="Bingo">Bingo</label>
|
|
|
|
<input type="radio" id="Medley" name="type" value="Medley" />
|
|
<label for="Medley">Medley</label>
|
|
|
|
<hr />
|
|
<label for="team">Event Team Bonus:</label>
|
|
<select id="team" name="team">
|
|
<option value="0">0%</option>
|
|
<option value="0.2">20%</option>
|
|
<option value="0.4">40%</option>
|
|
<option value="0.6">60%</option>
|
|
<option value="0.8">80%</option>
|
|
<option value="1.0">100%</option>
|
|
<option value="1.2">120%</option>
|
|
<option value="1.4">140%</option>
|
|
<option value="1.6" selected>160%</option>
|
|
</select>
|
|
<label for="flexible" alt="Yes"
|
|
><b>Flexible Team?</b></label
|
|
><input id="flexible" type="checkbox" />
|
|
<i>If turned on, calculates scoring options using lower % teams also.</i>
|
|
<br />
|
|
<br />
|
|
<label for="maxscore"><b>Max Free Live Score: </b></label
|
|
><input id="maxscore" min="0" type="number" value="650000" /> <i> (Use 0 for Rehearsals Only)</i>
|
|
<hr />
|
|
<label for="starting"><b>Starting EP: </b></label
|
|
><input id="starting" min="0" type="number" value="100000" />
|
|
<span style="font-size: 32px; padding: 0px 10px 0px 10px">➔</span>
|
|
<label for="ending"><b>Target EP: </b></label
|
|
><input id="ending" min="0" type="number" value="104000" />
|
|
<br />
|
|
<br />
|
|
<button
|
|
id="calculate"
|
|
style="
|
|
background-color: #ccddff;
|
|
margin-left: 20px;
|
|
width: 240px;
|
|
height: 32px;
|
|
font-size: 18px;
|
|
"
|
|
onclick="test()"
|
|
>
|
|
Calculate
|
|
</button>
|
|
</fieldset>
|
|
<div style="display: flex; justify-content: stretch; align-items: center">
|
|
<textarea rows="20" cols="160" id="console" disabled> </textarea>
|
|
</div>
|
|
|
|
<script>
|
|
document.getElementById("ips").value = "";
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|