From d4f3ed98f5962c99b8e5af8e92259df09d089ba4 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Fri, 2 Feb 2024 18:33:42 +0100 Subject: [PATCH] show link for direct execution --- ccp/js/executionformcontroller.js | 10 ++++---- ccp/js/executionhistorycontroller.js | 36 ++++++++++++++++++---------- 2 files changed, 29 insertions(+), 17 deletions(-) diff --git a/ccp/js/executionformcontroller.js b/ccp/js/executionformcontroller.js index 604a73c..014c3b0 100644 --- a/ccp/js/executionformcontroller.js +++ b/ccp/js/executionformcontroller.js @@ -92,7 +92,7 @@ class CCPExecutionForm extends HTMLElement{
-
+
- - - - - - +
+ + + +
+
+ + +
@@ -657,6 +665,10 @@ class CCPExecutionHistory extends HTMLElement { this.generateCode(id, lang, `${id}.${ext}`) } }, + { + target : "a[name=direct_link_execution]", + apply : (e,d)=>e.href = e.textContent = window.location.origin + window.location.path + "?execution=" + d.id + }, { target : "div[name=logterminalcontainer]", apply : (e,d)=>{