diff --git a/ProyectoFinalDjango b/ProyectoFinalDjango new file mode 160000 index 0000000..7ba05f8 --- /dev/null +++ b/ProyectoFinalDjango @@ -0,0 +1 @@ +Subproject commit 7ba05f8c2fe5ea0ed5c12dc0365023dbee6cf278 diff --git a/app/models.py b/app/models.py index 5d1a2f5..dabca74 100644 --- a/app/models.py +++ b/app/models.py @@ -64,3 +64,5 @@ def __str__(self) -> str: # ------------------------------------------------------------------------------------------------------------------------------------------------------------ + + diff --git a/app/urls.py b/app/urls.py index 95e9a4c..0c95771 100644 --- a/app/urls.py +++ b/app/urls.py @@ -21,3 +21,5 @@ path("logout", LogoutView.as_view(), name="logout"), path("nosotros/", AboutUsView, name="nosotros"), ] + + diff --git a/app/views.py b/app/views.py index b34ecf6..5e0b1be 100644 --- a/app/views.py +++ b/app/views.py @@ -262,3 +262,5 @@ def AboutUsView(request): } return render(request,"nosotros.html",context) +#-------------------- + diff --git a/core/views.py b/core/views.py index 16ec197..280d54e 100644 --- a/core/views.py +++ b/core/views.py @@ -8,3 +8,4 @@ def HomeView(request): # ------------------------------------------------------------------------------ + diff --git a/media/1125031-highest-2-lowest-0-1000-0-1500-crop_nX19tlW.jpg b/media/1125031-highest-2-lowest-0-1000-0-1500-crop_nX19tlW.jpg new file mode 100644 index 0000000..09fd837 Binary files /dev/null and b/media/1125031-highest-2-lowest-0-1000-0-1500-crop_nX19tlW.jpg differ diff --git a/templates/buscar_producto.html b/templates/buscar_producto.html index a33686d..32e4130 100644 --- a/templates/buscar_producto.html +++ b/templates/buscar_producto.html @@ -1,20 +1,27 @@ {% extends "padre.html" %} {% load static %} {% block loquecambia %} -

🔎

-

BÚSQUEDA

-
-
- - -
-
- -
-
+ +
+

🔎

+

BÚSQUEDA

+ +
+
+ + +
+ + +
- -{% endblock %} \ No newline at end of file + +{% endblock %} diff --git a/templates/crear_producto.html b/templates/crear_producto.html index 2a51582..2147f26 100644 --- a/templates/crear_producto.html +++ b/templates/crear_producto.html @@ -47,27 +47,116 @@

Agregar PelĂ­cula

-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/templates/modifcar_producto.html b/templates/modifcar_producto.html index d6b4bf2..df634b1 100644 --- a/templates/modifcar_producto.html +++ b/templates/modifcar_producto.html @@ -16,8 +16,94 @@ + + + -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/templates/productos_list.html b/templates/productos_list.html index e71f8a0..86c1d33 100644 --- a/templates/productos_list.html +++ b/templates/productos_list.html @@ -18,6 +18,12 @@ text-overflow: ellipsis; min-height: 72px; /* altura fija para alinear cards */ } + .card-title { + font-weight: 700; + font-size: 1.25rem; + color: #333; + margin-bottom: 0.5rem; + } .card { border-radius: 15px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); @@ -82,7 +88,7 @@

Listado de PelĂ­culas

{% endif %}
-
{{ p.articulo }}
+
{{ p.articulo }}
{{ p.get_seccion_display }}

{{ p.descripcion }}

@@ -106,4 +112,3 @@
{{ p.articulo }}
{% endblock %} - diff --git a/templates/resultado_buscar_producto.html b/templates/resultado_buscar_producto.html index 570177f..36bd244 100644 --- a/templates/resultado_buscar_producto.html +++ b/templates/resultado_buscar_producto.html @@ -1,49 +1,52 @@ {% extends "padre.html" %} {% block loquecambia %} -
-

Has buscado: {{query}}

+ +
+ +

Has buscado: {{query}}

{% if productos %} +

PelĂ­culas encontradas: {{productos|length}} pelĂ­cula{% if productos|length > 1 %}s{% endif %}

-

PelĂ­culas encontradas: {{productos|length}} pelĂ­cula

-
-
- - - - - - - - - +
+
Cód. película #PelículaGéneroReseñaPuntajePóster
+ + + + + + + + - {% for p in productos %} + {% for p in productos %} - - - - - - - + + + + + + + + {% endfor %} - {% endfor %}
Cód. película #PelículaGéneroReseñaPuntajePóster
00{{p.pk}}{{p.articulo}}{{p.seccion}}{{p.descripcion}} {{p.precio_unitario}}{{p.articulo}}
00{{p.pk}}{{p.articulo}}{{p.seccion}}{{p.descripcion}}{{p.precio_unitario}} + {{p.articulo}} +
-
+ {% else %} -

❌

-

La pelĂ­cula buscada no se encuentra.

- {% endif %} +

❌

+

La pelĂ­cula buscada no se encuentra.

+ {% endif %} +
- - + {% endblock %}