despriegue
@@ -21,13 +21,16 @@ $ npm run generate
|
|||||||
|
|
||||||
### Front
|
### Front
|
||||||
|
|
||||||
- [ ] Verificación formulario nuevo presupuesto y duplicados
|
- [x] Verificación formulario nuevo presupuesto y duplicados
|
||||||
- [ ] Delete Items presupuesto Front
|
- [x] Delete Items presupuesto Front
|
||||||
|
- [ ] Front Créditos
|
||||||
|
- [ ] Desplegar aplicación
|
||||||
|
- [ ] Front Resumen y gráficas
|
||||||
|
|
||||||
### Back
|
### Back
|
||||||
|
|
||||||
- [ ] API delete items presupuesto
|
- [x] API delete items presupuesto
|
||||||
- [ ] Verificación de nombre presupuesto repetidos
|
- [x] Verificación de nombre presupuesto repetidos
|
||||||
|
- [ ] Api Créditos
|
||||||
|
|
||||||
For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).
|
For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="wrapper" :class="{ 'nav-open': $sidebar.showSidebar }">
|
<div class="wrapper" :class="{ 'nav-open': $sidebar.showSidebar }">
|
||||||
|
|
||||||
|
|
||||||
<side-bar
|
<side-bar
|
||||||
:background-color="sidebarBackground"
|
:background-color="sidebarBackground"
|
||||||
short-title="MD"
|
short-title="MD"
|
||||||
@@ -9,36 +7,44 @@
|
|||||||
>
|
>
|
||||||
<notifications></notifications>
|
<notifications></notifications>
|
||||||
<template slot-scope="props" slot="links">
|
<template slot-scope="props" slot="links">
|
||||||
|
|
||||||
<sidebar-item
|
<sidebar-item
|
||||||
:link="{
|
:link="{
|
||||||
name: 'Compras',
|
name: 'Compras',
|
||||||
icon: 'tim-icons icon-chart-pie-36',
|
icon: 'tim-icons icon-cart',
|
||||||
path: '/compras'
|
path: '/compras',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
</sidebar-item>
|
</sidebar-item>
|
||||||
<sidebar-item
|
<sidebar-item
|
||||||
:link="{
|
:link="{
|
||||||
name: 'Ingresos',
|
name: 'Ingresos',
|
||||||
icon: 'tim-icons icon-chart-pie-36',
|
icon: 'tim-icons icon-money-coins',
|
||||||
path: '/ingresos'
|
path: '/ingresos',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
</sidebar-item>
|
</sidebar-item>
|
||||||
<sidebar-item
|
<sidebar-item
|
||||||
:link="{
|
:link="{
|
||||||
name: 'Presupuesto',
|
name: 'Presupuesto',
|
||||||
icon: 'tim-icons icon-chart-pie-36',
|
icon: 'tim-icons icon-puzzle-10',
|
||||||
path: '/presupuesto'
|
path: '/presupuesto',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
</sidebar-item>
|
||||||
|
|
||||||
|
<sidebar-item
|
||||||
|
:link="{
|
||||||
|
name: 'Créditos',
|
||||||
|
icon: 'tim-icons icon-bank',
|
||||||
|
path: '/creditos',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
</sidebar-item>
|
</sidebar-item>
|
||||||
<sidebar-item
|
<sidebar-item
|
||||||
:link="{
|
:link="{
|
||||||
name: 'Resumen',
|
name: 'Resumen',
|
||||||
icon: 'tim-icons icon-chart-pie-36',
|
icon: 'tim-icons icon-chart-bar-32',
|
||||||
path: '/resumen'
|
path: '/resumen',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
</sidebar-item>
|
</sidebar-item>
|
||||||
@@ -46,14 +52,11 @@
|
|||||||
<sidebar-item
|
<sidebar-item
|
||||||
:link="{
|
:link="{
|
||||||
name: 'Configuración',
|
name: 'Configuración',
|
||||||
icon: 'tim-icons icon-chart-pie-36',
|
icon: 'tim-icons icon-settings',
|
||||||
path: '/configuracion'
|
path: '/configuracion',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
</sidebar-item>
|
</sidebar-item>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</side-bar>
|
</side-bar>
|
||||||
<!--Share plugin (for demo purposes). You can remove it if don't plan on using it-->
|
<!--Share plugin (for demo purposes). You can remove it if don't plan on using it-->
|
||||||
@@ -62,10 +65,7 @@
|
|||||||
<dashboard-navbar></dashboard-navbar>
|
<dashboard-navbar></dashboard-navbar>
|
||||||
<!-- <router-view name="header"></router-view> -->
|
<!-- <router-view name="header"></router-view> -->
|
||||||
|
|
||||||
<div
|
<div :class="{ content: !isFullScreenRoute }" @click="toggleSidebar">
|
||||||
:class="{ content: !isFullScreenRoute }"
|
|
||||||
@click="toggleSidebar"
|
|
||||||
>
|
|
||||||
<zoom-center-transition :duration="200" mode="out-in">
|
<zoom-center-transition :duration="200" mode="out-in">
|
||||||
<!-- your content here -->
|
<!-- your content here -->
|
||||||
<nuxt></nuxt>
|
<nuxt></nuxt>
|
||||||
@@ -76,15 +76,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
/* eslint-disable no-new */
|
/* eslint-disable no-new */
|
||||||
import PerfectScrollbar from 'perfect-scrollbar';
|
import PerfectScrollbar from "perfect-scrollbar";
|
||||||
import 'perfect-scrollbar/css/perfect-scrollbar.css';
|
import "perfect-scrollbar/css/perfect-scrollbar.css";
|
||||||
import SidebarShare from '@/components/Layout/SidebarSharePlugin';
|
import SidebarShare from "@/components/Layout/SidebarSharePlugin";
|
||||||
function hasElement(className) {
|
function hasElement(className) {
|
||||||
return document.getElementsByClassName(className).length > 0;
|
return document.getElementsByClassName(className).length > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
function initScrollbar(className) {
|
function initScrollbar(className) {
|
||||||
if (hasElement(className)) {
|
if (hasElement(className)) {
|
||||||
new PerfectScrollbar(`.${className}`);
|
new PerfectScrollbar(`.${className}`);
|
||||||
} else {
|
} else {
|
||||||
@@ -93,32 +93,31 @@
|
|||||||
initScrollbar(className);
|
initScrollbar(className);
|
||||||
}, 100);
|
}, 100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
import DashboardNavbar from '@/components/Layout/DashboardNavbar.vue';
|
import DashboardNavbar from "@/components/Layout/DashboardNavbar.vue";
|
||||||
import ContentFooter from '@/components/Layout/ContentFooter.vue';
|
import ContentFooter from "@/components/Layout/ContentFooter.vue";
|
||||||
import DashboardContent from '@/components/Layout/Content.vue';
|
import DashboardContent from "@/components/Layout/Content.vue";
|
||||||
import { SlideYDownTransition, ZoomCenterTransition } from 'vue2-transitions';
|
import { SlideYDownTransition, ZoomCenterTransition } from "vue2-transitions";
|
||||||
|
|
||||||
export default {
|
|
||||||
|
|
||||||
|
export default {
|
||||||
components: {
|
components: {
|
||||||
DashboardNavbar,
|
DashboardNavbar,
|
||||||
ContentFooter,
|
ContentFooter,
|
||||||
DashboardContent,
|
DashboardContent,
|
||||||
SlideYDownTransition,
|
SlideYDownTransition,
|
||||||
ZoomCenterTransition,
|
ZoomCenterTransition,
|
||||||
SidebarShare
|
SidebarShare,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
sidebarBackground: 'blue' //vue|blue|orange|green|red|primary
|
sidebarBackground: "blue", //vue|blue|orange|green|red|primary
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
isFullScreenRoute() {
|
isFullScreenRoute() {
|
||||||
return this.$route.path === '/maps/full-screen'
|
return this.$route.path === "/maps/full-screen";
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
toggleSidebar() {
|
toggleSidebar() {
|
||||||
@@ -128,29 +127,27 @@
|
|||||||
},
|
},
|
||||||
initScrollbar() {
|
initScrollbar() {
|
||||||
let docClasses = document.body.classList;
|
let docClasses = document.body.classList;
|
||||||
let isWindows = navigator.platform.startsWith('Win');
|
let isWindows = navigator.platform.startsWith("Win");
|
||||||
if (isWindows) {
|
if (isWindows) {
|
||||||
// if we are on windows OS we activate the perfectScrollbar function
|
// if we are on windows OS we activate the perfectScrollbar function
|
||||||
initScrollbar('sidebar');
|
initScrollbar("sidebar");
|
||||||
initScrollbar('main-panel');
|
initScrollbar("main-panel");
|
||||||
initScrollbar('sidebar-wrapper');
|
initScrollbar("sidebar-wrapper");
|
||||||
|
|
||||||
docClasses.add('perfect-scrollbar-on');
|
docClasses.add("perfect-scrollbar-on");
|
||||||
} else {
|
} else {
|
||||||
docClasses.add('perfect-scrollbar-off');
|
docClasses.add("perfect-scrollbar-off");
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
||||||
this.initScrollbar();
|
this.initScrollbar();
|
||||||
|
},
|
||||||
}
|
};
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
$scaleSize: 0.95;
|
$scaleSize: 0.95;
|
||||||
@keyframes zoomIn95 {
|
@keyframes zoomIn95 {
|
||||||
from {
|
from {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transform: scale3d($scaleSize, $scaleSize, $scaleSize);
|
transform: scale3d($scaleSize, $scaleSize, $scaleSize);
|
||||||
@@ -158,13 +155,13 @@
|
|||||||
to {
|
to {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-panel .zoomIn {
|
.main-panel .zoomIn {
|
||||||
animation-name: zoomIn95;
|
animation-name: zoomIn95;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes zoomOut95 {
|
@keyframes zoomOut95 {
|
||||||
from {
|
from {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
@@ -172,9 +169,9 @@
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
transform: scale3d($scaleSize, $scaleSize, $scaleSize);
|
transform: scale3d($scaleSize, $scaleSize, $scaleSize);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-panel .zoomOut {
|
.main-panel .zoomOut {
|
||||||
animation-name: zoomOut95;
|
animation-name: zoomOut95;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -61,6 +61,7 @@ export default {
|
|||||||
axios: {
|
axios: {
|
||||||
//baseURL: "http://192.168.1.111:4000/api"
|
//baseURL: "http://192.168.1.111:4000/api"
|
||||||
baseURL:"http://localhost:4000/api"
|
baseURL:"http://localhost:4000/api"
|
||||||
|
//baseURL:"https://finanzasm.herokuapp.com/api"
|
||||||
},
|
},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
14
APP/pages/creditos.vue
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<template>
|
||||||
|
<h1>Creditos</h1>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
middleware: "authenticated",
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
middleware: "authenticated",
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 447 B |
|
Before Width: | Height: | Size: 590 B |
|
Before Width: | Height: | Size: 301 B |
|
Before Width: | Height: | Size: 546 B |
|
Before Width: | Height: | Size: 566 B |
|
Before Width: | Height: | Size: 372 B |
|
Before Width: | Height: | Size: 805 B |
|
Before Width: | Height: | Size: 330 KiB |
|
Before Width: | Height: | Size: 239 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 100 KiB |
@@ -1,7 +0,0 @@
|
|||||||
<svg viewBox="0 0 400 400" version="1" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<g transform="translate(0 49)" fill="none" fill-rule="evenodd">
|
|
||||||
<path d="M123 292l-1-1c-2-4-2-8-2-12H25L167 27l59 107 19-14-59-107c-1-2-8-13-20-13-5 0-13 2-19 13L4 268c-1 2-7 14-1 24 2 5 8 10 21 10h120c-13 0-19-5-21-10z" fill="#00C58E"/>
|
|
||||||
<path d="M395 269L280 62c-2-2-8-13-20-13-5 0-12 2-19 13l-15 24v48l34-59 114 204h-43a20 20 0 0 1-2 12v1c-6 10-19 10-21 10h68c2 0 15 0 21-10 2-5 4-13-2-23z" fill="#108775"/>
|
|
||||||
<path d="M332 292v-1l1-2c1-3 2-7 1-10l-4-11-90-158-13-24h-1l-13 24-91 158-3 11a21 21 0 0 0 2 13c3 5 9 10 21 10h168c3 0 16 0 22-10zM226 134l83 145H144l82-145z" fill="#2F495E" fill-rule="nonzero"/>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 709 B |
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 196 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 24 KiB |