minor fixess

This commit is contained in:
2026-07-13 06:04:04 +03:00
parent e9e2cbbfec
commit ff2b8a250e
34 changed files with 712 additions and 282 deletions
+20 -8
View File
@@ -28,6 +28,11 @@ Item {
Component.onCompleted: reload()
Rectangle {
anchors.fill: parent
color: "#161628"
}
Timer {
interval: 2500
running: true
@@ -42,22 +47,29 @@ Item {
RowLayout {
Layout.fillWidth: true
Button { text: "\u2190 Назад"; onClicked: page.StackView.view.pop() }
SettingsButton {
text: "\u2190 Назад"
onClicked: page.StackView.view.pop()
}
Label {
Layout.fillWidth: true
text: "Обновление ПО"
font.bold: true
font.pixelSize: 16
color: settingsContainer.darkMode ? "white" : "black"
color: "#ffffff"
horizontalAlignment: Text.AlignHCenter
}
Button { text: "\u21BB"; onClicked: page.reload() }
SettingsButton {
text: "\u21BB"
Layout.preferredWidth: 56
onClicked: page.reload()
}
}
Text {
Layout.fillWidth: true
text: "Текущая версия: " + systemInfo.currentVersion
color: settingsContainer.darkMode ? "white" : "black"
color: "#ffffff"
font.pixelSize: 14
}
@@ -65,8 +77,8 @@ Item {
Layout.fillWidth: true
Layout.preferredHeight: stTxt.implicitHeight + 20
radius: 6
color: settingsContainer.darkMode ? "#40222c58" : "#40ffffff"
border.color: settingsContainer.darkMode ? "#80ffffff" : "#80000000"
color: "#40222c58"
border.color: "#80ffffff"
border.width: 1
Text {
id: stTxt
@@ -74,7 +86,7 @@ Item {
anchors.margins: 10
text: "Статус: " + page.stateText(page.status.state)
+ (page.status.message ? "\n" + page.status.message : "")
color: settingsContainer.darkMode ? "white" : "black"
color: "#ffffff"
wrapMode: Text.Wrap
}
}
@@ -82,7 +94,7 @@ Item {
Text {
Layout.fillWidth: true
text: "Загрузка нового пакета ПО выполняется через веб-конфигуратор. После применения выполняется проверка запуска; при ошибке произойдёт автоматический откат на предыдущую версию."
color: settingsContainer.darkMode ? "#cccccc" : "#444444"
color: "#cccccc"
font.pixelSize: 12
wrapMode: Text.Wrap
}