From ff2e8954699559eca5826c465ffa5df3b20f74b3 Mon Sep 17 00:00:00 2001 From: Keshav Priyadarshi Date: Wed, 4 Feb 2026 17:03:40 +0530 Subject: [PATCH] Use full available screen width in run details view Signed-off-by: Keshav Priyadarshi --- .../templates/pipeline_run_details.html | 271 +++++++++--------- 1 file changed, 136 insertions(+), 135 deletions(-) diff --git a/vulnerabilities/templates/pipeline_run_details.html b/vulnerabilities/templates/pipeline_run_details.html index 881d56c95..5f7f0ebd1 100644 --- a/vulnerabilities/templates/pipeline_run_details.html +++ b/vulnerabilities/templates/pipeline_run_details.html @@ -34,101 +34,100 @@ {% endblock %} {% block content %} -
- - Back to All Runs - -

{{ pipeline_name }} Run Log

-
+
+
+
+ + Back to All Runs + +

{{ pipeline_name }} Run Log

+
-
-
-
-

Pipeline ID

-

- {{ run.pipeline.pipeline_id }} - - -

-
-
-

Status

-

- {% include "includes/job_status.html" with status=run.status compact=True %} -

-
-
-

Runtime

-

- {% if run.runtime %} +

+
+
+

Pipeline ID

+

+ {{ run.pipeline.pipeline_id }} + + +

+
+
+

Status

+

+ {% include "includes/job_status.html" with status=run.status compact=True %} +

+
+
+

Runtime

+

+ {% if run.runtime %} {{ run.runtime|humanize_duration }} - {% else %} + {% else %} N/A - {% endif %} -

-
-
-

Exit Code

-

{{ run.run_exitcode|default_if_none:"N/A" }}

-
-
-

Start

-

- {% if run.run_start_date %} + {% endif %} +

+
+
+

Exit Code

+

{{ run.run_exitcode|default_if_none:"N/A" }}

+
+
+

Start

+

+ {% if run.run_start_date %} {{ run.run_start_date|date:"Y-m-d h:i a T" }} - {% else %} + {% else %} N/A - {% endif %} -

-
-
-

End

-

- {% if run.run_end_date %} + {% endif %} +

+
+
+

End

+

+ {% if run.run_end_date %} {{ run.run_end_date|date:"Y-m-d h:i a T" }} - {% else %} + {% else %} N/A - {% endif %} -

-
-
-

Created

-

{{ run.created_date|date:"Y-m-d h:i a T" }}

-
-
-

Version

-

{{ run.vulnerablecode_version }}

-
-
-

Commit

-

- {% if run.vulnerablecode_commit %} - - {{ run.vulnerablecode_commit }} - - - {% endif %} -

-
-
-

Job ID

-

- {{ run.run_id }} - - -

+ {% endif %} +

+
+
+

Created

+

{{ run.created_date|date:"Y-m-d h:i a T" }}

+
+
+

Version

+

{{ run.vulnerablecode_version }}

+
+
+

Commit

+

+ {% if run.vulnerablecode_commit %} + + {{ run.vulnerablecode_commit }} + + + {% endif %} +

+
+
+

Job ID

+

+ {{ run.run_id }} + + +

+
-
- {% if not run.run_end_date and not run.pipeline.live_logging %} + {% if not run.run_end_date and not run.pipeline.live_logging %}

@@ -136,59 +135,61 @@

{{ pipeline_name }} Run Log

Log will be available once this pipeline has finished running.

- {% endif %} + {% endif %} - {% if run.run_output|strip %} -
-

Run Error

-
- -
{{ run.run_output }}
+ {% if run.run_output|strip %} +
+

Run Error

+
+ +
{{ run.run_output }}
+
-
- {% endif %} + {% endif %} - {% if run.log|strip %} -
-

Log Output

-
- + {% if run.log|strip %} +
+

Log Output

+
+ -
+                    
                     
                 
-
- - Snippet 1 - -
+
+ + Snippet 1 + +
+
-
- {% endif %} - {% if run.run_output or run.log %} + {% endif %} + {% if run.run_output or run.log %} Back to All Runs - {% endif %} + {% endif %} +
+
{% endblock %} @@ -265,16 +266,16 @@

Log Output

function copyToClipboard(button, text) { navigator.clipboard.writeText(text) - .then(() => { - const btn = document.getElementById(button); - btn.classList.remove("fa-copy", "has-text-grey"); - btn.classList.add("has-text-success", "fa-check"); - setTimeout(() => { - btn.classList.remove("fa-check", "has-text-success"); - btn.classList.add("has-text-grey", "fa-copy"); - }, 1500); - }) - .catch(err => alert("Copy to clipboard failed.")); + .then(() => { + const btn = document.getElementById(button); + btn.classList.remove("fa-copy", "has-text-grey"); + btn.classList.add("has-text-success", "fa-check"); + setTimeout(() => { + btn.classList.remove("fa-check", "has-text-success"); + btn.classList.add("has-text-grey", "fa-copy"); + }, 1500); + }) + .catch(err => alert("Copy to clipboard failed.")); }