diff --git a/app/templates/templates/view.html b/app/templates/templates/view.html new file mode 100644 index 0000000..a504314 --- /dev/null +++ b/app/templates/templates/view.html @@ -0,0 +1,128 @@ +{% extends "base.html" %} + +{% block title %}{{ template.name }}{% endblock %} + +{% block content %} +
{{ template.description or 'No description provided' }}
+| Frequency: | ++ {{ template.frequency|title }} + | +
|---|---|
| Total Items: | +{{ template.checklist_items.count() }} | +
| Created: | +{{ template.created_at.strftime('%Y-%m-%d %H:%M') if template.created_at else 'N/A' }} | +
| Total Inspections: | +{{ template.inspections.count() }} | +
{{ item.item_description }}
+