Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<template>
<div class="form_wrapper">
<div class="form_container">
<div class="title_container">
<h2>Profile</h2>
<div class="underline-title"></div>
</div>
<div class="row clearfix">
<div class="">
<div class="form">
<label for="user-oldPassword" style="padding-top: 13px">
Username
</label>
<div class="form-border"></div>
<label for="user-newPassword" style="padding-top: 13px">
Email
</label>
<div class="form-border"></div>
<label for="user-newPassword" style="padding-top: 13px">
First Name
</label>
<div class="form-border"></div>
<label for="user-newPassword" style="padding-top: 13px">
Last Name
</label>
<div class="form-border"></div>
<button id="submit-btn" @click.prevent="onClickResetPassword" type="submit" value="Submit">
Reset Password
</button>
</div>
</div>
</div>
</div>
</div>
</template>
<script setup lang="ts">
import { ref, reactive } from "vue";
import * as UserService from "../services/UserService";
import { useRouter } from "vue-router";
import { User } from "@/type/types";
const router = useRouter();
const userInformation = reactive({
oldPassword: "",
newPassword: ""
});
const onClickResetPassword = () => {
router.push("/resetpassword");
};
</script>
<style scoped>
body {
font-family: Verdana, Geneva, sans-serif;
font-size: 14px;
background: #f2f2f2;
}
.form_wrapper {
justify-content: center;
align-items: center;
display: flex;
}
.form_container {
background: #fbfbfb;
border-radius: 8px;
box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.65);
height: auto;
width: 30%;
padding: 12px 44px;
}
.title_container {
font-family: "Raleway Thin", sans-serif;
letter-spacing: 4px;
padding-bottom: 23px;
padding-top: 13px;
text-align: center;
}
.form {
align-items: left;
display: flex;
flex-direction: column;
}
.form-content {
background: #fbfbfb;
border: none;
outline: none;
padding-top: 14px;
}
.form-border {
background: #2ec06f;
height: 1px;
width: 100%;
}
#submit-btn {
background: #2ec06f;
border: none;
border-radius: 21px;
box-shadow: 0px 1px 8px #24c64f;
cursor: pointer;
color: white;
font-family: "Raleway SemiBold", sans-serif;
height: 42.3px;
margin: 0 auto;
margin-top: 50px;
transition: 0.25s;
width: 153px;
}
#submit-btn:hover {
box-shadow: 0px 1px 18px #24c64f;
}
.underline-title {
background: -webkit-linear-gradient(right, #a6f77b, #2ec06f);
height: 2px;
margin: -1.1rem auto 0 auto;
width: 200px;
}
.input_field radio_option {
margin-top: 10px;
}
</style>