updated reveal button in vault detail

This commit is contained in:
Tobias Hagemann
2019-09-05 15:27:34 +02:00
parent af89cee619
commit c8e22fe2e3
5 changed files with 26 additions and 14 deletions

View File

@@ -511,6 +511,10 @@
-fx-fill: TEXT_FILL_WHITE;
}
.button:default .label {
-fx-text-fill: TEXT_FILL_WHITE;
}
.button-large {
-fx-font-size: 1.25em;
-fx-padding: 0.6em 1.5em 0.6em 1.5em;

View File

@@ -511,6 +511,10 @@
-fx-fill: TEXT_FILL_WHITE;
}
.button:default .label {
-fx-text-fill: TEXT_FILL_WHITE;
}
.button-large {
-fx-font-size: 1.25em;
-fx-padding: 0.6em 1.5em 0.6em 1.5em;

View File

@@ -65,16 +65,20 @@
</Hyperlink>
</VBox>
<VBox alignment="CENTER" spacing="9" visible="${controller.vault.unlocked}" managed="${controller.vault.unlocked}">
<Label styleClass="label-large" text="%main.vaultDetail.accessLocation"/>
<FontAwesome5IconView styleClass="glyph-icon-secondary" glyph="HDD" glyphSize="32"/>
<Label styleClass="label-secondary" text="${controller.vault.accessPoint}"/>
<Region prefHeight="12" VBox.vgrow="NEVER"/>
<Button styleClass="button-large" text="%main.vaultDetail.revealBtn" minWidth="120" onAction="#revealAccessLocation" defaultButton="${controller.vault.unlocked}">
<Label text="%main.vaultDetail.accessLocation"/>
<Button styleClass="button-large" contentDisplay="GRAPHIC_ONLY" minWidth="120" onAction="#revealAccessLocation" defaultButton="${controller.vault.unlocked}">
<graphic>
<FontAwesome5IconView glyph="EYE" glyphSize="15"/>
<HBox spacing="12" alignment="CENTER">
<FontAwesome5IconView glyph="HDD" glyphSize="24"/>
<VBox spacing="4" alignment="CENTER_LEFT">
<Label text="%main.vaultDetail.revealBtn"/>
<Label styleClass="label-small" text="${controller.vault.accessPoint}" textOverrun="CENTER_ELLIPSIS"/>
</VBox>
</HBox>
</graphic>
<tooltip>
<Tooltip text="${controller.vault.accessPoint}"/>
</tooltip>
</Button>
<Button text="%main.vaultDetail.lockBtn" minWidth="120" onAction="#lock">
<graphic>

View File

@@ -75,7 +75,7 @@ unlock.savePassword=Save Password
unlock.unlockBtn=Unlock
## Success
unlock.success.message=Unlocked "%s" successfully! Your vault is now accessible.
unlock.success.revealBtn=Reveal Vault Drive
unlock.success.revealBtn=Reveal Vault
## Delete Saved Password Dialog
unlock.deleteSavedPasswordDialog.title=Delete Saved Password
unlock.deleteSavedPasswordDialog.header=Do you really want to delete the saved password of this vault?
@@ -112,9 +112,9 @@ main.vaultDetail.lockedStatus=LOCKED
main.vaultDetail.unlockedStatus=UNLOCKED
main.vaultDetail.unlockBtn=Unlock
main.vaultDetail.optionsBtn=Vault Options
main.vaultDetail.revealBtn=Reveal
main.vaultDetail.accessLocation=Your vault's contents are accessible here:
main.vaultDetail.revealBtn=Reveal Drive
main.vaultDetail.lockBtn=Lock
main.vaultDetail.accessLocation=Access Location
main.vaultDetail.bytesPerSecondRead=read:
main.vaultDetail.bytesPerSecondWritten=written:
main.vaultDetail.throughput.idle=idle

View File

@@ -75,7 +75,7 @@ unlock.savePassword=Passwort speichern
unlock.unlockBtn=Entsperren
## Success
unlock.success.message="%s" erfolgreich ensperrt!
unlock.success.revealBtn=Tresorlaufwerk anzeigen
unlock.success.revealBtn=Tresor anzeigen
## Delete Saved Password Dialog
unlock.deleteSavedPasswordDialog.title=Gespeichertes Passwort vergessen
unlock.deleteSavedPasswordDialog.header=Soll das Passwort wirklich vergessen werden?
@@ -112,9 +112,9 @@ main.vaultDetail.lockedStatus=GESPERRT
main.vaultDetail.unlockedStatus=ENTSPERRT
main.vaultDetail.unlockBtn=Entsperren
main.vaultDetail.optionsBtn=Tresoroptionen
main.vaultDetail.revealBtn=Anzeigen
main.vaultDetail.accessLocation=Dein Tresorinhalt ist hier erreichbar:
main.vaultDetail.revealBtn=Laufwerk anzeigen
main.vaultDetail.lockBtn=Sperren
main.vaultDetail.accessLocation=Tresorlaufwerk
main.vaultDetail.bytesPerSecondRead=gelesen:
main.vaultDetail.bytesPerSecondWritten=geschrieben:
main.vaultDetail.throughput.idle=idle