-
Notifications
You must be signed in to change notification settings - Fork 1
/
accountPage.php
111 lines (100 loc) · 4.1 KB
/
accountPage.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Account Information</title>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto:400,700"
/>
<!-- https://fonts.google.com/specimen/Open+Sans -->
<link rel="stylesheet" href="css/fontawesome.min.css" />
<!-- https://fontawesome.com/ -->
<link rel="stylesheet" href="css/bootstrap.min.css" />
<!-- https://getbootstrap.com/ -->
<link rel="stylesheet" href="css/templatemo-style.css">
</head>
<body>
<nav class="navbar navbar-expand-xl">
<div class="container h-100">
<a class="navbar-brand" href="accountPage.php">
<h1 class="tm-site-title mb-0" id = 'user_name'></h1>
</a>
<button class="navbar-toggler ml-auto mr-0" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-bars tm-nav-icon"></i>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mx-auto h-100">
<li class="nav-item">
<a class="nav-link" href="userDashboard.php">
<i class="fas fa-tachometer-alt"></i>
Dashboard
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="userDataAnalysisPage.php">
<i class="far fa-chart-bar"></i>
Data analysis
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="file_upload_page.php">
<i class="fas fa-upload"></i>
File upload
</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#">
<i class="far fa-user"></i>
Account
<span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="logout.php">
<i class="fas fa-sign-out-alt"></i>
Logout
</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container tm-mt-big tm-mb-big">
<div class="row">
<div class="col-12 mx-auto tm-login-col">
<div class="tm-bg-primary-dark tm-block tm-block-h-auto">
<div class="row">
<div class="col-12 text-center">
<h2 class="tm-block-title mb-4">Account Information</h2>
</div>
</div>
<div class="row mt-2">
<div class="col-12">
<form action="account.php" method = "POST" class="tm-login-form center">
<label for="name_label" style="color:white;" >First name</label><br>
<input type="text" id="name_label" name="name_label" value=""></input>
<br><label for="last_label" style="color:white;">Last name</label><br>
<input type="text" id="last_label" name="last_label" value=""></input>
<br><label for="username_label" style="color:white;">Username</label><br>
<input type="text" id="username_label" name="username_label" value=""></input>
<br><label for="email_label" style="color:white;">e-mail</label><br>
<input type="email" id="email_label" name="email_label" value="" disabled></input>
</form>
<p align ="center">
<br><button class="btn-primary" type="submit" onclick="change_data()" id = "change_data" name="change_button">Change data</button>
<button class="btn-primary" type="submit" onclick="save_data()" id = "save_data" name="Save_button">Save</button>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/account.js"></script>
</body>
</html>