-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Item List from Safari overview page
- Loading branch information
Showing
1 changed file
with
0 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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
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> | ||