forked from CMPN-CODECELL/URL-Shortener
-
Notifications
You must be signed in to change notification settings - Fork 0
/
urlResult.html
71 lines (71 loc) · 1.79 KB
/
urlResult.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
<!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>
body{
margin: 0px;
padding: 0px;
background-color: black;
color: white;
}
.mid{
display: block;
width: 60%;
margin: 2% auto;
}
.navbar{
display: block;
}
.navbar li{
display: inline-block;
font-size: 20px;
padding: 5%;
}
.navbar li a{
color: #FFF;
text-decoration: none;
}
.navbar li a:hover{
color: #777;
border-bottom: 2px solid #777;
}
.mid .navbar .active {
border-bottom: 2px solid #777;
color: #777;
}
.mid .navbar .active:hover {
border-bottom: 2px solid #777;
color: #555;
}
.Details{
position:absolute;
left:27%;
top: 30%;
}
</style>
</head>
<body>
<header>
<h1 class="logo" id="activee"><a href="/urlShortener">URL Shortener</a></h1>
<nav>
<ul class="nav_links">
<li><a href="/history">History</a></li>
<li><a href="/profile">Profile</a></li>
<li><a href="#">Settings</a></li>
</ul>
</nav>
<a class="cta" href="/logout"><button class="button">Logout</button></a>
</header>
<form class="login-box" action="/url" method="post">
{% for key,value in result.items() %}
{% if key!="linkCode" %}
<h1>{{key}}: <a href="{{value}}">{{value}}</a></h1>
{% endif %}
{% endfor %}
</form>
</body>
</html>