0
1
Fork 0
This commit is contained in:
William Buezas 2024-08-14 08:30:53 -03:00
parent 7837925be9
commit ec14ca334a
12 changed files with 19 additions and 49 deletions

View File

@ -37,7 +37,6 @@ const onSubmit = async () => {
formData.append('image', file.value);
formData.append('schema', props.schema);
formData.append('srv', 'json:image/upload');
await api({
method: 'post',
url: location.origin,

View File

@ -57,6 +57,8 @@ export default {
adminVisits: 'Visites',
adminUsers: "Gestió d'usuaris",
adminPhotos: 'Imatges',
adminNews: 'Gestió de noticies',
adminNewsDetails: 'Afegir o editar notícia',
//
orderLoadedIntoBasket: 'Comanda carregada a la cistella!',
at: 'a les'

View File

@ -70,6 +70,8 @@ export default {
adminVisits: 'Visits',
adminUsers: 'User management',
adminPhotos: 'Images',
adminNews: 'News management',
adminNewsDetails: 'Add or edit new',
//
orderLoadedIntoBasket: 'Order loaded into basket!',
at: 'at',

View File

@ -76,6 +76,8 @@ export default {
adminVisits: 'Visitas',
adminUsers: 'Gestión de usuarios',
adminPhotos: 'Imágenes',
adminNews: 'Gestión de noticias',
adminNewsDetails: 'Añadir o editar noticia',
//
orderLoadedIntoBasket: '¡Pedido cargado en la cesta!',
at: 'a las',

View File

@ -57,6 +57,8 @@ export default {
adminVisits: 'Visites',
adminUsers: 'Gestion des utilisateurs',
adminPhotos: 'Images',
adminNews: 'Gestion des nouvelles',
adminNewsDetails: 'Ajouter ou editer nouvelles',
//
orderLoadedIntoBasket: 'Commande chargée dans le panier!',
at: 'à'

View File

@ -58,6 +58,8 @@ export default {
adminVisits: 'Visitas',
adminUsers: 'Gestão de usuários',
adminPhotos: 'Imagens',
adminNews: 'Gestão de notícias',
adminNewsDetails: 'Ajouter ou editer nouvelles',
//
orderLoadedIntoBasket: 'Pedido carregado na cesta!',
at: 'às'

View File

@ -128,28 +128,6 @@ onBeforeUnmount(() => clearInterval(intervalId.value));
</QPage>
</template>
<style lang="scss" scoped>
.card-container {
width: 140px;
height: 170px;
padding: 15px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.card-title {
font-size: 0.7rem;
font-weight: bold;
}
.card-description {
font-size: 0.65rem;
text-align: center;
}
</style>
<i18n lang="yaml">
en-US:
refresh: Refresh

View File

@ -0,0 +1 @@
<template>Admin news details</template>

View File

@ -0,0 +1 @@
<template>News view</template>

View File

@ -229,8 +229,6 @@ onMounted(async () => getImageCollections());
</QPage>
</template>
<style lang="scss" scoped></style>
<i18n lang="yaml">
en-US:
collection: Collection

View File

@ -130,28 +130,6 @@ watch(
</QPage>
</template>
<style lang="scss" scoped>
.card-container {
width: 140px;
height: 170px;
padding: 15px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.card-title {
font-size: 0.7rem;
font-weight: bold;
}
.card-description {
font-size: 0.65rem;
text-align: center;
}
</style>
<i18n lang="yaml">
en-US:
from: From

View File

@ -86,8 +86,13 @@ const routes = [
},
{
name: 'adminNews',
path: 'admin/news'
// component: () => import('pages/Admin/NewsView.vue')
path: 'news/news',
component: () => import('pages/Admin/NewsView.vue')
},
{
name: 'adminNewsDetails',
path: 'news/new/:id?',
component: () => import('pages/Admin/NewsDetails.vue')
},
{
name: 'adminPhotos',