Compare commits
No commits in common. "f3cc07c009ed0a34e61f1aad47a1a31778145439" and "02158605be824e5ac21a6284731138190988c794" have entirely different histories.
f3cc07c009
...
02158605be
@ -256,26 +256,6 @@
|
||||
<span>{$_('scanstations')}</span>
|
||||
</a>
|
||||
{/if}
|
||||
{#if store.state.jwtinfo.userdetails.permissions.includes('STATSCLIENT:GET')}
|
||||
<a
|
||||
class:bg-gray-100={$router.path === '/statsclients/'}
|
||||
class="flex items-center px-4 py-3 transition cursor-pointer group hover:bg-gray-100 hover:text-gray-900"
|
||||
href="/statsclients/">
|
||||
<svg
|
||||
class="flex-shrink-0 w-5 h-5 mr-2 text-gray-400 transition group-hover:text-gray-600"
|
||||
fill="currentColor"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
xmlns="http://www.w3.org/2000/svg"><path
|
||||
fill="none"
|
||||
d="M0 0h24v24H0z" />
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M4 5v11h16V5H4zM2 4a1 1 0 011-1h18a1 1 0 011 1v14H2V4zM1 19h22v2H1v-2z" /></svg>
|
||||
<span>{$_('statsclients')}</span>
|
||||
</a>
|
||||
{/if}
|
||||
<a
|
||||
class:bg-gray-100={$router.path === '/settings/'}
|
||||
class="flex items-center px-4 py-3 transition cursor-pointer group hover:bg-gray-100 hover:text-gray-900"
|
||||
|
@ -1,13 +1,13 @@
|
||||
<script>
|
||||
import { _ } from "svelte-i18n";
|
||||
import store from "../../store";
|
||||
import AddStatsClientModal from "./AddStatsClientModal.svelte";
|
||||
// import CopyStatsClientsTokenModal from "./CopyStatsClientsTokenModal.svelte";
|
||||
import AddStatsClientsModal from "./AddStatsClientsModal.svelte";
|
||||
import CopyStatsClientsTokenModal from "./CopyStatsClientsTokenModal.svelte";
|
||||
import StatsClientssOverview from "./StatsClientsOverview.svelte";
|
||||
export let modal_open = false;
|
||||
export let copy_modal_open = false;
|
||||
export let new_client = {};
|
||||
let current_clients = [];
|
||||
export let new_station = {};
|
||||
let current_stations = [];
|
||||
</script>
|
||||
|
||||
<section class="container p-5">
|
||||
@ -24,10 +24,10 @@
|
||||
</button>
|
||||
{/if}
|
||||
</span>
|
||||
<StatsClientssOverview bind:current_clients bind:modal_open bind:new_client bind:copy_modal_open />
|
||||
<StatsClientssOverview bind:current_stations bind:modal_open bind:new_station bind:copy_modal_open />
|
||||
</section>
|
||||
|
||||
{#if store.state.jwtinfo.userdetails.permissions.includes('STATSCLIENT:CREATE')}
|
||||
<AddStatsClientModal bind:modal_open bind:current_clients bind:new_client bind:copy_modal_open/>
|
||||
<!-- <CopyStatsClientsTokenModal bind:copy_modal_open bind:new_client /> -->
|
||||
<AddStatsClientsModal bind:modal_open bind:current_stations bind:new_station bind:copy_modal_open/>
|
||||
<CopyStatsClientsTokenModal bind:copy_modal_open bind:new_station />
|
||||
{/if}
|
||||
|
@ -458,7 +458,7 @@
|
||||
"you-have-to-save-your-changes-to-generate-a-link": "Du musst deine Änderungen speichern, um einen Link zu generieren.",
|
||||
"you-must-create-at-least-one-card-or-cancel": "Du musst mindestens eine Blankokarte erstellen (oder abbrechen).",
|
||||
"zip-postal-code": "Postleitzahl",
|
||||
"statsclients": "Statsclient (aka Beamershow)",
|
||||
"statsclients": "Beamershow (aka Statsclient)",
|
||||
"create-a-new-statsclient": "Neuen Statsclient erstellen",
|
||||
"statsclients-are-being-loaded": "Statsclients werden geladen",
|
||||
"prefix": "Prefix",
|
||||
|
@ -459,7 +459,7 @@
|
||||
"you-have-to-save-your-changes-to-generate-a-link": "You have to save your changes to generate a link.",
|
||||
"you-must-create-at-least-one-card-or-cancel": "You must create at least one card (or cancel).",
|
||||
"zip-postal-code": "ZIP/ postal code",
|
||||
"statsclients": "Statsclients (aka Beamershow)",
|
||||
"statsclients": "Beamershow (aka statsclient)",
|
||||
"create-a-new-statsclient": "Create a new statsclient",
|
||||
"statsclients-are-being-loaded": "Loading statsclients",
|
||||
"prefix": "Prefix",
|
||||
|
Loading…
x
Reference in New Issue
Block a user