mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-24 02:39:20 -05:00
small fixes
This commit is contained in:
@@ -37,8 +37,20 @@
|
||||
<link id="id_custom_space_css" href="{{ theme_values.custom_theme }}" rel="stylesheet">
|
||||
{% endif %}
|
||||
|
||||
<style>
|
||||
{% if request.user.userpreference.theme == 'TANDOOR_DARK' %}
|
||||
/* vueform/multiselect */
|
||||
/* when append to body is true the multiselects dropdown does not recognize the .v-theme--dark condition and renders a white background otherwise */
|
||||
|
||||
.multiselect-dropdown, .multiselect-options, .multiselect-option {
|
||||
background: #212121 !important;
|
||||
}
|
||||
{% endif %}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="app"></div>
|
||||
|
||||
{% vite_hmr_client %}
|
||||
@@ -57,7 +69,9 @@
|
||||
{# } else {#}
|
||||
{# console.warn('service worker not in navigator');#}
|
||||
{# }#}
|
||||
{#});#}
|
||||
{#})
|
||||
;
|
||||
#}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
@@ -195,7 +195,7 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
.cv-day.today {
|
||||
background-color: var(--primary) !important;
|
||||
background-color: rgba(185, 135, 102, 0.2) !important;
|
||||
}
|
||||
|
||||
.cv-day.outsideOfMonth {
|
||||
@@ -209,12 +209,6 @@ onMounted(() => {
|
||||
.d01 .cv-day-number {
|
||||
background-color: #b98766 !important;
|
||||
}
|
||||
|
||||
/* vueform/multiselect */
|
||||
|
||||
.multiselect-dropdown {
|
||||
background: #212121 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.v-theme--light {
|
||||
|
||||
@@ -54,6 +54,8 @@ let routes = [
|
||||
{path: '/property-editor', component: () => import("@/pages/PropertyEditorPage.vue"), name: 'PropertyEditorPage'},
|
||||
|
||||
{path: '/space-setup', component: () => import("@/pages/SpaceSetupPage.vue"), name: 'SpaceSetupPage'},
|
||||
|
||||
{path: '/:pathMatch(.*)*', component: () => import("@/pages/404Page.vue"), name: '404Page'},
|
||||
]
|
||||
|
||||
// load plugin routes into routing table
|
||||
|
||||
24
vue3/src/pages/404Page.vue
Normal file
24
vue3/src/pages/404Page.vue
Normal file
@@ -0,0 +1,24 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<v-container>
|
||||
<v-row>
|
||||
<v-col class="text-center">
|
||||
<h1>404</h1>
|
||||
Oops, there is nothing here.
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
<v-row>
|
||||
<v-col class="text-center">
|
||||
<v-btn :to="{name: 'StartPage'}">{{$t('Home')}}</v-btn>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-container>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user