Update index.php

This commit is contained in:
James 2022-09-26 13:53:40 +02:00
parent 7bfbadb975
commit 0b8798d6c7

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,6 +780,8 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<div id="Bonus" class="col s12">
<div class="row"> <div class="row">
<div class="col s12"> <div class="col s12">
<div class="card black"> <div class="card black">
@ -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) {