1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-05 05:05:17 +02:00

PostGIS migration for docker

This commit is contained in:
Sean Morley 2024-08-23 23:49:05 -04:00
parent dab6efbe32
commit e489a70980
6 changed files with 22 additions and 14 deletions

View file

@ -167,22 +167,25 @@
<button class="py-2 px-4 btn btn-primary mt-2">Change Email</button>
</form>
</div>
<div class="flex flex-col items-center">
<h1 class="text-center font-extrabold text-xl mt-4 mb-2">Data Export</h1>
<button class="btn btn-neutral mb-4" on:click={exportAdventures}> Export to JSON </button>
<p>This may take a few seconds...</p>
</div>
<div class="flex flex-col items-center">
<div class="flex flex-col items-center mt-4">
<h1 class="text-center font-extrabold text-xl mt-4 mb-2">Visited Region Check</h1>
<p>
By selecting this, the server will check all of your visited adventures and mark the regions
they are located in as "visited" in world travel.
</p>
<button class="btn btn-neutral mb-4" on:click={checkVisitedRegions}>Update Visited Regions</button
<button class="btn btn-neutral mt-2 mb-2" on:click={checkVisitedRegions}
>Update Visited Regions</button
>
<p>This may take longer depending on the number of adventures you have.</p>
</div>
<div class="flex flex-col items-center mt-4">
<h1 class="text-center font-extrabold text-xl mt-4 mb-2">Data Export</h1>
<button class="btn btn-neutral mb-4" on:click={exportAdventures}> Export to JSON </button>
<p>This may take a few seconds...</p>
</div>
<small class="text-center"
><b>For Debug Use:</b> Server PK={user.pk} | Date Joined: {user.date_joined
? new Date(user.date_joined).toDateString()