feat: Implemented fetching and a lot of other stuff
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.ProgressIndicator?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.layout.BorderPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Region?>
|
||||
<?import javafx.scene.layout.StackPane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
|
||||
<BorderPane xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="cz.jzitnik.controllers.GradesController"
|
||||
style="-fx-background-color: linear-gradient(#0f1724, #071023);">
|
||||
|
||||
<!-- Header -->
|
||||
<top>
|
||||
<HBox spacing="15" alignment="CENTER_LEFT" style="-fx-background-color: rgba(255, 255, 255, 0.05); -fx-padding: 15 25;">
|
||||
<Button text="← Zpět" onAction="#onBackToDashboard" styleClass="flat, small" />
|
||||
<Label text="Známky" styleClass="title-2, text-light" />
|
||||
</HBox>
|
||||
</top>
|
||||
|
||||
<!-- Content -->
|
||||
<center>
|
||||
<StackPane>
|
||||
<ProgressIndicator fx:id="loadingIndicator" maxWidth="50" maxHeight="50" />
|
||||
|
||||
<ScrollPane fx:id="scrollPane" fitToWidth="true" style="-fx-background: transparent; -fx-background-color: transparent;" visible="false">
|
||||
<padding>
|
||||
<Insets top="20" right="30" bottom="30" left="30"/>
|
||||
</padding>
|
||||
<VBox fx:id="contentBox" spacing="15" alignment="TOP_CENTER" maxWidth="900" />
|
||||
</ScrollPane>
|
||||
</StackPane>
|
||||
</center>
|
||||
|
||||
</BorderPane>
|
||||
Reference in New Issue
Block a user