prepare for #22

This commit is contained in:
2026-02-05 18:30:53 +02:00
parent 7a69ea59ff
commit 8a0fa08304
6 changed files with 25 additions and 11 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

+6 -1
View File
@@ -1,6 +1,11 @@
<template> <template>
<v-app-bar color="blue" scroll-behavior="elevate" scroll-threshold="20"> <v-app-bar color="blue" scroll-behavior="elevate" scroll-threshold="20" :height="100" image="/static/bck-2.webp">
<!-- <v-app-bar-nav-icon variant="text" @click.stop="drawer = !drawer"></v-app-bar-nav-icon> --> <!-- <v-app-bar-nav-icon variant="text" @click.stop="drawer = !drawer"></v-app-bar-nav-icon> -->
<template v-slot:prepend>
<v-avatar class="ml-3" size="66" rounded="0">
<v-img src="/logo.webp" alt="ProNature Logo"></v-img>
</v-avatar>
</template>
<v-app-bar-title>{{ l.playground }}</v-app-bar-title> <v-app-bar-title>{{ l.playground }}</v-app-bar-title>
<v-btn to="/manage" icon="mdi-wrench-cog-outline" v-if="roles.editor" v-tooltip="l.workshop"></v-btn> <v-btn to="/manage" icon="mdi-wrench-cog-outline" v-if="roles.editor" v-tooltip="l.workshop"></v-btn>
<v-dialog max-width="480"> <v-dialog max-width="480">
+12 -8
View File
@@ -1,6 +1,11 @@
<template> <template>
<v-app-bar color="primary" scroll-behavior="elevate" scroll-threshold="20"> <v-app-bar color="primary" scroll-behavior="elevate" scroll-threshold="20" :height="100" image="/static/bck-1.webp">
<!-- <v-app-bar-nav-icon variant="text" @click.stop="drawer = !drawer"></v-app-bar-nav-icon> --> <!-- <v-app-bar-nav-icon variant="text" @click.stop="drawer = !drawer"></v-app-bar-nav-icon> -->
<template v-slot:prepend>
<v-avatar class="ml-3" size="66" rounded="0">
<v-img src="/logo.webp" alt="ProNature Logo"></v-img>
</v-avatar>
</template>
<v-app-bar-title>{{ l.workshop }}</v-app-bar-title> <v-app-bar-title>{{ l.workshop }}</v-app-bar-title>
<v-btn to="/" icon="mdi-seesaw" v-tooltip="l.playground"></v-btn> <v-btn to="/" icon="mdi-seesaw" v-tooltip="l.playground"></v-btn>
<v-menu> <v-menu>
@@ -16,13 +21,12 @@
</v-app-bar> </v-app-bar>
<v-navigation-drawer class="bg-secondary" expand-on-hover rail> <v-navigation-drawer class="bg-secondary" expand-on-hover rail>
<v-list>
<v-list-item prepend-avatar="/logo.webp" subtitle="Admin Console" title="ProNature"></v-list-item>
</v-list>
<v-divider></v-divider> <v-divider></v-divider>
<v-list nav> <v-list nav>
<v-list-item prepend-icon="mdi-database" to="/manage/game-objects/list" :title="l.gameObjects"></v-list-item> <v-list-item prepend-icon="mdi-database" to="/manage/game-objects/list"
<v-list-item prepend-icon="mdi-receipt-text-edit-outline" to="/manage/scenarios/list" :title="l.gameScenarios"></v-list-item> :title="l.gameObjects"></v-list-item>
<v-list-item prepend-icon="mdi-receipt-text-edit-outline" to="/manage/scenarios/list"
:title="l.gameScenarios"></v-list-item>
<!-- <v-list-item prepend-icon="mdi-cogs" :title="l.gameRules"></v-list-item> --> <!-- <v-list-item prepend-icon="mdi-cogs" :title="l.gameRules"></v-list-item> -->
<v-divider></v-divider> <v-divider></v-divider>
<v-list-item prepend-icon="mdi-controller" :title="l.games" to="/manage/games/list"></v-list-item> <v-list-item prepend-icon="mdi-controller" :title="l.games" to="/manage/games/list"></v-list-item>
@@ -46,7 +50,7 @@
import { useTheme } from 'vuetify' import { useTheme } from 'vuetify'
const theme = useTheme() const theme = useTheme()
function toggleTheme () { function toggleTheme() {
theme.global.name.value = theme.global.current.value.dark ? 'light' : 'dark' theme.global.name.value = theme.global.current.value.dark ? 'light' : 'dark'
} }
</script> </script>
+1 -1
View File
@@ -1,6 +1,6 @@
<template> <template>
<AppHeader /> <AppHeader />
<v-main> <v-main class="playground">
<router-view /> <router-view />
</v-main> </v-main>
<AppFooter /> <AppFooter />
+5
View File
@@ -1,3 +1,8 @@
.v-main.playground {
//background: linear-gradient(0deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.9)), url(/static/bck-full.webp) no-repeat center center fixed;
background-size: cover;
}
.container { .container {
margin:auto; margin:auto;
max-width: 1200px; max-width: 1200px;