-
Notifications
You must be signed in to change notification settings - Fork 0
/
search_unit.html
executable file
·61 lines (57 loc) · 3.11 KB
/
search_unit.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<html>
<body>
Server URL: <input type="text" id="server-url-input"> <button onclick="setURL()">Save</button><br>
<br>
Current Address: <p id="server-url"></p><br>
<form action = "/search/unit/options" method = "GET" id="form">
Blank fields will be ignored. Enter in the fields below the parameters you want to search for. <br>
Name/Guide ID/Unit ID: <input type="text" name="unit_name_id" title="string"> <br>
Rarity: <input type="text" name="rarity" title="integer 1-8"> <br>
Element: <select name="element" title="pick one">
<option>Any</option>
<option>Fire</option>
<option>Water</option>
<option>Earth</option>
<option>Thunder</option>
<option>Light</option>
<option>Dark</option>
</select><br>
Gender: <select name="gender" title="pick one">
<option>Any</option>
<option>Male</option>
<option>Female</option>
<option>Other</option>
</select><br>
Move Speed: <input type="text" name="move_speed" title="integer"> <br>
LS Name/Description: <input type="text" name="ls_name" title="string"> <br>
LS Effects: <input type="text" name="ls_effect" title="string"> <br>
BB Name/Description: <input type="text" name="bb_name" title="string"> <br>
BB Effects: <input type="text" name="bb_effect" title="string"> <br>
SBB Name/Description: <input type="text" name="sbb_name" title="string"> <br>
SBB Effects: <input type="text" name="sbb_effect" title="string"> <br>
UBB Name/Description: <input type="text" name="ubb_name" title="string"> <br>
UBB Effects: <input type="text" name="ubb_effect" title="string"> <br>
ES Name/Description: <input type="text" name="es_name" title="string"> <br>
ES Effects: <input type="text" name="es_effect" title="string"> <br>
SP Name/Description: <input type="text" name="sp_name" title="string"> <br>
SP Effects: <input type="text" name="sp_effect" title="string"> <br>
Evolution Materials: <input type="text" name="evo_mats" title="string"> <br>
Server: <select name="server" title="pick one">
<option>Any</option>
<option>GL</option>
<option>JP</option>
<option>EU</option>
</select><br>
<input type = "submit" value = "Submit">
</form>
<script>
window.onload = function(){
document.getElementById("server-url").innerHTML = document.getElementById("form").action;
}
function setURL(){
document.getElementById("form").action = document.getElementById("server-url-input").value;
document.getElementById("server-url").innerHTML = document.getElementById("form").action;
}
</script>
</body>
</html>