Update index.php

This commit is contained in:
James 2022-09-26 13:53:40 +02:00
parent 9a296088d5
commit d55929e7cf

View File

@ -35,6 +35,7 @@
<li class="tab col s3"><a href="#Party">Party Setup</a></li> <li class="tab col s3"><a href="#Party">Party Setup</a></li>
<li class="tab col s3"><a class="active" href="#Mobconfig">Mob Configuration</a></li> <li class="tab col s3"><a class="active" href="#Mobconfig">Mob Configuration</a></li>
<li class="tab col s3"><a href="#Results">Results</a></li> <li class="tab col s3"><a href="#Results">Results</a></li>
<li class="tab col s3"><a href="#Bonus">Bonus Information</a></li>
</ul> </ul>
</div> </div>
<div id="Party" class="col s12"> <div id="Party" class="col s12">
@ -779,32 +780,34 @@
</div> </div>
</div> </div>
</div> </div>
<div class="row"> </div>
<div class="col s12"> <div id="Bonus" class="col s12">
<div class="card black"> <div class="row">
<div class="card-content white-text"> <div class="col s12">
<span class="card-title">[DEBUG] Set the current status! [DEBUG]</span> <br /> <div class="card black">
<label> <input name="debug_diff" type="radio" checked onchange="calcDiff()" /> <span>Calculation</span> </label> <div class="card-content white-text">
<label> <input name="debug_diff" type="radio" onchange="setDiff('easy')" /> <span>Easy</span> </label> <span class="card-title">[DEBUG] Set the current status! [DEBUG]</span> <br />
<label> <input name="debug_diff" type="radio" onchange="setDiff('medium')" /> <span>Medium</span> </label> <label> <input name="debug_diff" type="radio" checked onchange="calcDiff()" /> <span>Calculation</span> </label>
<label> <input name="debug_diff" type="radio" onchange="setDiff('hard')" /> <span>Hard</span> </label> <label> <input name="debug_diff" type="radio" onchange="setDiff('easy')" /> <span>Easy</span> </label>
<label> <input name="debug_diff" type="radio" onchange="setDiff('lunatic')" /> <span>Deadly</span> </label> <label> <input name="debug_diff" type="radio" onchange="setDiff('medium')" /> <span>Medium</span> </label>
</div> <label> <input name="debug_diff" type="radio" onchange="setDiff('hard')" /> <span>Hard</span> </label>
</div> <label> <input name="debug_diff" type="radio" onchange="setDiff('lunatic')" /> <span>Deadly</span> </label>
</div> </div>
</div> </div>
<div class="row"> </div>
<div class="col s12"> </div>
<div class="card black"> <div class="row">
<div class="card-content white-text"> <div class="col s12">
<span class="card-title"> Do you intend to wipe the party?</span> <label> <input name="danger" type="radio" checked /> <span>Yes</span> </label> <br /> <div class="card black">
<label> <div class="card-content white-text">
<input name="danger" type="radio" /> <span class="red-text"> <b>Yes, but in red</b> </span> <span class="card-title"> Do you intend to wipe the party?</span> <label> <input name="danger" type="radio" checked /> <span>Yes</span> </label> <br />
</label> <label>
</div> <input name="danger" type="radio" /> <span class="red-text"> <b>Yes, but in red</b> </span>
</div> </label>
</div> </div>
</div> </div>
</div>
</div>
</div> </div>
</div> </div>
</form> </form>
@ -812,6 +815,7 @@
</div> </div>
</div> </div>
</div> </div>
<!-- START COLLECTION! -->
<div class="col s12 l2"> <div class="col s12 l2">
<div class="blurry"> <div class="blurry">
<div class="card white"> <div class="card white">
@ -989,7 +993,15 @@
$("#diff_image").attr("src", "img/notfound.jpg"); $("#diff_image").attr("src", "img/notfound.jpg");
$("#diff_description").html("I was unable to find a calculation with those parameters.... or any programming at all... give me some time, i'm still working on this app, after all."); $("#diff_description").html("I was unable to find a calculation with those parameters.... or any programming at all... give me some time, i'm still working on this app, after all.");
$("#diff_summary").html("#err_notfound"); $("#diff_summary").html("#err_notfound");
} }
function setDiff(difficulty) { function setDiff(difficulty) {
$("#diff_image").attr("src", "img/diff_" + difficulty.substring(3, 0) + ".jpg"); $("#diff_image").attr("src", "img/diff_" + difficulty.substring(3, 0) + ".jpg");
switch (difficulty) { switch (difficulty) {