-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprofile.php
163 lines (149 loc) · 9.34 KB
/
profile.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
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
<head>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://unpkg.com/react@16.7.0/umd/react.production.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link href="./main.css" rel="stylesheet">
<link rel="stylesheet" href="https://bootswatch.com/4/cyborg/bootstrap.css" type="text/css">
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#"><img src="images/favicon.png" width="40" height="40"> Game Buddy</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor02" aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarColor02">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="./index.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./game-list.php">Games</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./developers.php">Devs</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="./profile.php">Profile<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="./login.php">Login/Sign up</a>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search">
<button class="btn btn-secondary my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
<div class="container">
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="card-title mb-4">
<div class="d-flex justify-content-start">
<div class="image-container">
<img src="http://placehold.it/150x150" id="imgProfile" style="width: 150px; height: 150px" class="img-thumbnail" />
<div class="middle">
<input type="button" class="btn btn-secondary" id="btnChangePicture" value="Change" />
<input type="file" style="display: none;" id="profilePicture" name="file" />
</div>
</div>
<div class="userData ml-3">
<h2 class="d-block" style="font-size: 1.5rem; font-weight: bold"><a href="javascript:void(0);">Username</a></h2>
<h6 class="d-block"><a href="javascript:void(0)">1,500</a> Games Played</h6>
<h6 class="d-block"><a href="javascript:void(0)">300</a> Reviews</h6>
</div>
<div class="ml-auto">
<input type="button" class="btn btn-primary d-none" id="btnDiscard" value="Discard Changes" />
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<ul class="nav nav-tabs mb-4" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="basicInfo-tab" data-toggle="tab" href="#basicInfo" role="tab" aria-controls="basicInfo" aria-selected="true">User Info</a>
</li>
<li class="nav-item">
<a class="nav-link" id="connectedServices-tab" data-toggle="tab" href="#connectedServices" role="tab" aria-controls="connectedServices" aria-selected="false">Connected Services</a>
</li>
</ul>
<div class="tab-content ml-1" id="myTabContent">
<div class="tab-pane fade show active" id="basicInfo" role="tabpanel" aria-labelledby="basicInfo-tab">
<div class="row">
<div class="col-sm-3 col-md-2 col-5">
<label style="font-weight:bold;">Username</label>
</div>
<div class="col-md-8 col-6">
Placeholdername
</div>
</div>
<hr />
<div class="row">
<div class="col-sm-3 col-md-2 col-5">
<label style="font-weight:bold;">Join Date</label>
</div>
<div class="col-md-8 col-6">
January 8, 2020
</div>
</div>
<hr />
<div class="row">
<div class="col-sm-3 col-md-2 col-5">
<label style="font-weight:bold;">Something</label>
</div>
<div class="col-md-8 col-6">
Something
</div>
</div>
<hr />
<div class="row">
<div class="col-sm-3 col-md-2 col-5">
<label style="font-weight:bold;">Something</label>
</div>
<div class="col-md-8 col-6">
Something
</div>
</div>
<hr />
<div class="row">
<div class="col-sm-3 col-md-2 col-5">
<label style="font-weight:bold;">Something</label>
</div>
<div class="col-md-8 col-6">
Something
</div>
</div>
<hr />
</div>
<div class="tab-pane fade" id="connectedServices" role="tabpanel" aria-labelledby="ConnectedServices-tab">
Steam, Origin, Xboxlive Account that are connected to this account
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer-basic">
<footer>
<!-- <div class="social"><a href="#"><i class="icon ion-social-instagram"></i><ion-icon name="ion-social-instagram"></ion-icon></i></a><a href="#"><i class="icon ion-social-snapchat"></i></a><a href="#"><i class="icon ion-social-twitter"></i></a><a href="#"><i class="icon ion-social-facebook"></i></a></div> -->
<ul class="list-inline">
<li class="list-inline-item"><a href="#">Home</a></li>
<li class="list-inline-item"><a href="#">Services</a></li>
<li class="list-inline-item"><a href="#">About</a></li>
<li class="list-inline-item"><a href="#">Terms</a></li>
<li class="list-inline-item"><a href="#">Privacy Policy</a></li>
</ul>
<p class="copyright">Game Buddy © 2019</p>
</footer>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script></body>