-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedit-profile.html
208 lines (188 loc) · 6.02 KB
/
edit-profile.html
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<!DOCTYPE html>
<html lang="english">
<head>
<title>TransUI</title>
<meta property="og:title" content="editProfile - exported project" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="utf-8" />
<meta property="twitter:card" content="summary_large_image" />
<style data-tag="reset-style-sheet">
html {
line-height: 1.15;
}
body {
margin: 0;
}
* {
box-sizing: border-box;
border-width: 0;
border-style: solid;
}
p,
li,
ul,
pre,
div,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
blockquote,
figcaption {
margin: 0;
padding: 0;
}
button {
background-color: transparent;
}
button,
input,
optgroup,
select,
textarea {
font-family: inherit;
font-size: 100%;
line-height: 1.15;
margin: 0;
}
button,
select {
text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
button:-moz-focus,
[type="button"]:-moz-focus,
[type="reset"]:-moz-focus,
[type="submit"]:-moz-focus {
outline: 1px dotted ButtonText;
}
a {
color: inherit;
text-decoration: inherit;
}
input {
padding: 2px 4px;
}
img {
display: block;
}
html {
scroll-behavior: smooth
}
</style>
<style data-tag="default-style-sheet">
html {
font-family: Inter;
font-size: 16px;
}
body {
font-weight: 400;
font-style: normal;
text-decoration: none;
text-transform: none;
letter-spacing: normal;
line-height: 1.15;
color: var(--dl-color-gray-black);
background-color: var(--dl-color-gray-white);
}
</style>
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap"
data-tag="font" />
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap"
data-tag="font" />
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
data-tag="font" />
<link rel="stylesheet" href="./css/style.css" />
</head>
<body>
<div>
<link href="./css/edit-profile.css" rel="stylesheet" />
<div class="edit-profile-container">
<div class="edit-profile-i-phone-plus5">
<div class="edit-profile-group8">
<span class="edit-profile-text"><span>TransUI</span></span>
<img src="public/external/vector9733-alyc.svg" alt="Vector9733" class="edit-profile-vector" />
</div>
<div class="edit-profile-nav">
<img src="public/external/ellipse1209736-j04-200h.png" alt="Ellipse1209736" class="edit-profile-ellipse120" />
</div>
<img src="public/external/arrowleft9732-73ii.svg" alt="ArrowLeft9732" class="edit-profile-arrow-left"
onclick="window.location.href='/profile'" />
<input type="text" id="name" name="name" placeholder="Name" class="edit-profile-sec">
<input type="text" id="phoneNumber" name="phoneNumber" placeholder="Phone Number" class="edit-profile-sec1">
<!--div class="edit-profile-sec2"-->
<input type="email" id="email" name="email" value="Email" class="edit-profile-sec2" readonly>
<!--/div-->
<input type="text" id="alamat" name="alamat" placeholder="Alamat" class="edit-profile-sec3ori">
<div id="mahasiswa-fields" style="display: none;">
<input type="text" id="npm" name="npm" placeholder="Masukkan NPM" class="edit-profile-sec3">
</div>
<div id="partner-fields" style="display: none;">
<input type="text" id="partnerID" name="partnerID" placeholder="Masukkan partner ID"
class="edit-profile-sec3">
<br>
<input type="text" id="vehicleLicense" name="vehicleLicense" placeholder="Masukkan nomor kendaraan"
class="edit-profile-sec3kw">
</div>
<!--div class="edit-profile-sec4"-->
<!--span class="edit-profile-text10"><span>Student</span></span>
<div class="edit-profile-agora">
<div class="edit-profile-group1">
<img
src="public/external/altchevrondown1182-4pf.svg"
alt="AltChevronDown1182"
class="edit-profile-alt-chevron-down"
/>
</div>
</div-->
<select id="role" name="role" class="edit-profile-sec4" required>
<option value="">Pilih role</option>
<option value="partner">Partner</option>
<option value="mahasiswa">Mahasiswa</option>
<option value="reguler">Reguler</option>
</select>
<!--/div-->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
$(document).ready(function () {
$('#role').change(function () {
var selectedRole = $(this).val();
if (selectedRole === 'partner') {
$('#partner-fields').show();
$('#mahasiswa-fields').hide();
} else if (selectedRole === 'mahasiswa') {
$('#partner-fields').hide();
$('#mahasiswa-fields').show();
} else {
$('#partner-fields').hide();
$('#mahasiswa-fields').hide();
}
});
});
</script>
<div class="edit-profile-group91" onclick="window.location.href='/profile'">
<span class="edit-profile-text12"><span>Save Changes</span></span>
</div>
</div>
</div>
</div>
</body>
</html>