-
Notifications
You must be signed in to change notification settings - Fork 0
/
show.html
137 lines (115 loc) · 2.54 KB
/
show.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
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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
* {box-sizing: border-box;}
body {
font-family: "Lato", sans-serif;
transition: background-color .5s;
background-image: url('security.jpeg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
}
.topnav {
overflow: hidden;
background-color: black;
margin-top:50px;
}
.topnav a {
float: left;
display: block;
color: white;
text-align: center;
padding: 10px 10px;
text-decoration: none;
font-size: 22px;
padding-left:30px;
padding-right:30px;
}
.topnav a:hover {
background-color: lightgrey;
color: black;
}
.topnav a.active {
background-color: green;
color: white;
}
.topnav .login-container {
float: right;
}
.topnav input[type=text] {
padding: 6px;
margin-top: 8px;
font-size: 17px;
border: none;
width:120px;
}
.topnav .login-container button {
float: right;
padding: 6px 10px;
margin-top: 8px;
margin-right: 16px;
background-color:grey ;
color: white;
font-size: 17px;
border: none;
cursor: pointer;
}
.topnav .
.topnav .login-container button:hover {
background-color: lightgrey;
}
@media screen and (max-width: 600px) {
.topnav .login-container {
float: none;
}
.topnav a, .topnav input[type=text],.topnav .login-container button {
float: none;
display: block;
text-align: left;
width: 100%;
margin: 0;
padding: 14px;
}
.topnav input[type=text] {
border: 1px solid #ccc;
}
.error {
color: red;
font-size: 90%;
}
.topnav-right {
float: right;
}
</style>
<body bgcolor="cyan">
<div class="topnav">
<a href="{{ url_for('login') }}">HOME</a>
<a class="active" href="{{ url_for('show') }}">SHOW</a>
<a href="{{ url_for('logout') }}">Logout</a>
<div class="login-container">
</div>
</div>
<div style="padding-left:16px">
<center>
<h1>Corona Virus Predictor </h1>
<table border="1">
<th>ID</th>
<th>NAME</th>
<th>EMAIL</th>
<th>Phone Number</th>
<th>Percentage</th>
<th>DELETE</th>
{% for row in rows %}
<tr>
<td>{{row.pid}}</td>
<td>{{row.name}}</td>
<td>{{row.email}}</td>
<td>{{row.phone}}</td>
<td>{{row.percent}}</td>
<td><a href="/delete/{{row.pid}}"><button class="btn btn-primary">DELETE</td>
</tr>
{% endfor %}
</table>