diff --git a/src/lib/menu/tracker/create/CreateTracker.svelte b/src/lib/menu/tracker/create/CreateTracker.svelte index 41fb713..00a7adf 100644 --- a/src/lib/menu/tracker/create/CreateTracker.svelte +++ b/src/lib/menu/tracker/create/CreateTracker.svelte @@ -96,12 +96,6 @@
Field | -Value | -|||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -220,10 +214,6 @@ font-size: 15pt; } - thead > tr > th { - font-size: 1.25em; - } - td { display: flex; align-items: center; diff --git a/src/lib/menu/tracker/view/ViewTrackers.svelte b/src/lib/menu/tracker/view/ViewTrackers.svelte index 6d52455..66b77af 100644 --- a/src/lib/menu/tracker/view/ViewTrackers.svelte +++ b/src/lib/menu/tracker/view/ViewTrackers.svelte @@ -117,10 +117,12 @@ max: 0 } : undefined, + complete: false, method: createdHuntTracker.method, generation: createdHuntTracker.generation, versionGroup: createdHuntTracker.versionGroup, version: createdHuntTracker.version, + shinyCharm: createdHuntTracker.shinyCharm, pokemonSpecies: createdHuntTracker.pokemonSpecies.name, pokemon: createdHuntTracker.pokemon?.name === createdHuntTracker.pokemonSpecies.name @@ -130,8 +132,7 @@ createdHuntTracker.pokemonForm?.name === createdHuntTracker.pokemon?.name ? undefined : createdHuntTracker.pokemonForm?.name, - female: createdHuntTracker.female, - complete: false + female: createdHuntTracker.female } ]) diff --git a/src/routes/history/+page.svelte b/src/routes/history/+page.svelte index bb9ddc9..03014e1 100644 --- a/src/routes/history/+page.svelte +++ b/src/routes/history/+page.svelte @@ -1,82 +1,163 @@ |
Version | -Method | -Pokemon | -Variety | -Form | -Gender | -Count | -Maximum | -
---|
{formatVersionName(record.version)} | -{record.method} | -{formatPokemonSpeciesName(record.pokemonSpecies)} | -{getPokemon(record)} | -{getPokemonForm(record)} | -{getGender(record)} | -{record.count} | -{getMaximum(record)} | +Version | +Method | +Pokemon | +Form | +Count |
---|
You don't have any shiny hunts in your history! Complete a shiny hunt to view your history.
-{/if} + + + {#each $history as record} +Generation | +{selectedRecord.generation} | +
---|---|
Version | +{formatVersionName(selectedRecord.version)} | +
Method | +{selectedRecord.method} | +
Status | +{selectedRecord.complete ? 'Found' : 'Not Found'} | +
Shiny Charm | +{selectedRecord.shinyCharm ? 'Yes' : 'No'} | +
{getMaxChainHeader(selectedRecord)} | +{getMaxChain(selectedRecord)} | +
+ You don't have any shiny hunts in your history! Complete a shiny hunt to view your history. +
+ {/if} +