Browse Source

fix: close button to all modals; fix: sidebar order; fix: all dates are now on the Brazilian pattern; feature: new Logout button; fix: Tarifa now recieves % numbers; fix: Taxa is now Tarifa; fix: Inserting Username on the Investment modal instead of API KEY; fix: Tipo de investimento and ID Tarifa are now dropdown features.

EduLascala 4 months ago
parent
commit
c41536135e
5 changed files with 786 additions and 716 deletions
  1. 7 0
      .env
  2. 0 7
      ex.env
  3. 732 708
      index.html
  4. 1 1
      src/index.js
  5. 46 0
      style.css

+ 7 - 0
.env

@@ -0,0 +1,7 @@
+SECRET_JWT=cooshuu8ahSahngay7aireyaipho1GeixaimiaTh
+
+DB_HOST=localhost
+DB_PORT=5432
+DB_USER=report_db
+DB_PASSWORD=123456
+DB_NAME=report_db

+ 0 - 7
ex.env

@@ -1,7 +0,0 @@
-SECRET_JWT=
-
-DB_HOST=
-DB_PORT=
-DB_USER=
-DB_PASSWORD=
-DB_NAME=

File diff suppressed because it is too large
+ 732 - 708
index.html


+ 1 - 1
src/index.js

@@ -20,7 +20,7 @@ const app = express();
 
 // ✅ CORS configurado corretamente para cookies
 app.use(cors({
-  origin: 'https://report.bcxcorretora.com.br:443',
+  origin: 'http://127.0.0.1:5500',
   credentials: true
 }));
 

+ 46 - 0
style.css

@@ -161,6 +161,11 @@ h1 {
     overflow: auto;
 }
 
+/* Novo estilo para alinhar o conteúdo do modal à esquerda */
+.modal-content.text-left {
+    text-align: left;
+}
+
 .modal-body-services {
     display: flex;
     flex-direction: column;
@@ -241,4 +246,45 @@ h1 {
 .logo {
     display: block;
     margin: 0 auto 20px auto;
+}
+
+.btn-close-modal {
+    display: flex;
+    align-items: center;
+    justify-content: center;
+
+    font-size: 1.25rem;
+    font-weight: bold;
+    width: 40px;
+    height: 40px;
+
+    background-color: #dc3545;
+    color: #fff;
+    border: none;
+    border-radius: 0.375rem;
+    cursor: pointer;
+    transition: background-color 0.3s ease;
+}
+
+.btn-close-modal:hover {
+    background-color: #bb2d3b;
+}
+
+/* Modificação para alinhar o texto do formulário no modal de inserção à esquerda */
+#inserirModal .modal-content {
+    text-align: left;
+}
+
+.sidebar-custom {
+    /* Adicione estas propriedades para que o posicionamento absoluto funcione */
+    position: relative;
+    /* Certifique-se de que a altura da sidebar é fixa ou 100vh para que o 'bottom: 0' funcione */
+    height: 100vh;
+}
+
+.sidebar-bottom-logout {
+    position: absolute;
+    bottom: 20px; /* Ajuste este valor para dar um espaçamento da borda inferior */
+    left: 20px; /* Ajuste este valor para alinhar com os outros links */
+    width: calc(100% - 40px); /* Garante que o div ocupa a largura restante com padding */
 }

Some files were not shown because too many files changed in this diff