This commit is contained in:
2019-05-24 20:24:35 +00:00
parent 9fe11125fa
commit b1640e0baa
11 changed files with 405 additions and 18 deletions

View File

@@ -0,0 +1,20 @@
<template>
<UnderConstruction />
</template>
<script>
import UnderConstruction from "../components/underconstruction.vue";
export default {
components: {
UnderConstruction
},
beforeCreate() {
this.$gzevent.$emit("menu-change", {
isMain: true,
icon: "fa-file-invoice-dollar",
title: this.$gzlocale.get("Accounting")
});
}
};
</script>

View File

@@ -0,0 +1,20 @@
<template>
<UnderConstruction />
</template>
<script>
import UnderConstruction from "../components/underconstruction.vue";
export default {
components: {
UnderConstruction
},
beforeCreate() {
this.$gzevent.$emit("menu-change", {
isMain: true,
icon: "fa-user-tie",
title: this.$gzlocale.get("Administration")
});
}
};
</script>

View File

@@ -0,0 +1,20 @@
<template>
<UnderConstruction />
</template>
<script>
import UnderConstruction from "../components/underconstruction.vue";
export default {
components: {
UnderConstruction
},
beforeCreate() {
this.$gzevent.$emit("menu-change", {
isMain: true,
icon: "fa-shipping-fast",
title: this.$gzlocale.get("Dispatch")
});
}
};
</script>

View File

@@ -2,12 +2,7 @@
<v-container fluid>
<v-layout row wrap>
<v-flex xs12 class="hidden-sm-and-down text-xs-center" mt-5 ml-5 pl-5>
<v-img
:src="require('../assets/logo.svg')"
class="my-3"
contain
height="200"
></v-img>
<v-img :src="require('../assets/logo.svg')" class="my-3" contain height="200"></v-img>
</v-flex>
<v-flex xs12 class="hidden-md-and-up text-xs-center">
<v-img :src="require('../assets/logo.svg')" contain height="64"></v-img>
@@ -29,6 +24,8 @@
autocapitalize="off"
spellcheck="false"
:error="errorBadCreds"
v-focus
v-on:keyup.enter="onEnterUserName"
></v-text-field>
</v-flex>
<v-flex>
@@ -41,6 +38,7 @@
required
clearable
:error="errorBadCreds"
v-on:keyup.enter="login"
></v-text-field>
</v-flex>
<v-flex class="text-xs-center" mt-1>
@@ -77,6 +75,10 @@ export default {
});
},
methods: {
onEnterUserName: function() {
//move focus to password
document.getElementsByName("password")[0].focus();
},
login() {
if (this.input.username != "" && this.input.password != "") {
this.errorBadCreds = false;

View File

@@ -0,0 +1,20 @@
<template>
<UnderConstruction />
</template>
<script>
import UnderConstruction from "../components/underconstruction.vue";
export default {
components: {
UnderConstruction
},
beforeCreate() {
this.$gzevent.$emit("menu-change", {
isMain: true,
icon: "fa-cogs",
title: this.$gzlocale.get("Operations")
});
}
};
</script>

View File

@@ -0,0 +1,20 @@
<template>
<UnderConstruction />
</template>
<script>
import UnderConstruction from "../components/underconstruction.vue";
export default {
components: {
UnderConstruction
},
beforeCreate() {
this.$gzevent.$emit("menu-change", {
isMain: true,
icon: "fa-toolbox",
title: this.$gzlocale.get("Service")
});
}
};
</script>