Skip to content

Commit f52f167

Browse files
committed
packing complete page added
1 parent d78bd41 commit f52f167

File tree

3 files changed

+74
-1
lines changed

3 files changed

+74
-1
lines changed
2.76 KB
Loading

vue-frontend/warehouse-frontend/src/router/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import PackingPage from "../views/PackingPage.vue";
77
import LocationPage from "../views/LocationPage.vue";
88
import TransactionPage from "../views/TransactionPage.vue";
99
import MoveAssetsPage from "../views/MoveAssetsPage.vue";
10+
import PackingCompletePage from "../views/PackingCompletePage.vue";
1011

1112
const routes = [
1213
// { path: "/", component: LoginPage },
@@ -19,7 +20,8 @@ const routes = [
1920
{ path: "packing", component: PackingPage /*, meta: { requiresAuth: true }*/ },
2021
{ path: "transaction", component: TransactionPage /*, meta: { requiresAuth: true }*/ },
2122
{ path: "location", component: LocationPage /*, meta: { requiresAuth: true }*/ },
22-
{ path: "move-assets", component: MoveAssetsPage /*, meta: { requiresAuth: true }*/ }
23+
{ path: "move-assets", component: MoveAssetsPage /*, meta: { requiresAuth: true }*/ },
24+
{ path: "packing-complete", component: PackingCompletePage /*, meta: { requiresAuth: true }*/ }
2325
],
2426
},
2527
];
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<script>
2+
export default {
3+
data() {
4+
return {
5+
locationId: "",
6+
mode:""
7+
};
8+
},
9+
mounted() {
10+
},
11+
methods: {
12+
goToHome() {
13+
this.$router.push("/");
14+
},
15+
}
16+
};
17+
</script>
18+
19+
<template>
20+
21+
<div class="d-flex justify-content-center align-items-center vh-70 flex-column">
22+
23+
24+
<!-- Card Container -->
25+
<div class="card text-center">
26+
<img src="../assets/tick-mark.png" alt="Tick" class="logo">
27+
28+
<p class="title">Work in progress palleting complete!</p>
29+
30+
<p style=" font-size: 20px; color: rgba(7, 89, 118, 1); font-weight: 500;">Return to the mode selection screen or select ‘new WIP pallet’ below to start scanning assets on a new pallet.</p>
31+
<br/>
32+
<div class="form-group">
33+
<button class="btn btn-primary" @click="goToHome" style="width: 237px; margin-right: 8px">New WIP pallet</button>
34+
<button class="btn btn-primary" @click="goToHome" style="width: 237px">Return to mode select</button>
35+
</div>
36+
</div>
37+
</div>
38+
</template>
39+
40+
<style scoped>
41+
.vh-70 {
42+
height: 70vh;
43+
}
44+
.card {
45+
padding: 30px;
46+
border: none;
47+
max-width: 600px;
48+
width: 100%;
49+
background-color: inherit;
50+
}
51+
.btn-primary {
52+
border-color: #04A27D;
53+
color: #04A27D;
54+
background-color: inherit;
55+
}
56+
.btn-primary:hover {
57+
background-color: #04A27D;
58+
border-color: #04A27D;
59+
color: #fff;
60+
}
61+
.logo {
62+
display: block;
63+
margin: 0 auto 15px;
64+
width: 48px;
65+
}
66+
.title{
67+
color: rgba(7, 89, 118, 1);
68+
font-size: 32px;
69+
font-weight: 500;
70+
}
71+
</style>

0 commit comments

Comments
 (0)