From fda75aa82264223b2ed744c005a0df821cde412c Mon Sep 17 00:00:00 2001 From: Michael Woods Date: Fri, 26 Dec 2025 14:35:07 -0500 Subject: [PATCH] Object detail page added. but error. --- packetserver/http/routers/objects_html.py | 1 + packetserver/http/templates/objects.html | 14 +------------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/packetserver/http/routers/objects_html.py b/packetserver/http/routers/objects_html.py index 6df8b60..611b7f1 100644 --- a/packetserver/http/routers/objects_html.py +++ b/packetserver/http/routers/objects_html.py @@ -9,6 +9,7 @@ from packetserver.http.server import templates from packetserver.http.routers.objects import router as api_router # to call internal endpoints from packetserver.http.database import DbDependency from packetserver.http.routers.objects import get_object_metadata as api_get_metadata +from packetserver.http.routers.objects import ObjectUpdate router = APIRouter(tags=["objects_html"]) diff --git a/packetserver/http/templates/objects.html b/packetserver/http/templates/objects.html index 1c53a54..4f146d7 100644 --- a/packetserver/http/templates/objects.html +++ b/packetserver/http/templates/objects.html @@ -61,7 +61,7 @@ {% for obj in objects %} - {{ obj.name }} + {{ obj.name }} {% if obj.size < 1024 %} {{ obj.size }} bytes @@ -91,7 +91,6 @@ View Text {% endif %} Download - {% endfor %} @@ -101,16 +100,5 @@

No objects uploaded yet.

{% endif %} - {% endblock %} \ No newline at end of file