From a288b2894174032e62d04cd5cd2cebb395900e54 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Mon, 12 Jan 2026 23:45:59 +0000 Subject: [PATCH] Gastos01 --- add_expense.php | 102 +++++++++++++++++++++++++++++++++++ assets/css/custom.css | 18 +++++++ assets/js/main.js | 7 +++ index.php | 121 ++++++++---------------------------------- 4 files changed, 149 insertions(+), 99 deletions(-) create mode 100644 add_expense.php create mode 100644 assets/css/custom.css create mode 100644 assets/js/main.js diff --git a/add_expense.php b/add_expense.php new file mode 100644 index 0000000..8424cf2 --- /dev/null +++ b/add_expense.php @@ -0,0 +1,102 @@ + + + + + + Añadir Gasto + + + + + + + +
+
+
+
+
+
+ +

Añadir Nuevo Gasto

+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+ $ + +
+
+
+ + +
+
+ +
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ +
+ +
+ + +
+
+
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..8dec7d9 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,18 @@ +body { + font-family: 'Inter', sans-serif; +} + +.btn-primary { + background-color: #4F46E5; + border-color: #4F46E5; +} + +.btn-primary:hover { + background-color: #4338CA; + border-color: #4338CA; +} + +.form-control:focus, .form-select:focus { + border-color: #4F46E5; + box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25); +} \ No newline at end of file diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..361e2bd --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1,7 @@ +document.getElementById('add-expense-form').addEventListener('submit', function(e) { + e.preventDefault(); + alert('Gasto añadido (simulación)!'); + // Here you would normally send the data to the server + // For now, we just reset the form + this.reset(); +}); \ No newline at end of file diff --git a/index.php b/index.php index 7205f3d..1d55366 100644 --- a/index.php +++ b/index.php @@ -32,115 +32,38 @@ $projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? ''; - - + +
-
-

Analyzing your requirements and generating your website…

-
- Loading… -
-

AI is collecting your requirements and applying the first changes.

-

This page will update automatically as the plan is implemented.

-

Runtime: PHP — UTC

+
+
+

Gestor de Gastos Familiar

+
+

Bienvenido a tu espacio financiero compartido. Registra gastos, crea presupuestos y mantén el control de tus finanzas en pareja.

+
+ Añadir Gasto + +
+
+