Skip to content

Commit

Permalink
Remove Item List from Safari overview page
Browse files Browse the repository at this point in the history
  • Loading branch information
wormania committed Dec 7, 2023
1 parent cfedb58 commit 936cfbf
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions pages/Safari/overview.html
Original file line number Diff line number Diff line change
@@ -1,22 +0,0 @@
<div data-bind="foreach: Object.keys(SafariItemController.list)" class="table-responsive">
<h4 data-bind="text: Wiki.gameHelper.getRegionName($data)"></h4>
<table class="table table-hover table-striped table-bordered no-data-tables">
<thead class="thead-dark">
<tr>
<th>Item</th>
<th>Chance</th>
<th>Requirement</th>
</tr>
</thead>
<tbody data-bind="foreach: SafariItemController.list[$data]">
<tr>
<td class="align-middle">
<img width="32px" class="me-1" data-bind="attr: { src: `pokeclicker/docs/${BagHandler.image($data.item)}` }"/>
<knockout data-bind="text: BagHandler.displayName($data.item)"></knockout>
</td>
<td class="align-middle" data-bind="text: `${Math.round($data.weight*100/SafariItemController.list[$parent].reduce((acc, cur) => { return acc + cur.weight }, 0) * 100)/100}%`"></td>
<td class="align-middle" data-bind="html: $data.requirement ? Wiki.gameHelper.requirementHints($data.requirement.requirements).join('<br />') : 'N/A'"></td>
</tr>
</tbody>
</table>
</div>

0 comments on commit 936cfbf

Please sign in to comment.