diff --git a/plugins/MonitorStage/MonitorMain.qml b/plugins/MonitorStage/MonitorMain.qml index 848c4a7187..eaf7fccf2a 100644 --- a/plugins/MonitorStage/MonitorMain.qml +++ b/plugins/MonitorStage/MonitorMain.qml @@ -116,17 +116,41 @@ Rectangle width: contentWidth } - UM.Label + Rectangle { - id: sendToFactoryLabel - anchors + id: sendToFactoryCard + color: UM.Theme.getColor("detail_background") + height: childrenRect.height + width: childrenRect.width + Column { - horizontalCenter: parent.horizontalCenter + spacing: UM.Theme.getSize("default_margin").height + padding: UM.Theme.getSize("default_margin").width + topPadding: 0 + + Image + { + anchors.horizontalCenter: parent.horizontalCenter + source: UM.Theme.getImage("first_run_ultimaker_cloud") + } + + UM.Label + { + anchors.horizontalCenter: parent.horizontalCenter + visible: isAbstractCloudPrinter + text: catalog.i18nc("@info", "Monitor your printers from everywhere using Ultimaker Digital Factory") + font: UM.Theme.getFont("medium") + width: contentWidth + } + + Cura.PrimaryButton + { + id: sendToFactoryButton + anchors.horizontalCenter: parent.horizontalCenter + text: catalog.i18nc("@button", "View printers in Digital Factory") + onClicked: Qt.openUrlExternally("https://digitalfactory.ultimaker.com/app/print-jobs?utm_source=cura&utm_medium=software&utm_campaign=monitor-view-cloud-printer-type") + } } - visible: isAbstractCloudPrinter - text: catalog.i18nc("@info", "Please go to the Digital Factory. [PLACEHOLDER]") - font: UM.Theme.getFont("medium") - width: contentWidth } Item @@ -135,7 +159,7 @@ Rectangle { left: noNetworkLabel.left } - visible: !isNetworkConfigured && isNetworkConfigurable + visible: !isNetworkConfigured && isNetworkConfigurable && !isAbstractCloudPrinter width: childrenRect.width height: childrenRect.height