Update templates/relatorio.html
Browse files- templates/relatorio.html +44 -49
templates/relatorio.html
CHANGED
@@ -1,82 +1,77 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
-
<html lang="pt-
|
3 |
<head>
|
4 |
-
<meta charset="UTF-8"
|
5 |
-
<title>Relatório de
|
6 |
<style>
|
7 |
body {
|
8 |
-
font-family:
|
9 |
font-size: 14px;
|
10 |
-
color: #
|
11 |
-
margin:
|
12 |
}
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
color: #2a2a2a;
|
18 |
-
}
|
19 |
-
|
20 |
-
.analise {
|
21 |
-
background-color: #f8f8f8;
|
22 |
-
border-left: 5px solid #0077cc;
|
23 |
-
padding: 15px 20px;
|
24 |
-
margin-top: 25px;
|
25 |
-
font-size: 15px;
|
26 |
-
line-height: 1.6;
|
27 |
}
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
}
|
33 |
-
|
34 |
.tabela {
|
35 |
width: 100%;
|
36 |
border-collapse: collapse;
|
37 |
-
margin-
|
38 |
-
font-size: 13px;
|
39 |
}
|
40 |
-
|
41 |
.tabela th, .tabela td {
|
42 |
-
border: 1px solid #
|
43 |
-
padding: 8px;
|
44 |
text-align: right;
|
45 |
}
|
46 |
-
|
47 |
.tabela th {
|
48 |
-
background-color: #
|
|
|
|
|
|
|
|
|
|
|
49 |
font-weight: bold;
|
50 |
}
|
51 |
-
|
52 |
-
.tabela td:first-child, .tabela th:first-child {
|
53 |
text-align: center;
|
|
|
54 |
}
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
color: #
|
|
|
|
|
|
|
61 |
}
|
62 |
</style>
|
63 |
</head>
|
64 |
<body>
|
|
|
|
|
65 |
|
66 |
-
<
|
67 |
-
|
68 |
-
|
69 |
-
{{ analise_final | safe }}
|
70 |
</div>
|
71 |
|
|
|
72 |
<div class="grafico">
|
73 |
-
<img src="data:image/png;base64,{{ grafico }}" alt="Gráfico de
|
74 |
</div>
|
75 |
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
{{ data_hoje }}
|
80 |
</div>
|
81 |
|
82 |
</body>
|
|
|
1 |
<!DOCTYPE html>
|
2 |
+
<html lang="pt-BR">
|
3 |
<head>
|
4 |
+
<meta charset="UTF-8" />
|
5 |
+
<title>Relatório de Investimentos</title>
|
6 |
<style>
|
7 |
body {
|
8 |
+
font-family: Arial, sans-serif;
|
9 |
font-size: 14px;
|
10 |
+
color: #2c3e50;
|
11 |
+
margin: 25px;
|
12 |
}
|
13 |
+
h1, h2 {
|
14 |
+
color: #34495e;
|
15 |
+
border-bottom: 2px solid #34495e;
|
16 |
+
padding-bottom: 5px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
}
|
18 |
+
.data {
|
19 |
+
font-size: 12px;
|
20 |
+
color: #7f8c8d;
|
21 |
+
margin-bottom: 20px;
|
22 |
}
|
|
|
23 |
.tabela {
|
24 |
width: 100%;
|
25 |
border-collapse: collapse;
|
26 |
+
margin-bottom: 25px;
|
|
|
27 |
}
|
|
|
28 |
.tabela th, .tabela td {
|
29 |
+
border: 1px solid #bdc3c7;
|
30 |
+
padding: 8px 12px;
|
31 |
text-align: right;
|
32 |
}
|
|
|
33 |
.tabela th {
|
34 |
+
background-color: #34495e;
|
35 |
+
color: white;
|
36 |
+
text-align: center;
|
37 |
+
}
|
38 |
+
.tabela td:first-child {
|
39 |
+
text-align: center;
|
40 |
font-weight: bold;
|
41 |
}
|
42 |
+
.grafico {
|
|
|
43 |
text-align: center;
|
44 |
+
margin-bottom: 25px;
|
45 |
}
|
46 |
+
.analise-texto p {
|
47 |
+
margin-bottom: 1em;
|
48 |
+
line-height: 1.5;
|
49 |
+
}
|
50 |
+
.analise-texto strong {
|
51 |
+
background-color: #f9e79f;
|
52 |
+
padding: 2px 6px;
|
53 |
+
border-radius: 4px;
|
54 |
+
color: #b03a2e;
|
55 |
}
|
56 |
</style>
|
57 |
</head>
|
58 |
<body>
|
59 |
+
<h1>Relatório de Investimentos - Projeção 5 Anos</h1>
|
60 |
+
<div class="data">{{ data_hoje }}</div>
|
61 |
|
62 |
+
<h2>Tabela de Valores por Ano</h2>
|
63 |
+
<div>
|
64 |
+
{{ tabela|safe }}
|
|
|
65 |
</div>
|
66 |
|
67 |
+
<h2>Gráfico da Projeção</h2>
|
68 |
<div class="grafico">
|
69 |
+
<img src="data:image/png;base64,{{ grafico }}" alt="Gráfico de Investimentos" />
|
70 |
</div>
|
71 |
|
72 |
+
<h2>Análise Financeira</h2>
|
73 |
+
<div class="analise-texto">
|
74 |
+
{{ analise_final|safe }}
|
|
|
75 |
</div>
|
76 |
|
77 |
</body>
|