2022-02-10 01:04:17 +01:00
|
|
|
<template>
|
|
|
|
|
<q-footer
|
2022-11-29 00:16:25 +01:00
|
|
|
v-if="tools.isUserOk() && site && site.confpages"
|
|
|
|
|
:class="($q.dark.isActive ? `bg-black` : `bg-white`) + `small-screen-only`"
|
2022-02-10 01:04:17 +01:00
|
|
|
bordered
|
|
|
|
|
>
|
|
|
|
|
<q-tabs
|
2022-08-17 00:36:30 +02:00
|
|
|
dense
|
2022-11-29 00:16:25 +01:00
|
|
|
:class="($q.dark.isActive ? `text-white bg-black` : `text-grey-10 bg-white`) + ` mylabfooter mysmalltabs`"
|
2022-09-12 18:36:54 +02:00
|
|
|
style="padding: 0px !important;"
|
|
|
|
|
content-class="mysmalltabs"
|
2022-11-29 00:16:25 +01:00
|
|
|
:active-color="$q.dark.isActive ? `primary`: `primary`"
|
2022-08-17 00:36:30 +02:00
|
|
|
no-caps
|
2022-02-10 01:04:17 +01:00
|
|
|
indicator-color="transparent"
|
|
|
|
|
>
|
|
|
|
|
<q-route-tab
|
2022-11-28 14:00:15 +01:00
|
|
|
v-if="site.confpages.showButtHome"
|
2022-02-10 01:04:17 +01:00
|
|
|
to="/"
|
2022-08-17 00:36:30 +02:00
|
|
|
class="mylabfooter"
|
|
|
|
|
:label="$t('tabdown.home')"
|
2022-02-10 01:04:17 +01:00
|
|
|
icon="fas fa-home"
|
|
|
|
|
/>
|
|
|
|
|
<q-route-tab
|
2022-11-28 14:00:15 +01:00
|
|
|
v-if="site.confpages.showViewGroups"
|
2022-08-17 00:36:30 +02:00
|
|
|
class="mylabfooter"
|
|
|
|
|
:label="$t('tabdown.groups')"
|
2022-02-10 01:04:17 +01:00
|
|
|
to="/groups"
|
|
|
|
|
icon="fas fa-users"
|
|
|
|
|
/>
|
2022-09-12 18:36:54 +02:00
|
|
|
<q-route-tab
|
2022-11-28 14:00:15 +01:00
|
|
|
v-if="site.confpages.showViewCircuits"
|
2022-09-12 18:36:54 +02:00
|
|
|
class="mylabfooter"
|
|
|
|
|
:label="$t('tabdown.circuits')"
|
|
|
|
|
to="/circuits"
|
|
|
|
|
icon="fas fa-coins"
|
|
|
|
|
/>
|
2022-02-10 01:04:17 +01:00
|
|
|
<q-route-tab
|
2022-11-28 14:00:15 +01:00
|
|
|
v-if="site.confpages.showViewUsers"
|
2022-08-17 00:36:30 +02:00
|
|
|
class="mylabfooter"
|
|
|
|
|
:label="$t('tabdown.friends')"
|
2022-02-10 01:04:17 +01:00
|
|
|
to="/friends"
|
|
|
|
|
icon="fas fa-user-friends"
|
|
|
|
|
/>
|
|
|
|
|
<q-route-tab
|
2022-11-28 14:00:15 +01:00
|
|
|
v-if="site.confpages.bookingEvents"
|
2022-08-17 00:36:30 +02:00
|
|
|
class="mylabfooter"
|
|
|
|
|
:label="$t('tabdown.bookings')"
|
2022-05-27 01:33:39 +02:00
|
|
|
to="/admin/eventlist"
|
|
|
|
|
icon="fas fa-calendar-plus"
|
|
|
|
|
/>
|
|
|
|
|
<q-route-tab
|
2022-11-28 14:00:15 +01:00
|
|
|
v-if="site.confpages.showViewProfile"
|
2022-08-17 00:36:30 +02:00
|
|
|
class="mylabfooter"
|
|
|
|
|
:label="$t('tabdown.profile')"
|
2022-02-10 01:04:17 +01:00
|
|
|
:to="`/my/`+getMyUsername()"
|
|
|
|
|
icon="person"
|
|
|
|
|
/>
|
|
|
|
|
</q-tabs>
|
|
|
|
|
</q-footer>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" src="./MyFooter.ts">
|
|
|
|
|
</script>
|
|
|
|
|
|
2022-09-12 18:36:54 +02:00
|
|
|
<style lang="scss" scoped>
|
2022-02-10 01:04:17 +01:00
|
|
|
@import './MyFooter.scss';
|
|
|
|
|
</style>
|