wynnatlas mini no longer errors

This commit is contained in:
ferricles 2022-05-12 18:48:38 -07:00
parent 9e36bf9cd1
commit fd1bc0252e
4 changed files with 25 additions and 12 deletions

View file

@ -802,8 +802,8 @@
<input class="search-field" id="rarity-choice" name="rarity-choice" placeholder="Rarity"/> <input class="search-field" id="rarity-choice" name="rarity-choice" placeholder="Rarity"/>
</div> </div>
<div class="col-auto"> <div class="col-auto">
<label for="search-level-choice">Level:</label> <label for="level-choice">Level:</label>
<input class="search-field" type="text" id="search-level-choice" name="search-level-choice" value="1-106"/> <input class="search-field" type="text" id="level-choice" name="level-choice" placeholder="1-106"/>
</div> </div>
</div> </div>
<div class="row row-cols-1 row-cols-xl-4 justify-content-center mt-1"> <div class="row row-cols-1 row-cols-xl-4 justify-content-center mt-1">
@ -825,6 +825,9 @@
</div> </div>
</div> </div>
</div> </div>
<div class="col p-4">
<div class="row justify-content-center" id="summary"></div>
</div>
<div class="col p-4"> <div class="col p-4">
<div class="row justify-content-center" id="search-results"></div> <div class="row justify-content-center" id="search-results"></div>
</div> </div>
@ -1244,12 +1247,15 @@
<script type="text/javascript" src="../js/sq2display.js"></script> <script type="text/javascript" src="../js/sq2display.js"></script>
<script type="text/javascript" src="../js/query.js"></script> <script type="text/javascript" src="../js/query.js"></script>
<script type="text/javascript" src="../js/query_2.js"></script>
<script type="text/javascript" src="../js/load.js"></script> <script type="text/javascript" src="../js/load.js"></script>
<script type="text/javascript" src="../js/load_ing.js"></script> <script type="text/javascript" src="../js/load_ing.js"></script>
<script type="text/javascript" src="../js/custom.js"></script> <script type="text/javascript" src="../js/custom.js"></script>
<script type="text/javascript" src="../js/craft.js"></script> <script type="text/javascript" src="../js/craft.js"></script>
<script type="text/javascript" src="../js/sq2build.js"></script> <script type="text/javascript" src="../js/sq2build.js"></script>
<script type="text/javascript" src="../js/sq2builder.js"></script> <script type="text/javascript" src="../js/sq2builder.js"></script>
<script type="text/javascript" src="../js/expr_parser.js"></script>
<script type="text/javascript" src="../js/items.js"></script>
<script type="text/javascript" src="../js/sq2items.js"></script> <script type="text/javascript" src="../js/sq2items.js"></script>
<script type="text/javascript" src="../js/sq2bs.js"></script> <script type="text/javascript" src="../js/sq2bs.js"></script>

View file

@ -292,6 +292,8 @@
</footer> </footer>
</div> </div>
</div> </div>
<script type="text/javascript" src="../js/query.js"></script>
<script type="text/javascript" src="../js/query_2.js"></script>
<script type="text/javascript" src="../js/utils.js"></script> <script type="text/javascript" src="../js/utils.js"></script>
<script type="text/javascript" src="../js/build_utils.js"></script> <script type="text/javascript" src="../js/build_utils.js"></script>
<script type="text/javascript" src="../js/sq2icons.js"></script> <script type="text/javascript" src="../js/sq2icons.js"></script>
@ -305,5 +307,8 @@
<script type="text/javascript" src="../js/load_ing.js"></script> <script type="text/javascript" src="../js/load_ing.js"></script>
<script type="text/javascript" src="../js/craft.js"></script> <script type="text/javascript" src="../js/craft.js"></script>
<script type="text/javascript" src="../js/crafter.js"></script> <script type="text/javascript" src="../js/crafter.js"></script>
<script type="text/javascript" src="../js/expr_parser.js"></script>
<script type="text/javascript" src="../js/items.js"></script>
<script type="text/javascript" src="../js/sq2items.js"></script>
</body> </body>
</html> </html>

View file

@ -27,7 +27,7 @@
<a href = "/customizer.html"><img src = "../media/icons/new/custom.png" alt = "WynnCustom" title = "WynnCustom"><b>WynnCustom</b></a> <a href = "/customizer.html"><img src = "../media/icons/new/custom.png" alt = "WynnCustom" title = "WynnCustom"><b>WynnCustom</b></a>
<a href = "/map.html"><img src = "../media/icons/new/compass.png" alt = "WynnGPS" title = "WynnGPS"><b>WynnGPS</b></a> <a href = "/map.html"><img src = "../media/icons/new/compass.png" alt = "WynnGPS" title = "WynnGPS"><b>WynnGPS</b></a>
<a href = "/wynnfo/index.html"><img src = "../media/icons/new/book.png" alt = "Wynnfo" title = "WynnCrafter"><b>WynnCrafter</b></a> <a href = "/wynnfo/index.html"><img src = "../media/icons/new/book.png" alt = "Wynnfo" title = "WynnCrafter"><b>WynnCrafter</b></a>
<a onclick = "document.querySelector('#search-container').style.display = '';"><img src="../media/icons/new/searcher.png" alt="" title="Item Search"><b>WynnAtlas Mini</b></a> <a><img src="../media/icons/new/searcher.png" alt="" title="Item Search"><b>WynnAtlas Mini</b></a>
<a onclick = "toggleIcons()"><img src = "../media/icons/new/reload.png" alt = "" title = "Swap items on page"><b>Swap Icon Style</b></a> <a onclick = "toggleIcons()"><img src = "../media/icons/new/reload.png" alt = "" title = "Swap items on page"><b>Swap Icon Style</b></a>
<hr/> <hr/>
</div> </div>

View file

@ -103,6 +103,7 @@ const special_mappings = {
}; };
let itemFilters = document.getElementById("filter-items"); let itemFilters = document.getElementById("filter-items");
if (itemFilters) {
for (let x in translate_mappings) { for (let x in translate_mappings) {
let el = document.createElement("option"); let el = document.createElement("option");
el.value = x; el.value = x;
@ -113,6 +114,7 @@ for (let x in special_mappings) {
el.value = x; el.value = x;
itemFilters.appendChild(el); itemFilters.appendChild(el);
} }
}
let itemCategories = [ "armor", "accessory", "weapon" ]; let itemCategories = [ "armor", "accessory", "weapon" ];