ESLint: Auto format and fix some warnings / errors.
This commit is contained in:
parent
90ac67efbe
commit
867be21f68
32 changed files with 737 additions and 489 deletions
frontend/src/components/page
|
@ -1,5 +1,4 @@
|
|||
<script setup lang="ts">
|
||||
</script>
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<template>
|
||||
<div class="page-container">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import {useConfigStore} from "@/stores/config";
|
||||
import {useVersionStore} from "@/stores/version";
|
||||
import { useConfigStore } from "@/stores/config";
|
||||
import { useVersionStore } from "@/stores/version";
|
||||
|
||||
const configStore = useConfigStore();
|
||||
const versionStore = useVersionStore();
|
||||
|
@ -12,17 +12,24 @@ const versionStore = useVersionStore();
|
|||
<a href="https://github.com/freifunkhamburg/ffffng" target="_blank">
|
||||
<i class="fa fa-code" aria-hidden="true" /> Source Code
|
||||
</a>
|
||||
<a href="https://github.com/freifunkhamburg/ffffng/issues" target="_blank">
|
||||
<a
|
||||
href="https://github.com/freifunkhamburg/ffffng/issues"
|
||||
target="_blank"
|
||||
>
|
||||
<i class="fa fa-bug" aria-hidden="true" /> Fehler melden
|
||||
</a>
|
||||
<a
|
||||
v-if="configStore.getConfig.legal.privacyUrl"
|
||||
:href="configStore.getConfig.legal.privacyUrl"
|
||||
target="_blank">Datenschutz</a>
|
||||
target="_blank"
|
||||
>Datenschutz</a
|
||||
>
|
||||
<a
|
||||
v-if="configStore.getConfig.legal.imprintUrl"
|
||||
:href="configStore.getConfig.legal.imprintUrl"
|
||||
target="_blank">Impressum</a>
|
||||
target="_blank"
|
||||
>Impressum</a
|
||||
>
|
||||
</footer>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import {useConfigStore} from "@/stores/config";
|
||||
import {route, RouteName} from "@/router";
|
||||
import { useConfigStore } from "@/stores/config";
|
||||
import { route, RouteName } from "@/router";
|
||||
|
||||
const configStore = useConfigStore();
|
||||
</script>
|
||||
|
@ -18,12 +18,13 @@ const configStore = useConfigStore();
|
|||
|
||||
<h1>
|
||||
<RouterLink :to="route(RouteName.HOME)">
|
||||
{{ configStore.getConfig.community.name }} – Knotenverwaltung
|
||||
{{ configStore.getConfig.community.name }} –
|
||||
Knotenverwaltung
|
||||
</RouterLink>
|
||||
</h1>
|
||||
|
||||
<RouterLink class="admin-link" :to="route(RouteName.ADMIN)">
|
||||
<i class="fa fa-wrench" aria-hidden="true"/> Admin-Panel
|
||||
<i class="fa fa-wrench" aria-hidden="true" /> Admin-Panel
|
||||
</RouterLink>
|
||||
</nav>
|
||||
</header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue