Forked from anonymous/gist:a5f67cd6bfb5d351e1be024d25d2edda
Last active
June 8, 2016 23:34
-
-
Save chadsten/59332222506fe08bf74155402c3f1098 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Pad MP Calc</title> | |
<script type="text/javascript"> | |
function go() { | |
var qparam = []; | |
if(this.no10mp.checked) { qparam.push("no10mp=True"); } | |
if(this.no1mp.checked) { qparam.push("no1mp=True"); } | |
if(this.no5mp.checked) { qparam.push("no5mp=True"); } | |
if(this.noonteam.checked) { qparam.push("noonteam=True"); } | |
if(this.noprio0.checked) { qparam.push("noprio0=True"); } | |
if(this.noprio1.checked) { qparam.push("noprio1=True"); } | |
if(this.noprio2.checked) { qparam.push("noprio2=True"); } | |
if(this.noprio3.checked) { qparam.push("noprio3=True"); } | |
window.location.href += "/" + this.username.value + (qparam.length ? "?" : "") + qparam.join("&"); | |
return false; | |
} | |
</script> | |
</head> | |
<body> | |
<center> | |
<h1>Pad MP Calculator</h1> | |
<form id="tacocat" onsubmit="return go()" action ="#"> | |
Padherder Username: <input type="text" class="username" id="username" value="" /> | |
<input type="submit" value="Submit" class="buttons" /><br> | |
<h3>Filters(Select to remove from results)</h3><br> | |
<table class="checkboxes"> | |
<tr><td><input type="checkbox" value="True" class="no1mp" id="no1mp" /></td><td><label for="no1mp">1MP Monsters</label></td></tr> | |
<tr><td><input type="checkbox" value="True" class="no5mp" id="no5mp" /></td><td><label for="no5mp">5MP Monsters</label></td></tr> | |
<tr><td><input type="checkbox" value="True" class ="no10mp" id="no10mp" /></td><td><label for="no10mp">10MP Monsters</label></td></tr> | |
<tr><td><input type="checkbox" value="True" class ="noonteam" id="noonteam" /></td><td><label for="noonteam">On Team</label></td></tr> | |
<tr><td><input type="checkbox" value="True" class="noprio0" id="noprio0" /></td><td><label for="noprio0">Zero Priority</label></td></tr> | |
<tr><td><input type="checkbox" value="True" class="noprio1" id="noprio1" /></td><td><label for="noprio1">Low Priority</label></td></tr> | |
<tr><td><input type="checkbox" value="True" class="noprio2" id="noprio2" /></td><td><label for="noprio2">Medium Priority</label></td></tr> | |
<tr><td><input type="checkbox" value="True" class="noprio3" id="noprio3" /></td><td><label for="noprio3">High Priority</label></td></tr> | |
</table> | |
</form> | |
</center> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment