diff --git a/DBEditor/plan2.py b/DBEditor/plan2.py index 55e25db..aef5190 100644 --- a/DBEditor/plan2.py +++ b/DBEditor/plan2.py @@ -464,6 +464,5 @@ class EfficiencyOriginDexPlanner: return pokemon_covered -# Example usage planner = EfficiencyOriginDexPlanner('pokemon_forms.db') -planner.display_plan([[1, 2], [3, 4, 5, 6], [7], [8], [9]]) +planner.display_plan([[1, 2], [3, 4, 5], [6], [7], [8], [9]]) diff --git a/Site/templates/index.html b/Site/templates/index.html index f0980a3..4903a6e 100644 --- a/Site/templates/index.html +++ b/Site/templates/index.html @@ -287,6 +287,7 @@ display: none; padding: 20px; background-color: white; + overflow: hidden; } .game-content.show { @@ -352,6 +353,7 @@ width: 48px; height: 48px; object-fit: contain; + margin-right: 15px; } .evolution-list, .breeding-list { @@ -459,6 +461,37 @@ .target-image.grayscale { filter: grayscale(100%); } + + .pokemon-thumbnail.grayscale { + filter: grayscale(100%); + } + + /* Optional: Add a placeholder background color */ + .lazy-load { + background-color: #f0f0f0; + } + + .search-container { + padding: 10px 0; + margin-bottom: 10px; + border-bottom: 1px solid #eee; + width: 100%; + box-sizing: border-box; + } + + .game-search { + width: 100%; + padding: 8px 12px; + border: 1px solid #ddd; + border-radius: 4px; + font-size: 14px; + box-sizing: border-box; + max-width: 100%; + } + + .pokemon-entry.hidden { + display: none; + }
@@ -490,7 +523,7 @@
+ class="pokemon-thumbnail lazy-load"
+ src="{{ url_for('static', filename='images/placeholder.png') }}">
+ class="target-image lazy-load"
+ src="{{ url_for('static', filename='images/placeholder.png') }}">
{{ evolution.method }}
Need: {{ evolution.count }}
+ class="target-image lazy-load"
+ src="{{ url_for('static', filename='images/placeholder.png') }}">
Breed
Need: {{ breeding.count }}