MuniMuniMuniMuniMuni

pull/2/head
sigonasr2, Sig, Sigo 4 years ago committed by GitHub
parent 0f5dd63767
commit 9c059966ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      muni.css
  2. 61
      parkingcalc.html

@ -72,3 +72,23 @@ textarea:disabled {
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
} }
.grid{
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 20px;
}
.munigrid{
border-left: 1px dotted #000;
border-right: 1px dotted #000;
}
.munigrid:nth-child(1){
border-left:none;
}
.munigrid:nth-child(even){
border-left:none;
border-right:none;
}

@ -5,25 +5,28 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="muni.css" /> <link rel="stylesheet" href="muni.css" />
<title>D4DJ Parking Calculator | Powered by Muni</title> <title class="translate1">D4DJ Parking Calculator | Powered by Muni</title>
<script src="muni.js"></script> <script src="english.js"></script>
<script src="japanese.js"></script>
</head> </head>
<body> <body>
<h1>D4DJ Event Parking Calculator</h1> <h1 class="translate2">D4DJ Event Parking Calculator</h1>
<fieldset> <fieldset>
<legend>Parking Configuration</legend> <legend class="translate3">Parking Configuration</legend>
<input type="radio" id="Poker" name="type" value="Poker" checked /> <input type="radio" id="Poker" name="type" value="Poker" checked />
<label for="Poker">Poker/Raid</label> <label for="Poker" class="translate4">Poker/Raid</label>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
<input type="radio" id="Bingo" name="type" value="Bingo" /> <input type="radio" id="Bingo" name="type" value="Bingo" />
<label for="Bingo">Bingo</label> <label for="Bingo" class="translate5">Bingo</label>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
<input type="radio" id="Medley" name="type" value="Medley" /> <input type="radio" id="Medley" name="type" value="Medley" />
<label for="Medley">Medley</label> <label for="Medley" class="translate6">Medley</label>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
<hr /> <hr />
<label for="team">Event Team Bonus:</label> <div class="grid">
<div class="munigrid">
<label for="team" class="translate7">Event Team Bonus:</label>
<select id="team" name="team"> <select id="team" name="team">
<option value="0">0%</option> <option value="0">0%</option>
<option value="0.2">20%</option> <option value="0.2">20%</option>
@ -36,22 +39,38 @@
<option value="1.6" selected>160%</option> <option value="1.6" selected>160%</option>
</select> </select>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="tooltip"><label for="flexible" alt="Yes" &nbsp;&nbsp;&nbsp;&nbsp;<span class="tooltip"><label for="flexible" alt="Yes"
><b>Flexible Team?</b></label ><b class="translate17">Flexible Team?</b></label
><input id="flexible" type="checkbox" /> ><input id="flexible" type="checkbox" />
<span class="tooltiptext">If turned on, calculates scoring options using lower % teams also.</span> <span class="tooltiptext translate8">If turned on, calculates scoring options using lower % teams also.</span>
</span> </span>
<br /> <br />
<br /> <br />
<span class="tooltip"><label for="maxscore"><b>Max Free Live Score: </b></label <span class="tooltip"><label for="maxscore"><b class="translate18">Max Free Live Score: </b> </label
><input id="maxscore" min="0" type="number" value="650000" /> <span class="tooltiptext"> ><input id="maxscore" min="0" type="number" max="5000000" value="650000" /> <span class="tooltiptext translate9">
The maximum score you can get from playing a song using <font color="aqua">Free Live</font>.<br> The maximum score you can get from playing a song using <font color="aqua">Free Live</font>.<br>
<sub>(Use 0 for Rehearsals Only)</sub></span></span> <sub>(Use 0 for Rehearsals Only)</sub></span></span>
</div>
<div class="munigrid">
<span class="tooltip"><label for="advanced" alt="Yes"
><b class="translate10">Advanced Options?</b></label
><input id="advanced" type="checkbox" onclick="toggle()" /><span class="tooltiptext translate11">
Enable voltage & EP limits.</span></span>
<div id="advanced2" style="visibility:hidden">
<label for="lowest" class="translate12">
Use voltage until:
</label><input style="width:96px;" id="lowest" type="number" min="10" step="2" value="80"> EP<br>
<label for="maxvolt" class="translate13">
Max Voltage to use:
</label> <input style="width:64px;" id="maxvolt" type="number" min="0" value="20">
</div>
</div>
</div>
<hr /> <hr />
<label for="starting"><b>Starting EP: </b></label <b><label for="starting" class="translate14">Starting EP: </label
><input id="starting" min="0" type="number" value="100000" /> ></b><input id="starting" min="0" type="number" value="100000" />
<span style="font-size: 32px; padding: 0px 10px 0px 10px"></span> <span style="font-size: 32px; padding: 0px 10px 0px 10px"></span>
<label for="ending"><b>Target EP: </b></label <b><label for="ending" class="translate15">Target EP: </label
><input id="ending" min="0" type="number" value="104000" /> ></b><input id="ending" min="0" type="number" value="104000" />
<br /> <br />
<br /> <br />
<button <button
@ -63,7 +82,7 @@
height: 32px; height: 32px;
font-size: 18px; font-size: 18px;
" "
onclick="test()" onclick="test()" class="translate16"
> >
Calculate Calculate
</button> </button>
@ -71,7 +90,13 @@
<div style="display: flex; justify-content: stretch; align-items: center"> <div style="display: flex; justify-content: stretch; align-items: center">
<textarea rows="20" cols="160" id="console" disabled> </textarea> <textarea rows="20" cols="160" id="console" disabled> </textarea>
</div> </div>
<sub><u>Tips</u></sub>
<ul>
<li class="translate19">Here's the Light on EX or Synchrogazer on Hard/EX difficulty are some of the highest scoring songs you can pick.</li>
<li class="translate20">When you get close to the score you need in Free Live, purposely fail the song. Notes are worth 10% their normal value when you have 0 health so you can finish easily.</li>
<li class="translate21">The <b>"Flexible Team"</b> option gives you the fastest park, but at the expense of more voltage.</li>
</ul>
<script src="muni.js"></script>
<script> <script>
document.getElementById("ips").value = ""; document.getElementById("ips").value = "";
</script> </script>

Loading…
Cancel
Save