This commit is contained in:
@@ -56,7 +56,7 @@ TODO: LINTER ISSUES
|
|||||||
|
|
||||||
TODO: LOGIN navigate back to prior request when it triggers a login?
|
TODO: LOGIN navigate back to prior request when it triggers a login?
|
||||||
- Or would this cause a loop at times and fuck shit up?
|
- Or would this cause a loop at times and fuck shit up?
|
||||||
TODO UNDER CONSTRUCTION
|
DONE UNDER CONSTRUCTION
|
||||||
- show under construction page in every item that has no current view so it's clear it's not just buggy and blank but purposefully so
|
- show under construction page in every item that has no current view so it's clear it's not just buggy and blank but purposefully so
|
||||||
TODO: Trial mode client should offer alternative logins right on login page and fill in for user to try out
|
TODO: Trial mode client should offer alternative logins right on login page and fill in for user to try out
|
||||||
- So a list of user names and a short text of what that user is used for when testing
|
- So a list of user names and a short text of what that user is used for when testing
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import dispatch from "./views/dispatch.vue";
|
|||||||
import accounting from "./views/accounting.vue";
|
import accounting from "./views/accounting.vue";
|
||||||
import administration from "./views/administration.vue";
|
import administration from "./views/administration.vue";
|
||||||
import operations from "./views/operations.vue";
|
import operations from "./views/operations.vue";
|
||||||
|
import notfound from "./views/notfound.vue";
|
||||||
|
|
||||||
Vue.use(Router);
|
Vue.use(Router);
|
||||||
|
|
||||||
@@ -75,6 +76,11 @@ export default new Router({
|
|||||||
name: "inventory-widget-edit",
|
name: "inventory-widget-edit",
|
||||||
component: () =>
|
component: () =>
|
||||||
import(/* webpackChunkName: "inventory-widget-edit" */ "./views/inventory-widget-edit.vue")
|
import(/* webpackChunkName: "inventory-widget-edit" */ "./views/inventory-widget-edit.vue")
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "*",
|
||||||
|
name: "notfound",
|
||||||
|
component: notfound
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|||||||
24
ayanova/src/views/notfound.vue
Normal file
24
ayanova/src/views/notfound.vue
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<template>
|
||||||
|
<v-container>
|
||||||
|
<v-layout justify-center>
|
||||||
|
<v-flex xs12>
|
||||||
|
<div class="text-xs-center">
|
||||||
|
<v-icon color="red" size="100">fa-dragon</v-icon>
|
||||||
|
<div class="headline">{{"404 - " + this.$gzlocale.get("ErrorAPI2010")}}</div>
|
||||||
|
</div>
|
||||||
|
</v-flex>
|
||||||
|
</v-layout>
|
||||||
|
</v-container>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
beforeCreate() {
|
||||||
|
this.$gzevent.$emit("menu-change", {
|
||||||
|
isMain: true,
|
||||||
|
icon: "fa-dragon",
|
||||||
|
title: "404 - " + this.$gzlocale.get("ErrorAPI2010")
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
Reference in New Issue
Block a user