added terminal for viewing logs

This commit is contained in:
dcore94 2023-06-23 13:10:22 +02:00
parent e14bd30796
commit 7e676e6473
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ class CCPExecutionHistory extends HTMLElement {
this.#rootdoc.innerHTML = `
<link rel="stylesheet" href="https://cdn.dev.d4science.org/ccp/css/common.css"></link>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://cdn.dev.d4science.org/ccp-dev/js/ccp/logterminal.js"></script>
<style>
.lxd{
background-color: #dd4814;
@ -111,6 +112,7 @@ class CCPExecutionHistory extends HTMLElement {
<span style="text-overflow:ellipsis" class="badge badge-light text-info border border-info" name="infrastructure" alt="Infrastructure" title="Infrastructure"></span>
<span class="badge" name="runtime" alt="Runtime" title="Runtime"></span>
</div>
<d4s-ccp-logterminal maxlines="10"/>
<ul>
<li></li>
</ul>