status-desktop/ui/app/AppLayouts/Profile/popups/FleetsModal.qml

77 lines
1.8 KiB
QML
Raw Normal View History

2020-11-03 21:04:57 +00:00
import QtQuick 2.13
import QtQuick.Controls 2.13
import QtQuick.Layouts 1.13
import utils 1.0
import shared 1.0
import shared.popups 1.0
import shared.status 1.0
2020-11-03 21:04:57 +00:00
import "../controls"
// TODO: replace with StatusModal
2020-11-03 21:04:57 +00:00
ModalPopup {
id: popup
title: qsTr("Fleet")
2020-11-03 21:04:57 +00:00
property var advancedStore
2020-11-03 21:04:57 +00:00
property string newFleet: "";
2022-02-09 09:43:23 +00:00
2020-11-03 21:04:57 +00:00
Column {
id: column
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: Style.current.padding
anchors.leftMargin: Style.current.padding
spacing: 0
2020-11-03 21:04:57 +00:00
ButtonGroup { id: fleetSettings }
2020-11-06 14:20:52 +00:00
FleetRadioSelector {
advancedStore: popup.advancedStore
2020-11-06 14:20:52 +00:00
fleetName: Constants.eth_prod
buttonGroup: fleetSettings
2020-11-03 21:04:57 +00:00
}
2020-11-06 14:20:52 +00:00
FleetRadioSelector {
advancedStore: popup.advancedStore
2020-11-06 14:20:52 +00:00
fleetName: Constants.eth_staging
buttonGroup: fleetSettings
2020-11-03 21:04:57 +00:00
}
2020-11-06 14:20:52 +00:00
FleetRadioSelector {
advancedStore: popup.advancedStore
2020-11-06 14:20:52 +00:00
fleetName: Constants.eth_test
buttonGroup: fleetSettings
2020-11-03 21:04:57 +00:00
}
2021-06-04 17:38:25 +00:00
FleetRadioSelector {
advancedStore: popup.advancedStore
2021-06-04 17:38:25 +00:00
fleetName: Constants.waku_prod
buttonGroup: fleetSettings
2021-06-04 17:38:25 +00:00
}
FleetRadioSelector {
advancedStore: popup.advancedStore
2021-06-04 17:38:25 +00:00
fleetName: Constants.waku_test
buttonGroup: fleetSettings
2021-06-04 17:38:25 +00:00
}
2022-02-18 21:23:35 +00:00
FleetRadioSelector {
advancedStore: popup.advancedStore
fleetName: Constants.status_test
buttonGroup: fleetSettings
}
2022-03-10 22:08:33 +00:00
FleetRadioSelector {
advancedStore: popup.advancedStore
fleetName: Constants.status_prod
buttonGroup: fleetSettings
}
2020-11-03 21:04:57 +00:00
}
}