From 60422ac1a9454a2b5ae5af73cda42f05f83f5991 Mon Sep 17 00:00:00 2001 From: Rizqi Date: Sun, 21 Jun 2026 04:11:42 +0700 Subject: [PATCH] feat: add Jinja2 templates for jobs management, login interface, and base layout styling --- vsphere_backup/templates/base.html | 36 +++++++++--- vsphere_backup/templates/create_job.html | 57 +++++++++++++----- vsphere_backup/templates/job_detail.html | 75 ++++++++++++++++-------- vsphere_backup/templates/jobs.html | 27 ++++++--- vsphere_backup/templates/login.html | 9 ++- vsphere_backup/templates/nfs.html | 43 ++++++++++---- vsphere_backup/templates/vms.html | 48 +++++++++++---- 7 files changed, 212 insertions(+), 83 deletions(-) diff --git a/vsphere_backup/templates/base.html b/vsphere_backup/templates/base.html index d391e0e..676300c 100644 --- a/vsphere_backup/templates/base.html +++ b/vsphere_backup/templates/base.html @@ -111,7 +111,7 @@ box-shadow: 0 4px 12px rgba(99, 102, 241, 0.05); font-weight: 600; } - .nav-link .icon { font-size: 18px; width: 22px; text-align: center; } + .nav-link .icon { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; } .sidebar-footer { padding: 20px 24px; @@ -344,7 +344,14 @@ {% endif %} -
+
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
diff --git a/vsphere_backup/templates/create_job.html b/vsphere_backup/templates/create_job.html index 8dc9f8f..6575182 100644 --- a/vsphere_backup/templates/create_job.html +++ b/vsphere_backup/templates/create_job.html @@ -131,7 +131,10 @@
-
πŸ–₯ Virtual Machine
+
+ + Virtual Machine +
@@ -155,7 +158,8 @@