From 051000169ef64d9dd3830954fe7cfef5a4dfa1d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20K=C3=BChn?= Date: Sat, 15 Jan 2022 09:24:30 +0100 Subject: [PATCH] Updated login, main-wiew and the controllers --- .../src/main/java/users/LoginController.java | 6 +++--- .../app/src/main/resources/main/main-view.css | 4 ++++ .../src/main/resources/main/main-view.fxml | 19 ++++++++++--------- client/app/src/main/resources/users/login.css | 8 ++++++++ .../app/src/main/resources/users/login.fxml | 6 ++++-- 5 files changed, 29 insertions(+), 14 deletions(-) diff --git a/client/app/src/main/java/users/LoginController.java b/client/app/src/main/java/users/LoginController.java index 0350460..3bce950 100644 --- a/client/app/src/main/java/users/LoginController.java +++ b/client/app/src/main/java/users/LoginController.java @@ -1,18 +1,18 @@ package users; +import com.jfoenix.controls.*; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.Node; import javafx.scene.control.Label; -import javafx.scene.control.TextField; import javafx.stage.Stage; import res.DataController; public class LoginController { @FXML - public TextField userField; + public JFXTextField userField; @FXML - public TextField passField; + public JFXPasswordField passField; @FXML public Label userErrLabel; @FXML diff --git a/client/app/src/main/resources/main/main-view.css b/client/app/src/main/resources/main/main-view.css index af0f292..2dd0d16 100644 --- a/client/app/src/main/resources/main/main-view.css +++ b/client/app/src/main/resources/main/main-view.css @@ -72,3 +72,7 @@ Label{ -fx-max-height: 40px; } +.navButtnon{ + -fx-background-color: white; +} + diff --git a/client/app/src/main/resources/main/main-view.fxml b/client/app/src/main/resources/main/main-view.fxml index aa1402c..d545c5a 100644 --- a/client/app/src/main/resources/main/main-view.fxml +++ b/client/app/src/main/resources/main/main-view.fxml @@ -4,6 +4,7 @@ + @@ -19,15 +20,15 @@ - - - + @@ -48,9 +49,9 @@ - - - + zurück + heute + weiter diff --git a/client/app/src/main/resources/users/login.css b/client/app/src/main/resources/users/login.css index 2efd649..5f67d5f 100644 --- a/client/app/src/main/resources/users/login.css +++ b/client/app/src/main/resources/users/login.css @@ -34,4 +34,12 @@ Label{ -fx-max-height: 400px; -fx-wrap-text: true; -fx-font-size: 16px; +} + +.userField{ + -fx-background-color: white; +} + +.passField{ + -fx-background-color: white; } \ No newline at end of file diff --git a/client/app/src/main/resources/users/login.fxml b/client/app/src/main/resources/users/login.fxml index 1eddceb..899b45a 100644 --- a/client/app/src/main/resources/users/login.fxml +++ b/client/app/src/main/resources/users/login.fxml @@ -2,6 +2,8 @@ + + @@ -19,11 +21,11 @@ - +