Script execution list

This commit is contained in:
Magnus Åhall 2025-08-08 18:15:13 +02:00
parent 13a5b9a973
commit 55724b36b5
8 changed files with 517 additions and 14 deletions

View file

@ -70,7 +70,7 @@ button {
#menu {
grid-area: menu;
grid-template-columns: repeat(100, min-content);
grid-gap: 16px;
grid-gap: 24px;
align-items: center;
&.page {
@ -81,6 +81,8 @@ button {
.item {
font-size: 1.1em;
cursor: pointer;
white-space: nowrap;
user-select: none;
&.selected {
font-weight: bold;
@ -700,3 +702,105 @@ dialog#connection-data {
font-family: monospace;
}
}
#script-executions {
& > .label {
font-weight: bold;
font-size: 1.5em;
color: var(--section-color);
white-space: nowrap;
}
.executions {
display: grid;
grid-template-columns: repeat(11, min-content);
grid-gap: 4px 32px;
margin-top: 32px;
align-items: center;
.header {
font-weight: bold;
}
div {
white-space: nowrap;
}
img {
display: block;
height: 24px;
}
.time {
font-size: 0.9em;
color: #555;
}
.source, .data, .env, .stdout, .stderr {
img {
cursor: pointer;
}
}
.exitcode {
text-align: right;
div {
padding: 2px 8px;
width: 50px;
border-radius: 4px;
color: #fff;
font-weight: bold;
text-align: center;
&.code-ok {
background-color: #6f9753;
}
&.code-error {
background-color: #a12f2f;
}
}
}
}
}
#script-execution-value-dialog {
display: grid;
.top {
display: grid;
grid-template-columns: 1fr min-content;
.header {
font-size: 1.25em;
font-weight: bold;
color: var(--section-color);
}
.copy {
height: 32px;
cursor: pointer;
&.clicked {
filter: invert(50%);
}
}
}
.label {
font-weight: bold;
}
.value {
margin-top: 16px;
padding: 16px;
border: 1px solid #ccc;
border-radius: 4px;
font-family: monospace;
font-size: 0.9em;
height: 75vh;
width: 80vw;
white-space: pre;
overflow: scroll;
}
}