diff --git a/gestaoRaul/clients/templates/clients.html b/gestaoRaul/clients/templates/clients.html index 36232a8..75ebbb4 100644 --- a/gestaoRaul/clients/templates/clients.html +++ b/gestaoRaul/clients/templates/clients.html @@ -28,7 +28,7 @@ Clientes Cliente Débito Contato - Ações + Ações {% for client in clients %} @@ -39,7 +39,7 @@ Clientes {{client.contact}} {{client.active}} -
+
{% csrf_token %} -

Cadastro Cliente

+

Cadastro Cliente

- Ativo diff --git a/gestaoRaul/db.sqlite3 b/gestaoRaul/db.sqlite3 index 04f6b3b..b37847f 100644 Binary files a/gestaoRaul/db.sqlite3 and b/gestaoRaul/db.sqlite3 differ diff --git a/gestaoRaul/templates/static/clients/css/clients.css b/gestaoRaul/templates/static/clients/css/clients.css index 07c2b11..7b63355 100644 --- a/gestaoRaul/templates/static/clients/css/clients.css +++ b/gestaoRaul/templates/static/clients/css/clients.css @@ -1,40 +1,4 @@ -button { - background-color: #007BFF; - color: white; - padding: 10px 10px; - border: none; - border-radius: 5px; - cursor: pointer; -} - -button:hover { - background-color: #0056b3; -} - -.modal { - display: none; - position: fixed; - padding: 20px; - top: 50%; - left: 50%; - width: 100%; - height: 100%; - overflow: auto; - background-color: rgba(0, 0, 0, 0.4); - transform: translate(-50%, -50%); -} - -.modal-content { - background-color: #fefefe; - margin: 15% auto; - padding: 20px; - border: 1px solid #888; - border-radius: 10px; - width: 90%; - max-width: 500px; -} - form { display: flex; @@ -51,14 +15,10 @@ input, textarea { border: 1px solid #ccc; } -* dialog { - transform: scale(1); - -} - .grid-buttons { + grid-template-columns: 1fr 1fr; display: flex; gap: 10px; } @@ -75,28 +35,7 @@ input, textarea { display: flex; width: 100%; } - -.card { - width: 100%; - height: 120px; - background-color: #f2f2f2; - border-radius: 15px; - box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2); - text-align: center; - line-height: 120px; - font-size: 20px; - font-weight: bold; - color: #333; - transition: transform 0.2s; - } - -.card:hover { - transform: scale(1.05); - box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3); - } - - - + @media (max-width: 768px) { .hide-on-mobile { diff --git a/gestaoRaul/templates/static/clients/js/clients.js b/gestaoRaul/templates/static/clients/js/clients.js index 6eff862..151e59e 100644 --- a/gestaoRaul/templates/static/clients/js/clients.js +++ b/gestaoRaul/templates/static/clients/js/clients.js @@ -32,8 +32,10 @@ function editclient(id) { openModal(); var buttonSave = document.getElementById('save'); var buttonEdit = document.getElementById('edit'); + var titleWindow = document.getElementById('title-window') buttonSave.style.display = 'none'; buttonEdit.style.display = 'block'; + titleWindow.innerText = 'Editar ' var clientId = document.getElementById('clientId'); var clientName = document.getElementById('clientName'); var clientContact = document.getElementById('clientContact'); diff --git a/gestaoRaul/templates/static/comandas/css/viewbalcao.css b/gestaoRaul/templates/static/comandas/css/viewbalcao.css index 13a443f..5070447 100644 --- a/gestaoRaul/templates/static/comandas/css/viewbalcao.css +++ b/gestaoRaul/templates/static/comandas/css/viewbalcao.css @@ -1,5 +1,4 @@ - .grid-container { display: grid; grid-template-columns: repeat(2, 2fr); @@ -24,59 +23,18 @@ .card-product:hover { transform: scale(1.05); - box-shadow: 3px 3px 10px rgba(185, 185, 185, 0.678); + box-shadow: 0px 0px 10px rgba(86, 187, 255, 0.815); } - table td th { - text-align: center; +table td th { + text-align: center; } - - - - button { - background-color: #007BFF; - color: white; - padding: 10px 20px; - border: none; - border-radius: 5px; - cursor: pointer; -} - -button:hover { - background-color: #0056b3; -} - -.modal { - display: none; - position: fixed; - padding: 20px; - top: 50%; - left: 50%; - width: 100%; - height: 100%; - overflow: auto; - background-color: rgba(0, 0, 0, 0.4); - transform: translate(-50%, -50%); -} - -.modal-content { - background-color: #fefefe; - margin: 15% auto; - padding: 20px; - border: 1px solid #888; - border-radius: 10px; - width: 90%; - height: 90%; - max-width: 500px; -} - - form { display: flex; flex-direction: column; gap: 10px; -} + } input, textarea { width: 95%; @@ -85,4 +43,4 @@ input, textarea { margin-top: 5px; border-radius: 5px; border: 1px solid #ccc; -} + } diff --git a/gestaoRaul/templates/static/comandas/css/viewcomanda.css b/gestaoRaul/templates/static/comandas/css/viewcomanda.css index ae8a025..00ccbd2 100644 --- a/gestaoRaul/templates/static/comandas/css/viewcomanda.css +++ b/gestaoRaul/templates/static/comandas/css/viewcomanda.css @@ -24,52 +24,13 @@ .card-product:hover { transform: scale(1.05); - box-shadow: 2px 2px 10px rgba(185, 185, 185, 0.678); + box-shadow: 0px 0px 10px rgba(86, 187, 255, 0.815); } table td th { text-align: center; } - - /* button { - background-color: #007BFF; - color: white; - padding: 10px 20px; - border: none; - border-radius: 5px; - cursor: pointer; -} - -button:hover { - background-color: #0056b3; -} */ - -.modal { - display: none; - position: fixed; - padding: 20px; - top: 50%; - left: 50%; - width: 100%; - height: 100%; - overflow: auto; - background-color: rgba(0, 0, 0, 0.4); - transform: translate(-50%, -50%); -} - -.modal-content { - background-color: #fefefe; - margin: 15% auto; - padding: 20px; - border: 1px solid #888; - border-radius: 10px; - width: 90%; - height: 90%; - max-width: 500px; -} - - form { display: flex; flex-direction: column; diff --git a/gestaoRaul/templates/static/home/css/home.css b/gestaoRaul/templates/static/home/css/home.css index 02a5392..6c479a0 100644 --- a/gestaoRaul/templates/static/home/css/home.css +++ b/gestaoRaul/templates/static/home/css/home.css @@ -31,7 +31,7 @@ .card:hover { transform: translateY(-10px); - box-shadow: 0 4px 8px rgba(199, 199, 199, 0.25); + box-shadow: 0px 0px 8px rgba(86, 187, 255, 0.815); } .card-resumo { @@ -53,7 +53,7 @@ .card-resumo:hover { - box-shadow: 0 4px 15px rgba(175, 175, 175, 0.295); + box-shadow: 0px 0px 15px rgba(86, 187, 255, 0.815); text-align: left; line-height: 20px; padding: 15px 30px 15px 30px; diff --git a/gestaoRaul/templates/static/products/css/products.css b/gestaoRaul/templates/static/products/css/products.css index 5bde6d7..aed7391 100644 --- a/gestaoRaul/templates/static/products/css/products.css +++ b/gestaoRaul/templates/static/products/css/products.css @@ -1,40 +1,4 @@ -button { - background-color: #007BFF; - color: white; - padding: 10px 10px; - border: none; - border-radius: 5px; - cursor: pointer; -} - -button:hover { - background-color: #0056b3; -} - -.modal { - display: none; - position: fixed; - padding: 20px; - top: 50%; - left: 50%; - width: 100%; - height: 100%; - overflow: auto; - background-color: rgba(0, 0, 0, 0.4); - transform: translate(-50%, -50%); -} - -.modal-content { - background-color: #fefefe; - margin: 15% auto; - padding: 20px; - border: 1px solid #888; - border-radius: 10px; - width: 90%; - max-width: 500px; -} - form { display: flex; @@ -51,21 +15,11 @@ input, textarea { border: 1px solid #ccc; } -* dialog { - transform: scale(1); - /* display: flexbox; - max-width: 200; - max-height: 400; */ -} - - - .grid-buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; - max-width: 500px; /* Define a largura máxima do grid */ - /* margin: 0 auto; */ + max-width: 500px; } .grid-container { @@ -81,27 +35,6 @@ input, textarea { width: 100%; } -.card { - width: 100%; - height: 120px; - background-color: #f2f2f2; - border-radius: 15px; - box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2); - text-align: center; - line-height: 120px; /* Centraliza o texto verticalmente */ - font-size: 20px; - font-weight: bold; - color: #333; - transition: transform 0.2s; - } - -.card:hover { - transform: scale(1.05); - box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3); - } - - - @media (max-width: 768px) { .hide-on-mobile {