diff --git a/frontend/app/templates/gallery.html b/frontend/app/templates/gallery.html index 4fb9604..5d4bcd1 100644 --- a/frontend/app/templates/gallery.html +++ b/frontend/app/templates/gallery.html @@ -1,159 +1,236 @@ {% extends "base.html" %} {% block title %}My Gallery{% endblock %} {% block content %} -
{{ video.prompt }}
-- Video Job Status: - {{ video.status }} +
{{ video.prompt }}
++ Video Job Status: + {{ video.status }} +
++ Started: {{ video.created_at | fromisoformat | humantime }} +
+{{ image.prompt }}
++ Image ID: {{ image.id[:8] }}... +
++ {{ image.created_at | fromisoformat | humantime }} +
++ You haven't generated any images yet. + Generate one now. +
+ {% endif %} +{{ video.prompt }}
++ Video ID: {{ video.id[:8] }}... +
++ {{ video.created_at | fromisoformat | humantime }} +
++ You haven't generated any videos yet. + Generate one now. +
+ {% endif %}{{ image.prompt }}
-{{ image.filename }}
++ Upload ID: {{ image.id[:8] }}... +
++ {{ image.uploaded_at | fromisoformat | humantime }} +
+You haven't uploaded any images.
+ {% endif %}- You haven't generated any images yet. - Generate one now. -
- {% endif %}{{ video.prompt }}
-- You haven't generated any videos yet. - Generate one now. -
- {% endif %} + + - -{{ image.filename }}
-You haven't uploaded any images.
- {% endif %} -