From 96a343f284395b458f929d66b00190bb23d244cf Mon Sep 17 00:00:00 2001 From: NguyenND Date: Wed, 29 Apr 2026 15:42:33 -0400 Subject: [PATCH] 04/29 Modified project page to add button to enable/disable a project --- templates/projects.html | 103 ++++++++++++++++++++-------------------- 1 file changed, 51 insertions(+), 52 deletions(-) diff --git a/templates/projects.html b/templates/projects.html index 1f10383..f8465a5 100644 --- a/templates/projects.html +++ b/templates/projects.html @@ -75,17 +75,17 @@

{{ project.name }}

{% if project.description %} - {{ project.description[:100] }}{% if project.description|length > 100 %}...{% endif %} + {{ project.description[:100] }}{% if project.description|length > 100 %}...{% endif %} {% else %} - No description provided + No description provided {% endif %}

{% if project.active_status %} - Active + Active {% else %} - Inactive + Inactive {% endif %}
@@ -106,22 +106,18 @@
- + Edit -
{% endfor %} @@ -145,52 +141,55 @@ {% block extra_scripts %} {% endblock %} \ No newline at end of file