-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.html
181 lines (176 loc) · 9.32 KB
/
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
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<base href="">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link href="https://use.fontawesome.com/releases/v5.10.2/css/all.css" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/login-style.css">
<title>Profile | Kunjungin</title>
<link rel="shortcut icon" href="assets/media/icon/favicon2.ico" />
</head>
<body>
<div id="profile-page">
<!-- Awal Navbar -->
<div id="navbar_mobile" class="navbar-mobile bg-light nav-mobile-padding">
<div class="row">
<div class="col-6">
<div class="dropdown">
<button id="btn_beranda" class="btn btn-transparant dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-bars fas-c"></i> PROFILE
</button>
<div class="dropdown-menu dropdown-beranda card-shadow" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item " href="index.html">BERANDA</a>
<a class="dropdown-item " href="destinasi.html">DESTINASI</a>
<a class="dropdown-item " href="event.html">EVENTS</a>
<a class="dropdown-item active-menu" href="cerita.html">CERITA</a>
<a class="dropdown-item" href="kontak.html">KONTAK</a>
<div class="btn-logout-wrapper text-center mt-3">
<a href="" class="btn btn-secondary btn-login-dropdown">
<i class="fas fa-sign-out-alt fas-c"></i> KELUAR AKUN
</a>
</div>
</div>
</div>
<ul id="menu-full" class="list-group list-group-horizontal">
<a class="nav-link logo-nav" href="index.html">
<img src="assets/media/logo/logo_biru_1.svg" alt="">
</a>
</ul>
</div>
<div class="col-6 nav-button-mobile-wrap text-right">
<a id="dropdownPhoto" class="dropdown-toggle btn btn-outline-info my-2 my-sm-0 no-border" href="http://example.com" id="dropdown03" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img id="photoIcon" class="rounded-circle mr-2" width="30px" height="30px" src="assets/media/user/profile_user.png">
<span class="name-user" name="nama_user"></span>
</a>
<div class="dropdown-menu ml-2" aria-labelledby="dropdown03">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</div>
</div>
</div>
<!-- Akhir Navbar -->
<main id="main-profile" class="section-judul">
<div class="row">
<div class="col-md-4 menu-card-wrap">
<div class="card menu-card">
<ul class="list-group list-group-fl ush">
<li class="list-group-item">
<a class="btn btn-menu no-border full-width text-left" href="#">
<i class="fa fa-cube fas-c"></i> DASHBOARD
</a>
</li>
<li class="list-group-item">
<a class="btn btn-menu no-border full-width text-left active-btn" href="#">
<i class="fa fa-user-circle fas-c"></i> PROFILE
</a>
</li>
<li class="list-group-item">
<a class="btn btn-menu no-border full-width text-left" href="#">
<i class="fas fa-suitcase-rolling fas-c"></i> TRIP PLAN
</a>
</li>
<li class="list-group-item">
<a class="btn btn-menu no-border full-width text-left" href="#">
<i class="fas fa-comment-dots fas-c"></i> BANTUAN
</a>
</li>
<li class="list-group-item">
<a class="btn btn-menu no-border full-width text-left" href="#">
<i class="fas fa-sign-out-alt fas-c"></i> KELUAR AKUN
</a>
</li>
</ul>
</div>
</div>
<div class="col-md">
<h4>Profile</h4>
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-sm-4 text-center">
<img id="photoUsers" width="100%" class="rounded-sm mb-3" src="assets/media/user/profile_user.png">
<div class="btn btn-secondary fileinput-button mb-2 full-width flat-button">
<span>Ganti Foto</span>
<input onchange="readURL(this);" type="file" class="custom-file-input" id="fotoItem"></input>
</div>
<button class="btn btn-secondary full-width flat-button">
Ganti Password
</button>
</div>
<div class="col-sm-8">
<form>
<div class="form-group">
<label for="nama">Nama Lengkap</label>
<input type="text" class="form-control bg-input" id="nama" name="nama" value="Shane Edward" disabled="">
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" class="form-control bg-input" id="email" name="email" value="[email protected]" disabled="">
</div>
<div class="form-group">
<label for="noTelpon">No. Telpon</label>
<input type="text" class="form-control bg-input" id="noTelpon" name="noTelpon" value="+6285123567890" disabled="">
</div>
<div class="form-group">
<label for="alamat">Alamat</label>
<input type="text" class="form-control bg-input" id="alamat" name="alamat" value="Jl. Makassar Blok G10 No 10" disabled="">
</div>
<div class="form-group">
<label for="provinsi">Provinsi</label>
<input type="text" class="form-control bg-input" id="provinsi" name="provinsi" value="Sulawesi Selatan" disabled="">
</div>
<div class="form-group">
<label for="kota">Kota</label>
<input type="text" class="form-control bg-input" id="kota" name="kota" value="Makassar" disabled="">
</div>
<div class="form-group">
<label for="kecamatan">Kecamatan</label>
<input type="text" class="form-control bg-input" id="kecamatan" name="kecamatan" value="Panakukang" disabled="">
</div>
<div class="form-group">
<label for="kelurahan">Kelurahan</label>
<input type="text" class="form-control bg-input" id="kelurahan" name="kelurahan" value="Tamalate" disabled="">
</div>
<div class="form-group">
<label for="kodePos">Kode Pos</label>
<input type="text" class="form-control bg-input" id="kodePos" name="kodePos" value="9011"disabled="">
</div>
<button class="btn btn-warning btn-warning-c full-width">
UBAH DATA
</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="assets/js/jquery-3.2.1.slim.min.js"></script>
<script src="assets/js/popper.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script>
function readURL(input) {
if (input.files && input.files[0]) {
var reader = new FileReader();
reader.onload = function (e) {
$('#photoUsers')
.attr('src', e.target.result);
$('#photoIcon')
.attr('src', e.target.result);
};
reader.readAsDataURL(input.files[0]);
}
}
</script>
</body>
</html>