123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?import javafx.scene.control.Label?>
- <?import javafx.scene.control.ListView?>
- <?import javafx.scene.layout.VBox?>
- <?import org.cryptomator.ui.health.CheckStateIconView?>
- <?import javafx.scene.layout.HBox?>
- <?import javafx.scene.control.Button?>
- <?import org.cryptomator.ui.controls.FontAwesome5IconView?>
- <?import javafx.scene.layout.Region?>
- <?import javafx.scene.control.ChoiceBox?>
- <?import javafx.scene.control.ContextMenu?>
- <?import javafx.scene.control.MenuItem?>
- <VBox xmlns:fx="http://javafx.com/fxml"
- xmlns="http://javafx.com/javafx"
- fx:controller="org.cryptomator.ui.health.CheckDetailController"
- spacing="12">
- <HBox alignment="CENTER" >
- <VBox spacing="12">
- <Label fx:id="detailHeader" styleClass="label-extra-large" text="${controller.checkName}" contentDisplay="RIGHT">
- <graphic>
- <HBox alignment="CENTER" minWidth="25" maxWidth="25">
- <CheckStateIconView check="${controller.check}" glyphSize="20"/>
- </HBox>
- </graphic>
- </Label>
- <Label text="%health.check.detail.checkRunning" visible="${controller.checkRunning}" managed="${controller.checkRunning}"/>
- <Label text="%health.check.detail.checkScheduled" visible="${controller.checkScheduled}" managed="${controller.checkScheduled}"/>
- <Label text="%health.check.detail.checkSkipped" visible="${controller.checkSkipped}" managed="${controller.checkSkipped}"/>
- <Label text="%health.check.detail.checkCancelled" visible="${controller.checkCancelled}" managed="${controller.checkCancelled}"/>
- <Label text="%health.check.detail.checkFailed" visible="${controller.checkFailed}" managed="${controller.checkFailed}"/>
- <Label text="%health.check.detail.checkFinished" visible="${controller.checkSucceeded && !controller.warnOrCritsExist}" managed="${controller.checkSucceeded && !controller.warnOrCritsExist}"/>
- <Label text="%health.check.detail.checkFinishedAndFound" visible="${controller.checkSucceeded && controller.warnOrCritsExist}" managed="${controller.checkSucceeded && controller.warnOrCritsExist}"/>
- </VBox>
- <Region HBox.hgrow="ALWAYS"/>
- <Button text="%health.check.detail.fixAllSpecificBtn" contentDisplay="RIGHT" graphicTextGap="3" visible="${controller.checkFinished}" managed="${controller.checkFinished}" disable="${! controller.fixAllInfoResultsPossible}" onAction="#fixAllInfoResults">
- <graphic>
- <FontAwesome5IconView glyph="INFO_CIRCLE" glyphSize="12" styleClass="glyph-icon-muted"/>
- </graphic>
- </Button>
- </HBox>
- <VBox spacing="3">
- <HBox alignment="CENTER_LEFT" spacing="6">
- <Label fx:id="filterLbl" text="Filters">
- <graphic>
- <FontAwesome5IconView glyph="FUNNEL" glyphSize="${filterLbl.height}" styleClass="glyph-icon-muted"/>
- </graphic>
- </Label>
- <Region HBox.hgrow="ALWAYS" />
- <Label text="Severity" labelFor="${severityChoiceBox}"/>
- <ChoiceBox fx:id="severityChoiceBox" />
- <Label text="Fix state" labelFor="${fixStateChoiceBox}"/>
- <ChoiceBox fx:id="fixStateChoiceBox" />
- </HBox>
- <ListView fx:id="resultsListView" VBox.vgrow="ALWAYS" visible="${!controller.checkSkipped}" fixedCellSize="25">
- <contextMenu>
- <ContextMenu>
- <items>
- <MenuItem text="%generic.button.copy" onAction="#copyResultDetails"/>
- </items>
- </ContextMenu>
- </contextMenu>
- </ListView>
- </VBox>
- </VBox>
|