added display of installed services on the page PageSettingsServersList

This commit is contained in:
vladimir.kuznetsov 2023-08-01 11:06:46 +09:00
parent 0058edc24e
commit 925fd9f268
4 changed files with 34 additions and 2 deletions

View file

@ -85,7 +85,15 @@ PageType {
Layout.fillWidth: true
text: name
descriptionText: hostName
descriptionText: {
var servicesNameString = ""
var servicesName = ContainersModel.getAllInstalledServicesName(index)
for (var i = 0; i < servicesName.length; i++) {
servicesNameString += servicesName[i] + " · "
}
return servicesNameString + hostName
}
rightImageSource: "qrc:/images/controls/chevron-right.svg"
clickedFunction: function() {

View file

@ -91,11 +91,15 @@ PageType {
}
BasicButtonType {
Layout.topMargin: 16
Layout.leftMargin: -8
implicitHeight: 32
defaultColor: "transparent"
hoveredColor: Qt.rgba(1, 1, 1, 0.08)
pressedColor: Qt.rgba(1, 1, 1, 0.12)
disabledColor: "#878B91"
textColor: "#D7D8DB"
textColor: "#FBB26A"
text: showContent ? qsTr("Collapse content") : qsTr("Show content")