Persano commited on
Commit
78f0491
·
verified ·
1 Parent(s): ead7f4f

Update templates/relatorio.html

Browse files
Files changed (1) hide show
  1. templates/relatorio.html +29 -75
templates/relatorio.html CHANGED
@@ -4,110 +4,63 @@
4
  <meta charset="UTF-8" />
5
  <title>Relatório de Investimento</title>
6
  <style>
7
- @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
8
-
9
  body {
10
- font-family: 'Roboto', Arial, sans-serif;
11
- font-size: 13pt;
12
- line-height: 1.5;
13
- margin: 30px 40px;
14
- color: #222;
15
- background-color: #fff;
16
  }
17
  h1, h2 {
18
  color: #004080;
19
- margin-bottom: 12px;
20
- font-weight: 700;
21
- }
22
- h1 {
23
- font-size: 28px;
24
- border-bottom: 3px solid #004080;
25
- padding-bottom: 6px;
26
- margin-bottom: 30px;
27
- }
28
- h2 {
29
- font-size: 20px;
30
- margin-top: 40px;
31
- margin-bottom: 16px;
32
- border-bottom: 2px solid #cce0ff;
33
- padding-bottom: 4px;
34
- }
35
- .header-info {
36
- margin-bottom: 30px;
37
- font-size: 14px;
38
- color: #333;
39
- border-left: 4px solid #004080;
40
- padding-left: 12px;
41
- background: #e6f0ff;
42
- border-radius: 4px;
43
- }
44
- .header-info p {
45
- margin: 6px 0;
46
- }
47
- .header-info p strong {
48
- color: #003366;
49
  }
50
  table {
51
- width: 90%;
52
  margin: 0 auto 30px auto;
53
  border-collapse: collapse;
54
  box-shadow: 0 0 6px rgb(0 0 0 / 0.05);
55
  }
56
  th, td {
57
- border: 1px solid #b0c4de;
58
- padding: 10px 12px;
59
  text-align: right;
60
- vertical-align: middle;
61
- font-size: 13px;
62
  }
63
  th {
64
- background-color: #d9e6ff;
65
- color: #003366;
66
- font-weight: 700;
67
  }
68
  td:first-child, th:first-child {
69
  text-align: center;
70
- font-weight: 600;
71
- color: #004080;
 
 
 
 
 
72
  }
73
  .grafico {
74
  text-align: center;
75
- margin: 40px 0;
76
- box-shadow: 0 2px 8px rgb(0 0 0 / 0.15);
77
- padding: 15px;
78
- border-radius: 6px;
79
- background-color: #fafcff;
80
  }
81
- .grafico img {
82
- max-width: 100%;
83
- height: auto;
84
- border-radius: 4px;
85
  }
86
- .analise {
87
- margin-top: 30px;
88
- padding: 20px;
89
- border: 2px solid #004080;
90
- background: #f0f8ff;
91
- border-radius: 6px;
92
- font-size: 14px;
93
- color: #1a1a1a;
94
- line-height: 1.6;
95
- box-shadow: inset 0 0 10px #d0e6ff;
96
  }
97
  </style>
98
  </head>
99
  <body>
100
 
101
- <h1>Relatório de Investimento - Projeção 5 Anos</h1>
102
-
103
  <div class="header-info">
104
  <p><strong>Capital Inicial:</strong> {{ capital_formatado }}</p>
105
- <p><strong>Rendimento Mensal Studio:</strong> {{ studio_ret_formatado }}</p>
106
- <p><strong>Valorização Anual Studio:</strong> {{ valorizacao_formatado }}</p>
107
- <p><strong>Rendimento Anual Franquia:</strong> {{ franquia_ret_formatado }}</p>
108
- <p><strong>Retorno Anual Ações:</strong> {{ acoes_ret_formatado }}</p>
109
- <p><strong>Retorno Anual Renda Fixa:</strong> {{ renda_fixa_formatado }}</p>
110
- <p><strong>Inflação Anual:</strong> {{ inflacao_formatado }}</p>
111
  <p><em>{{ data_hoje }}</em></p>
112
  </div>
113
 
@@ -126,3 +79,4 @@
126
  </body>
127
  </html>
128
 
 
 
4
  <meta charset="UTF-8" />
5
  <title>Relatório de Investimento</title>
6
  <style>
 
 
7
  body {
8
+ font-family: Arial, sans-serif;
9
+ font-size: 12pt;
10
+ margin: 30px;
11
+ color: #333;
 
 
12
  }
13
  h1, h2 {
14
  color: #004080;
15
+ margin-bottom: 10px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
17
  table {
18
+ width: 80%;
19
  margin: 0 auto 30px auto;
20
  border-collapse: collapse;
21
  box-shadow: 0 0 6px rgb(0 0 0 / 0.05);
22
  }
23
  th, td {
24
+ border: 1px solid #ccc;
25
+ padding: 6px 8px;
26
  text-align: right;
 
 
27
  }
28
  th {
29
+ background-color: #e0e0e0;
 
 
30
  }
31
  td:first-child, th:first-child {
32
  text-align: center;
33
+ }
34
+ .analise {
35
+ margin-top: 20px;
36
+ padding: 15px;
37
+ border: 1px solid #004080;
38
+ background: #f0f8ff;
39
+ border-radius: 4px;
40
  }
41
  .grafico {
42
  text-align: center;
43
+ margin: 20px 0;
 
 
 
 
44
  }
45
+ .header-info {
46
+ margin-bottom: 20px;
 
 
47
  }
48
+ .header-info p {
49
+ margin: 2px 0;
 
 
 
 
 
 
 
 
50
  }
51
  </style>
52
  </head>
53
  <body>
54
 
55
+ <h1>Relatório de Investimento - Projeção 5 anos</h1>
 
56
  <div class="header-info">
57
  <p><strong>Capital Inicial:</strong> {{ capital_formatado }}</p>
58
+ <p><strong>Rendimento mensal Studio:</strong> {{ studio_ret_formatado }}</p>
59
+ <p><strong>Valorização anual Studio:</strong> {{ valorizacao_formatado }}</p>
60
+ <p><strong>Rendimento anual Franquia:</strong> {{ franquia_ret_formatado }}</p>
61
+ <p><strong>Retorno anual Ações:</strong> {{ acoes_ret_formatado }}</p>
62
+ <p><strong>Retorno anual Renda Fixa:</strong> {{ renda_fixa_formatado }}</p>
63
+ <p><strong>Inflação anual:</strong> {{ inflacao_formatado }}</p>
64
  <p><em>{{ data_hoje }}</em></p>
65
  </div>
66
 
 
79
  </body>
80
  </html>
81
 
82
+