-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
161 lines (146 loc) · 3.95 KB
/
test.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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Covid 19 - Flaskero</title>
<!-- CSS only -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
crossorigin="anonymous"
/>
<link
href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap"
rel="stylesheet"
/>
<link href="styles.css" rel="stylesheet" />
</head>
<style>
body {
font-family: "Roboto Mono", monospace;
font-size: 14px;
color: rgb(0, 0, 0);
background-color: #fff;
}
h2 {
font-size: 18px;
line-height: 3rem;
}
span {
font-weight: 700;
}
.marg-bot {
bottom: 1rem;
}
.center {
text-align: center;
}
.row {
padding-top: 100px;
}
.badge-warning {
margin: 1rem 0 2rem 0;
}
.row {
flex-direction: column;
}
.col-6 {
margin: 1rem auto;
max-width: 100%;
}
.red {
background-color: #dc3545;
}
.green {
background-color: #28a745;
}
@media only screen and (min-width: 768px) {
.row {
flex-direction: row;
}
.col-6 {
margin: 0 auto;
max-width: 50%;
}
.marginer {
margin-top: 2rem;
}
}
</style>
<body>
<div class="container">
<div class="row center">
<div class="col-12 marg-bot">
<h1 class="center">Covid flaskero</h1>
</div>
<div class="col-6">
<h2>
Confirmados totales en """ + str(pais) + """:
<span class="alert alert-warning"
>""" + str(confirmados) + """</span
>
</h2>
<span class="badge badge-warning">*confirmados a la fecha - </span>
<ul class="list-group">
<li
class="list-group-item d-flex justify-content-between align-items-center"
>
Activos
<span class="badge badge-primary badge-pill"
>""" + str(activos) + """</span
>
</li>
<li
class="list-group-item d-flex justify-content-between align-items-center"
>
Muertos
<span class="badge badge-primary badge-pill red"
>""" + str(muertes) + """</span
>
</li>
<li
class="list-group-item d-flex justify-content-between align-items-center"
>
Recuperados
<span class="badge badge-primary badge-pill green"
>""" + str(recuperados) + """</span
>
</li>
</ul>
</div>
<div class="col-6 center">
<img
src="https://www.muycomputer.com/wp-content/uploads/2020/07/COVID-19.jpg"
alt="peso"
class="img-fluid"
/>
<span class="badge badge-warning">Infectados en el mundo: </span>
<p>""" + str(covid.get_total_active_cases()) + """</p>
</div>
</div>
<div class="col-6">
<div class="card text-center marginer">
<div class="card-header">
Featured
</div>
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">
With supporting text below as a natural lead-in to additional
content.
</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
<div class="card-footer text-muted">
2 days ago
</div>
</div>
</div>
</div>
<footer>
<span class="badge badge-primary">Proton-team</span>-Julio 2020
</footer>
</body>
</html>