@@ -1,4 +1,6 @@
|
||||
<script>
|
||||
import { _ } from "svelte-i18n";
|
||||
|
||||
import { apikey, lang, page, stationinfo } from "./store.js";
|
||||
</script>
|
||||
|
||||
@@ -6,30 +8,30 @@
|
||||
<h1 class="font-bold text-3xl w-full text-center text-gray-900">
|
||||
Lauf Für Kaya! Scan 📷
|
||||
</h1>
|
||||
<h1 class="text-3xl w-full text-center text-gray-900">Settings</h1>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">API Key</p>
|
||||
<h1 class="text-3xl w-full text-center text-gray-900">{$_('settings')}</h1>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">{$_('api_key')}</p>
|
||||
<p class="block text-sm text-gray-700">{$apikey}</p>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">Station Description</p>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">{$_('station_description')}</p>
|
||||
<p class="block text-sm text-gray-700">
|
||||
{JSON.parse($stationinfo).description}
|
||||
</p>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">Station ID</p>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">{$_('station_id')}</p>
|
||||
<p class="block text-sm text-gray-700">{JSON.parse($stationinfo).id}</p>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">Track ID</p>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">{$_('track_id')}</p>
|
||||
<p class="block text-sm text-gray-700">{JSON.parse($stationinfo).track.id}</p>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">Track Name</p>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">{$_('track_name')}</p>
|
||||
<p class="block text-sm text-gray-700">
|
||||
{JSON.parse($stationinfo).track.name}
|
||||
</p>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">Track Distance</p>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">{$_('track_distance')}</p>
|
||||
<p class="block text-sm text-gray-700">
|
||||
{JSON.parse($stationinfo).track.distance}
|
||||
</p>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">minimum lap time</p>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">{$_('minimum_lap_time')}</p>
|
||||
<p class="block text-sm text-gray-700">
|
||||
{JSON.parse($stationinfo).track.minimumLapTime}s
|
||||
</p>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">Language</p>
|
||||
<p class="block text-sm font-bold text-gray-700 mt-2">{$_('language')}</p>
|
||||
<div class="w-full">
|
||||
<div class="inline-block mr-2 mt-2">
|
||||
<button
|
||||
@@ -90,7 +92,7 @@
|
||||
page.set("");
|
||||
}}
|
||||
class="mb-3 w-full py-3 border-black border-3 text-black focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black"
|
||||
>Back to Scanner</button
|
||||
>{$_('back_to_scanner')}</button
|
||||
>
|
||||
<button
|
||||
on:click={() => {
|
||||
@@ -98,6 +100,6 @@
|
||||
page.set("");
|
||||
}}
|
||||
class="w-full py-3 bg-black text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black"
|
||||
>Log Out from this Client</button
|
||||
>{$_('log_out_from_this_client')}</button
|
||||
>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user