diff --git a/htdocs/css/style.css b/htdocs/css/style.css index c3fb063..c25a957 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -708,6 +708,7 @@ td.table_label { .CodeMirror { border: 1px solid lightgray; + text-align: left; font-family: consolas, monaco, "Andale Mono", monospace; font-style: normal; font-weight: 400; @@ -749,4 +750,26 @@ td.table_label { span.red2 { background-color: #ac394d; - } \ No newline at end of file + } + + /* WF job details grid*/ + + .wflog.grid-container { + display: grid; + grid-template-columns: repeat(2, 1fr); + gap: 10px; + padding: 20px; + } + + .wflog.grid-item { + border: 1px solid #ccc; + padding: 10px; + word-wrap: break-word; + overflow: hidden; + white-space: normal; + } + + .wflog.grid-title { + /* font-weight: bold; */ + font-size: 1.6em; + } \ No newline at end of file diff --git a/htdocs/js/pages/JobDetails.class.js b/htdocs/js/pages/JobDetails.class.js index 0774810..b8444fa 100644 --- a/htdocs/js/pages/JobDetails.class.js +++ b/htdocs/js/pages/JobDetails.class.js @@ -383,45 +383,7 @@ Class.subclass(Page.Base, "Page.JobDetails", { // log grid - html += ` - - -
- - ` + html += `` // job log (IFRAME) html += '${data}`; + newItem.className = 'wflog grid-item'; // Apply any necessary classes + newItem.innerHTML = `
${data}`; const gridContainer = document.getElementById('log_grid'); gridContainer.appendChild(newItem);