Run scheduled scripts

This commit is contained in:
Magnus Åhall 2025-08-08 09:52:32 +02:00
parent 6d05152ab2
commit ef0a20ffe0
7 changed files with 294 additions and 28 deletions

View file

@ -324,6 +324,8 @@ select:focus {
grid-template-columns: 24px 1fr;
grid-gap: 8px;
align-items: center;
background-color: #f0f0f0;
padding: 16px;
.type-name {
font-weight: bold;
@ -346,27 +348,35 @@ select:focus {
#script-hooks {
.scripts-grid {
display: flex;
align-items: start;
flex-flow: row wrap;
gap: 32px;
.header {
font-weight: bold;
margin-right: 8px;
}
display: grid;
grid-template-columns: repeat(4, min-content);
align-items: center;
grid-gap: 2px 0px;
div {
white-space: nowrap;
}
.script-group {
grid-column: 1 / -1;
font-weight: bold;
margin-top: 8px;
display: grid;
grid-template-columns: repeat(4, min-content);
align-items: center;
grid-gap: 2px 0px;
padding: 16px;
background-color: #f0f0f0;
}
.script-unhook, .script-run {
.script-group-title {
grid-column: 1 / -1;
font-weight: bold;
}
.script-unhook, .script-schedule {
img {
display: block;
height: 24px;
@ -380,6 +390,11 @@ select:focus {
.script-ssh {
cursor: pointer;
color: #555;
}
.script-schedule.disabled {
filter: invert(50%);
}
}