diff --git a/app/templates/shared/macros/modals.html b/app/templates/shared/macros/modals.html index 71e59d2a..5b544144 100644 --- a/app/templates/shared/macros/modals.html +++ b/app/templates/shared/macros/modals.html @@ -492,7 +492,8 @@ Required Alpine.js state: - showJobModal: boolean - - selectedJob: object with job data + - selectedJob: object with job data (fields: id, vendor_id, marketplace, status, source_url, + imported, updated, error_count, total_processed, started_at, completed_at, language) - closeJobModal(): function to close and clear - getVendorName(id): function to resolve vendor name - formatDate(date): function to format dates @@ -517,93 +518,127 @@ x-transition:leave-start="opacity-100" x-transition:leave-end="opacity-0 transform translate-y-1/2"> {# Modal Header #} -
-

- Import Job Details -

-
{# Modal Content #} -
-
-
-

Job ID

-

+
+ {# Status Badge #} +
+ Status + + +
+ + {# Progress Stats Cards #} +
+
+

+

Imported

-
-

Vendor

-

+
+

+

Updated

-
-

Marketplace

-

+
+

+

Errors

-
-

Status

- - +
+

+

Total

-
-

Source URL

-

+
+ + {# Details Table #} +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + {% if show_created_by %} + + + + + {% endif %} + +
Vendor
Marketplace
Language + +
Source URL + +
Started At
Completed At
Created By
+
+ + {# Error Message #} +
+
+ +
+

Error Message

+

+
-
-

Imported

-

-
-
-

Updated

-

-
-
-

Errors

-

-
-
-

Total Processed

-

-
-
-

Started At

-

-
-
-

Completed At

-

-
- {% if show_created_by %} -
-

Created By

-

-
- {% endif %}
{# Error Details #} -
+

Error Details

-
-

+                
+

                 
{# Modal Footer #} -
+