Skip to content

Commit

Permalink
Improve preferences.html layout and style
Browse files Browse the repository at this point in the history
  • Loading branch information
melkati committed Jun 9, 2024
1 parent efabed4 commit 991665d
Show file tree
Hide file tree
Showing 8 changed files with 474 additions and 508 deletions.
Binary file modified data/index.js.gz
Binary file not shown.
Binary file modified data/ota.js.gz
Binary file not shown.
Binary file modified data/preferences.html.gz
Binary file not shown.
Binary file modified data/preferences.js.gz
Binary file not shown.
Binary file modified data/status.js.gz
Binary file not shown.
Binary file modified data/style.css.gz
Binary file not shown.
930 changes: 422 additions & 508 deletions webserver/preferences.html

Large diffs are not rendered by default.

52 changes: 52 additions & 0 deletions webserver/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,57 @@ h4 {
background-color: var(--tag-dark-bg-color);
}

.form-group {
display: flex;
align-items: center;
margin-bottom: 15px;
}

.form-group label {
flex: 1;
margin-right: 10px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="number"] {
flex: 2;
}

.form-group input[type="checkbox"] {
margin-right: 10px;
}

.form-group .tooltip-icon {
margin-left: 5px;
}

.form-group .tooltip-text {
margin-left: 10px;
}

.flex-align-center {
display: flex;
align-items: center;
}

.flex-align-center label {
margin-right: 10px;
}

.flex-align-center input,
.flex-align-center select {
margin-right: 10px;
}

.flex-align-center .tooltip-icon {
margin-right: 5px;
}

#vRef + #currentVoltage {
margin-right: 10px;
}

#preferencesForm {
background-color: var(--bg-color);
border-radius: 8px;
Expand Down Expand Up @@ -265,6 +316,7 @@ button:hover {
display: flex;
justify-content: space-between;
flex-wrap: nowrap;
margin-top: 20px;
}

.buttonsBackupRestore,
Expand Down

0 comments on commit 991665d

Please sign in to comment.