forked from CMPN-CODECELL/URL-Shortener
-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.html
72 lines (71 loc) · 1.84 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<link rel='icon' href='{{url_for('static',filename='tabIcon.png')}}'/>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="{{url_for('static', filename='style.css')}}">
<style>
h1{
display:inline;
}
.Details{
position:absolute;
left:20%;
top: 25%;
}
.btn{
width: 80%;
background: none;
border: 2px solid #FFFFFF;
color: white;
padding: 5px;
font-size: 18px;
cursor: pointer;
margin: 12px 0;
}
.Details h1{
font-family:"Lilita one";
font-weight:300;
color:white;
font-size:200%;
}
.Details .head{
font-size:350%;
}
</style>
<script type="text/javascript">
</script>
</head>
<body>
<header>
<h1 class="logo"><a href="/urlShortener">URL Shortener</a></h1>
<nav>
<ul class="nav_links">
<li><a href="/history">History</a></li>
<li><a href="/profile" class="active">Profile</a></li>
<li><a href="#">Settings</a></li>
</ul>
</nav>
<a class="cta" href="/logout"><button class="button">Logout</button></a>
</header>
<div class="Details">
<h1 class="head">Profile</h1><br><br><br>
{% for i in range(0,4) %}
{% if r[1]==username %}
{% if i==0 %}
<h1>Name: {{r[i]}}</h1><br>
{% endif %}
{% if i==1 %}
<h1>Username: {{r[i]}}</h1><br>
{% endif %}
{% if i==2 %}
<h1>Email: {{r[i]}}</h1><br>
{% endif %}
{% endif %}
<br>
{% endfor %}
<button class="btn"><a href="/beforeEditProfile">Edit Profile</a></button>
</div>
</body>
</html>