Skip to content

Commit

Permalink
Add size filter to map
Browse files Browse the repository at this point in the history
  • Loading branch information
wraythex authored Sep 13, 2023
1 parent fc223eb commit 4dc97b4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions templates/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,27 @@ <h4>{{ i18n('Export Pokémon lists') }}</h4>
</div>
</div>
</div>
<div class="form-control">
<div class="switch">
<label>
<input type="checkbox" id="filter-by-size-switch">
<span class="lever"></span>
{{ i18n('Filter by size') }}
</label>
</div>
</div>
<div class="form-control">
<div class="input-field">
<div class="select-title">{{ i18n('Pokemon Size') }}</div>
<select id="filter-by-size-select" multiple>
<option value="1">{{ i18n('XXS') }}</option>
<option value="2">{{ i18n('XS') }}</option>
<option value="3">{{ i18n('M') }}</option>
<option value="4">{{ i18n('XL') }}</option>
<option value="5">{{ i18n('XXL') }}</option>
</select>
</div>
</div>
{% if settings.highlightPokemon %}
<div class="form-control">
<div class="switch">
Expand Down

0 comments on commit 4dc97b4

Please sign in to comment.