feat: added beacon operation config editor

This commit is contained in:
Andrew Rioux
2025-01-31 02:00:22 -05:00
parent 66b59531c5
commit 71b2f70686
11 changed files with 398 additions and 20 deletions

View File

@@ -0,0 +1,12 @@
main.beacons div.categories {
padding: 10px;
fieldset {
display: grid;
grid-template-columns: 150px 200px;
input, label {
margin: 10px;
}
}
}

View File

@@ -0,0 +1,28 @@
main.beacons div.config {
padding: 10px;
fieldset {
display: grid;
grid-template-columns: 300px 200px;
input, label {
margin: 10px;
}
}
.mode-regular, .mode-random, .mode-cron {
display: none;
}
select:has(> option[value="regular"]:checked) ~ .mode-regular {
display: block;
}
select:has(> option[value="random"]:checked) ~ .mode-random {
display: block;
}
select:has(> option[value="cron"]:checked) ~ .mode-cron {
display: block;
}
}

View File

@@ -1,5 +1,5 @@
main.beacons div.listeners {
form {
form, p, h2 {
margin: 10px;
}

View File

@@ -72,11 +72,11 @@ input[type="submit"],
input[type="button"],
button {
background-color: #fff;
border: 1px solid transparent;
border: 1px solid black;
cursor: pointer;
margin: 5px;
padding: 2px 4px;
border-radius: 2px;
padding: 5px 7px;
border-radius: 4px;
box-shadow: #fff7 0 1px 0 inset;
&:hover {