-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
67 lines (47 loc) · 1.08 KB
/
main.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
<html>
<head>
<meta charset="utf-8"/>
<title>User Login/Logout with datastore</title>
<style>
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover {
background-color: #111;
}
</style>
</head>
<body bgcolor="#E6E6FA">
{% if user %}
<ul>
<li><a href="/edit">AddGPU</a></li>
<li><a href="/search">Search</a></li>
<li><a href="/compare">Compare</a></li>
<li><a href="{{ url }}">Logout</a></li>
</ul>
<center><font size="5"> {{ welcome }} {{ user.email() }} </font><br/></center>
<center><p><font size="6">List of gpu</font></br><center>
{% for x in gpu_list %}
<p><center><a href='/display?value={{ x.name }}'>{{ x.name }}</a></br></center></p>
{% endfor %}
<br/>
{% else %}
<p>Hello guest welcome to the application</p>
you can {{ url_string }} <a href='{{ url }}'>here
{% endif %}
</body>
</html>