Skip to content

Commit 7704b0c

Browse files
committed
Move asset complete page added
1 parent f52f167 commit 7704b0c

File tree

2 files changed

+74
-1
lines changed

2 files changed

+74
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import LocationPage from "../views/LocationPage.vue";
88
import TransactionPage from "../views/TransactionPage.vue";
99
import MoveAssetsPage from "../views/MoveAssetsPage.vue";
1010
import PackingCompletePage from "../views/PackingCompletePage.vue";
11+
import MoveAssetsCompletePage from "@/views/MoveAssetsCompletePage.vue";
1112

1213
const routes = [
1314
// { path: "/", component: LoginPage },
@@ -21,7 +22,8 @@ const routes = [
2122
{ path: "transaction", component: TransactionPage /*, meta: { requiresAuth: true }*/ },
2223
{ path: "location", component: LocationPage /*, meta: { requiresAuth: true }*/ },
2324
{ path: "move-assets", component: MoveAssetsPage /*, meta: { requiresAuth: true }*/ },
24-
{ path: "packing-complete", component: PackingCompletePage /*, meta: { requiresAuth: true }*/ }
25+
{ path: "packing-complete", component: PackingCompletePage /*, meta: { requiresAuth: true }*/ },
26+
{ path: "move-assets-complete", component: MoveAssetsCompletePage /*, meta: { requiresAuth: true }*/ }
2527
],
2628
},
2729
];
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">Move assets to a new location 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 ‘move another asset’ below to start scanning assets to a new location.</p>
31+
<br/>
32+
<div class="form-group">
33+
<button class="btn btn-primary" @click="goToHome" style="width: 237px; margin-right: 8px">Move another asset</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: 630px;
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)