Save configuration to preferences in NVS

This commit is contained in:
2026-02-02 18:43:39 +01:00
parent 59cbc64b08
commit 26dced7cee
9 changed files with 274 additions and 148 deletions

View File

@@ -1,7 +1,6 @@
* {
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
@@ -14,14 +13,12 @@ body {
left: 0;
right: 0;
}
.main {
display: flex;
flex-direction: column;
margin: 0.2em;
overflow: hidden;
}
#tabs {
display: flex;
flex-wrap: wrap;
@@ -31,53 +28,51 @@ body {
#tabs .tab {
background-color: lightgray;
padding: 0.5em;
/*border: 1px;
border-color: grey;
border-style: solid; */
border: 1px solid grey;
opacity: 0.6;
}
#tabs .tab.active {
opacity: 1;
}
#tabPages {
overflow: auto;
padding-bottom: 1ex;
border-bottom: 1px solid grey;
}
hr {
border-top: 1px solid grey;
}
.configForm {
padding-bottom: 0.5em;
padding-bottom: 0.5em;
}
.configForm .buttons {
margin-bottom: 0.5em;
margin-bottom: 0.5em;
}
.configForm .content>div:nth-child(even) {
background-color: rgb(211 211 211 / 43%);
background-color: rgb(211 211 211 / 43%);
}
#statusPage .even {
background-color: rgb(211 211 211 / 43%);
background-color: rgb(211 211 211 / 43%);
}
#statusPageContent {
margin-bottom: 0.5em;
}
.counter-row .value{
text-align: right;
width: 6em;
text-align: right;
width: 6em;
}
.icon-row .label{
width: 8.7em;
width: 8.7em;
}
.category .title .label {
opacity: 1;
margin-left: 1em;
opacity: 1;
margin-left: 1em;
}
.changed input{
color: green;
color: green;
}
.changed select{
color: green;
color: green;
}
.category.changed{
color: green;
@@ -160,7 +155,6 @@ button.addunassigned {
display: flex;
overflow-y: auto;
}
.overlay {
margin: auto;
background-color: white;
@@ -214,7 +208,6 @@ h1 {
.icon-eye.active{
opacity: 1;
}
.dash {
width: 6.5em;
height: 4em;
@@ -242,10 +235,10 @@ div#dashboardPage {
}
.dashValue.formatLatitude {
font-size: 1.1em;
}
}
.dashValue.formatLongitude {
font-size: 1.1em;
}
font-size: 1.1em;
}
.dashValue.formatDate {
font-size: 1.2em;
}
@@ -255,12 +248,12 @@ div#dashboardPage {
padding: 0.1em;
background-color: lightgray;
font-size: 0.7em;
}
.footer .unit{
}
.footer .source{
.footer .unit {
}
.footer .source {
flex: 1;
}
}
#adminPassInput {
margin-bottom: 1em;
}
@@ -273,7 +266,6 @@ div#uploadProgress {
max-width: 20em;
height: 1em;
margin-left: 1em;
/* margin-right: auto; */
border: 1px solid grey;
margin-top: 0.5em;
margin-bottom: 0.5em;