Compare commits
	
		
			3 Commits
		
	
	
		
			351bcd524d
			...
			ede28ae4a7
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| ede28ae4a7 | |||
| 4c94cadf11 | |||
| 898054bb63 | 
@@ -42,6 +42,7 @@ public class CreateEventController {
 | 
			
		||||
    public CreateEventController() {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    //Marco Kühn//
 | 
			
		||||
    @FXML
 | 
			
		||||
    public void initialize() {
 | 
			
		||||
        StringConverter<LocalTime> defaultConverter = new LocalTimeStringConverter(FormatStyle.SHORT, Locale.GERMANY);
 | 
			
		||||
@@ -52,7 +53,7 @@ public class CreateEventController {
 | 
			
		||||
        timeEnd.setConverter(defaultConverter);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    //Marc Beyer//
 | 
			
		||||
    @FXML
 | 
			
		||||
    protected void createBtnClick(ActionEvent actionEvent) {
 | 
			
		||||
        try {
 | 
			
		||||
@@ -84,11 +85,13 @@ public class CreateEventController {
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    //Marc Beyer//
 | 
			
		||||
    protected void sendHttpRequest(Event event) throws HttpRequestException {
 | 
			
		||||
        DataController dataController = new DataController();
 | 
			
		||||
        dataController.createEvent(event);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    //Marc Beyer//
 | 
			
		||||
    @FXML
 | 
			
		||||
    protected void abortBtnClick(ActionEvent event) {
 | 
			
		||||
        Stage stage = (Stage) ((Node) event.getSource()).getScene().getWindow();
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
//Marc Beyer//
 | 
			
		||||
package main;
 | 
			
		||||
 | 
			
		||||
import config.Config;
 | 
			
		||||
@@ -14,6 +15,7 @@ import java.io.IOException;
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import java.util.function.Consumer;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
public class MainApplication extends Application {
 | 
			
		||||
    @Override
 | 
			
		||||
    public void start(Stage stage) throws IOException {
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
/* Marco Kühn, Marc Beyer */
 | 
			
		||||
package main;
 | 
			
		||||
 | 
			
		||||
import config.Config;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
/* Marco Kühn */
 | 
			
		||||
package main;
 | 
			
		||||
 | 
			
		||||
import com.jfoenix.controls.*;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
//Alex Rechtin//
 | 
			
		||||
package users;
 | 
			
		||||
 | 
			
		||||
import helper.HttpRequestException;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
/* Marc Beyer */
 | 
			
		||||
package users;
 | 
			
		||||
 | 
			
		||||
import container.DataController;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
//Alex Rechtin//
 | 
			
		||||
package users;
 | 
			
		||||
 | 
			
		||||
import com.jfoenix.controls.*;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
/*Marco Kühn*/
 | 
			
		||||
GridPane{
 | 
			
		||||
    -fx-background-color: #3E415F;
 | 
			
		||||
    -fx-padding: 20px;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,7 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
 | 
			
		||||
<!-- Marco Kühn -->
 | 
			
		||||
 | 
			
		||||
<?import javafx.scene.control.*?>
 | 
			
		||||
<?import javafx.scene.layout.*?>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,7 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
 | 
			
		||||
<!-- Marco Kühn -->
 | 
			
		||||
 | 
			
		||||
<?import javafx.scene.control.*?>
 | 
			
		||||
<?import javafx.scene.layout.*?>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
/*Alex Rechtin, Marco Kühn*/
 | 
			
		||||
* {
 | 
			
		||||
   -fx-base-background-color: #2B2D42;
 | 
			
		||||
   -fx-base1-background-color: #525E74;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,7 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
 | 
			
		||||
<!-- Alex Rechtin, Marco Kühn -->
 | 
			
		||||
 | 
			
		||||
<?import javafx.geometry.*?>
 | 
			
		||||
<?import javafx.scene.control.*?>
 | 
			
		||||
<?import javafx.scene.image.*?>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
/* Marco Kühn */
 | 
			
		||||
GridPane{
 | 
			
		||||
    -fx-background-color: #3E415F;
 | 
			
		||||
    -fx-padding: 20px;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,5 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<!-- Marco Kühn -->
 | 
			
		||||
 | 
			
		||||
<?import javafx.scene.control.*?>
 | 
			
		||||
<?import javafx.scene.layout.*?>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
/*Alex Rechtin*/
 | 
			
		||||
* {
 | 
			
		||||
   -fx-base-background-color: #2B2D42;
 | 
			
		||||
   -fx-base1-background-color: #525E74;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,7 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
 | 
			
		||||
<!-- Alex Rechtin -->
 | 
			
		||||
 | 
			
		||||
<?import javafx.scene.control.*?>
 | 
			
		||||
<?import javafx.scene.layout.*?>
 | 
			
		||||
<?import javafx.geometry.Insets?>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
/* Marco Kühn*/
 | 
			
		||||
* {
 | 
			
		||||
   -fx-base-background-color: #2B2D42;
 | 
			
		||||
   -fx-base1-background-color: #525E74;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,7 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
 | 
			
		||||
<!-- Marco Kühn -->
 | 
			
		||||
 | 
			
		||||
<?import javafx.scene.control.*?>
 | 
			
		||||
<?import javafx.scene.layout.*?>
 | 
			
		||||
<?import com.jfoenix.controls.*?>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
//Marc Beyer//
 | 
			
		||||
package config;
 | 
			
		||||
 | 
			
		||||
public class Config {
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
//Marc Beyer//
 | 
			
		||||
package config;
 | 
			
		||||
 | 
			
		||||
import com.fasterxml.jackson.databind.ObjectMapper;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
//Marc Beyer//
 | 
			
		||||
package helper;
 | 
			
		||||
 | 
			
		||||
public class HttpRequestException extends Exception{
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,4 @@
 | 
			
		||||
//Marc Beyer//
 | 
			
		||||
package helper;
 | 
			
		||||
 | 
			
		||||
public class Tuple<X, Y> {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user