~exprez135/cryptomator-libre

ref: 570286c7df14b5ef6473f264b6bb685147f5ce50 cryptomator-libre/main/ui/src/main/resources/fxml/vault_detail_locked.fxml -rw-r--r-- 1.7 KiB
570286c7 — Sebastian Stenzel Merge branch 'release/1.5.5' 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Hyperlink?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Region?>
<?import javafx.scene.layout.VBox?>
<?import org.cryptomator.ui.controls.FontAwesome5IconView?>
<VBox xmlns="http://javafx.com/javafx"
	  xmlns:fx="http://javafx.com/fxml"
	  fx:controller="org.cryptomator.ui.mainwindow.VaultDetailLockedController"
	  alignment="TOP_CENTER"
	  spacing="9">
	<children>
		<Button styleClass="button-large" text="%main.vaultDetail.unlockBtn" minWidth="120" onAction="#unlock" defaultButton="${controller.vault.locked}" visible="${!controller.passwordSaved}"
				managed="${!controller.passwordSaved}">
			<graphic>
				<FontAwesome5IconView glyph="KEY" glyphSize="15"/>
			</graphic>
		</Button>
		<Button styleClass="button-large" text="%main.vaultDetail.unlockNowBtn" minWidth="120" onAction="#unlock" defaultButton="${controller.vault.locked}" visible="${controller.passwordSaved}"
				managed="${controller.passwordSaved}">
			<graphic>
				<FontAwesome5IconView glyph="KEY" glyphSize="15"/>
			</graphic>
		</Button>
		<Hyperlink text="%main.vaultDetail.optionsBtn" onAction="#showVaultOptions">
			<graphic>
				<FontAwesome5IconView glyph="COG"/>
			</graphic>
		</Hyperlink>
		<Region VBox.vgrow="ALWAYS"/>
		<HBox alignment="CENTER_RIGHT" spacing="6">
			<Label styleClass="label-small,label-muted" text="%main.vaultDetail.passwordSavedInKeychain" visible="${controller.passwordSaved}">
				<graphic>
					<FontAwesome5IconView styleClass="glyph-icon-muted" glyph="LOCK"/>
				</graphic>
			</Label>
		</HBox>
	</children>
</VBox>