|
@@ -1,180 +0,0 @@
|
|
|
-<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-
|
|
|
-<!--
|
|
|
- Copyright (c) 2015, 2019, Gluon and/or its affiliates.
|
|
|
- All rights reserved. Use is subject to license terms.
|
|
|
-
|
|
|
- This file is available and licensed under the following license:
|
|
|
-
|
|
|
- Redistribution and use in source and binary forms, with or without
|
|
|
- modification, are permitted provided that the following conditions
|
|
|
- are met:
|
|
|
-
|
|
|
- - Redistributions of source code must retain the above copyright
|
|
|
- notice, this list of conditions and the following disclaimer.
|
|
|
- - Redistributions in binary form must reproduce the above copyright
|
|
|
- notice, this list of conditions and the following disclaimer in
|
|
|
- the documentation and/or other materials provided with the distribution.
|
|
|
- - Neither the name of Oracle Corporation nor the names of its
|
|
|
- contributors may be used to endorse or promote products derived
|
|
|
- from this software without specific prior written permission.
|
|
|
-
|
|
|
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
--->
|
|
|
-
|
|
|
-<?import java.lang.String?>
|
|
|
-<?import javafx.geometry.Insets?>
|
|
|
-<?import javafx.scene.control.Label?>
|
|
|
-<?import javafx.scene.control.Menu?>
|
|
|
-<?import javafx.scene.control.MenuBar?>
|
|
|
-<?import javafx.scene.control.MenuItem?>
|
|
|
-<?import javafx.scene.control.ScrollPane?>
|
|
|
-<?import javafx.scene.control.SplitPane?>
|
|
|
-<?import javafx.scene.control.TextField?>
|
|
|
-<?import javafx.scene.layout.AnchorPane?>
|
|
|
-<?import javafx.scene.layout.FlowPane?>
|
|
|
-<?import javafx.scene.layout.HBox?>
|
|
|
-<?import javafx.scene.layout.Pane?>
|
|
|
-<?import javafx.scene.layout.VBox?>
|
|
|
-<?import javafx.scene.paint.Color?>
|
|
|
-<?import javafx.scene.text.Font?>
|
|
|
-<?import javafx.scene.text.TextFlow?>
|
|
|
-
|
|
|
-<VBox prefHeight="600.0" prefWidth="900.0" style="-fx-background-color: #121212;" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.moviesdb.BrowserController">
|
|
|
- <children>
|
|
|
- <AnchorPane prefHeight="25.0" prefWidth="900.0">
|
|
|
- <children>
|
|
|
- <MenuBar fx:id="menuPane" prefHeight="25.0" prefWidth="827.0" style="-fx-background-color: #121212; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="73.0">
|
|
|
- <menus>
|
|
|
- <Menu mnemonicParsing="false" text="File">
|
|
|
- <items>
|
|
|
- <MenuItem mnemonicParsing="false" text="Close" />
|
|
|
- </items>
|
|
|
- </Menu>
|
|
|
- <Menu mnemonicParsing="false" text="Edit">
|
|
|
- <items>
|
|
|
- <MenuItem mnemonicParsing="false" text="Delete" />
|
|
|
- </items>
|
|
|
- </Menu>
|
|
|
- <Menu mnemonicParsing="false" text="Help">
|
|
|
- <items>
|
|
|
- <MenuItem mnemonicParsing="false" text="About" />
|
|
|
- </items>
|
|
|
- </Menu>
|
|
|
- </menus>
|
|
|
- </MenuBar>
|
|
|
- <Label fx:id="closeButton" onMouseClicked="#closeStage" layoutX="876.0" layoutY="4.0" prefHeight="16.0" prefWidth="16.0" AnchorPane.rightAnchor="8.0" AnchorPane.topAnchor="4.0" />
|
|
|
- <Label fx:id="maximizeButton" onMouseClicked="#maximizeStageChange" layoutX="854.0" layoutY="4.0" prefHeight="16.0" prefWidth="16.0" AnchorPane.rightAnchor="30.0" AnchorPane.topAnchor="4.0" />
|
|
|
- <Label fx:id="minimizeButton" onMouseClicked="#minimizeStage" layoutX="832.0" layoutY="4.0" prefHeight="16.0" prefWidth="16.0" AnchorPane.rightAnchor="52.0" AnchorPane.topAnchor="4.0" />
|
|
|
- </children>
|
|
|
- </AnchorPane>
|
|
|
- <SplitPane dividerPositions="0.3392857142857143, 0.9955357142857143" focusTraversable="true" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="-1.0" prefWidth="-1.0" style="-fx-background-color: #121212; -fx-border-color: #121212;" stylesheets="@style.css" VBox.vgrow="ALWAYS">
|
|
|
- <items>
|
|
|
- <AnchorPane fx:id="filterPane" maxWidth="0.0" minWidth="0.0" prefHeight="550.0" prefWidth="120.0" style="-fx-background-color: #212121;" SplitPane.resizableWithParent="false">
|
|
|
- <children>
|
|
|
- <Label alignment="CENTER" layoutX="14.0" layoutY="14.0" minWidth="60.0" prefWidth="-1.0" style=" " text="Filter" textAlignment="CENTER" wrapText="false">
|
|
|
- <font>
|
|
|
- <Font size="18.0" fx:id="x1" />
|
|
|
- </font>
|
|
|
- <textFill>
|
|
|
- <Color red="0.624" green="0.624" blue="0.624" fx:id="x2" />
|
|
|
- </textFill>
|
|
|
- </Label>
|
|
|
- <Label layoutX="24.0" layoutY="50.0" text="Name" textFill="#9f9f9f">
|
|
|
- <font>
|
|
|
- <Font size="14.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <TextField layoutX="76.0" layoutY="48.0" prefHeight="25.0" prefWidth="205.0" style="-fx-text-fill: #9f9f9f; -fx-background-color: #212121; -fx-border-color: #121212;" />
|
|
|
- </children>
|
|
|
- </AnchorPane>
|
|
|
- <AnchorPane id="Content" fx:id="browserPane" minHeight="-1.0" minWidth="-1.0" prefHeight="551.0" prefWidth="566.0" style="-fx-background-color: #212121;">
|
|
|
- <children>
|
|
|
- <Label alignment="CENTER" layoutX="11.0" layoutY="14.0" prefWidth="80.0" style=" " text="Browser" textAlignment="CENTER" wrapText="false" AnchorPane.topAnchor="14.0">
|
|
|
- <font>
|
|
|
- <Font size="18.0" fx:id="x11" />
|
|
|
- </font>
|
|
|
- <textFill>
|
|
|
- <Color red="0.624" green="0.624" blue="0.624" fx:id="x21" />
|
|
|
- </textFill>
|
|
|
- </Label>
|
|
|
- <ScrollPane fx:id="scrollPane" fitToHeight="true" fitToWidth="true" hbarPolicy="NEVER" layoutX="14.0" layoutY="48.0" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="400.0" prefHeight="470.0" prefWidth="858.0" style="-fx-background-color: transparent; -fx-border-color: #212121;" vbarPolicy="NEVER" AnchorPane.bottomAnchor="31.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="8.0" AnchorPane.topAnchor="48.0">
|
|
|
- <styleClass>
|
|
|
- <String fx:value="split-pane" />
|
|
|
- <String fx:value="split-pane-divider" />
|
|
|
- </styleClass>
|
|
|
- <content>
|
|
|
- <AnchorPane AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
- <children>
|
|
|
- <FlowPane fx:id="moviesGrid" layoutY="-26.0" prefHeight="469.0" prefWidth="854.0" style="-fx-background-color: #212121;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
|
- </children>
|
|
|
- </AnchorPane>
|
|
|
- </content>
|
|
|
- </ScrollPane>
|
|
|
- <Label alignment="CENTER" layoutX="11.0" layoutY="520.0" onMouseClicked="#openFilter" style=" " text="Advanced search?" textAlignment="CENTER" wrapText="false" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="11.0">
|
|
|
- <font>
|
|
|
- <Font size="16.0" fx:id="x111" />
|
|
|
- </font>
|
|
|
- <textFill>
|
|
|
- <Color red="0.624" green="0.624" blue="0.624" fx:id="x211" />
|
|
|
- </textFill>
|
|
|
- </Label>
|
|
|
- <TextField layoutX="514.0" layoutY="14.0" prefHeight="27.0" prefWidth="302.0" style="-fx-background-color: #212121; -fx-border-color: #121212; -fx-text-fill: #9f9f9f;" AnchorPane.leftAnchor="514.0" AnchorPane.rightAnchor="64.0" AnchorPane.topAnchor="14.0" />
|
|
|
- <Label layoutX="822.0" layoutY="19.0" text="Button" textFill="#9f9f9f" AnchorPane.rightAnchor="22.0" AnchorPane.topAnchor="19.0" />
|
|
|
- </children>
|
|
|
- </AnchorPane>
|
|
|
- <AnchorPane fx:id="detailsPane" maxWidth="0.0" minWidth="0.0" prefHeight="550.0" prefWidth="318.0" style="-fx-background-color: #212121;" SplitPane.resizableWithParent="false">
|
|
|
- <children>
|
|
|
- <Label alignment="CENTER" font="$x1" layoutX="14.0" layoutY="14.0" style=" " text="Details" textAlignment="CENTER" textFill="#9f9f9f" wrapText="false" />
|
|
|
- <AnchorPane fx:id="detailsPicPane" layoutX="14.0" layoutY="41.0" prefHeight="222.0" AnchorPane.bottomAnchor="287.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="9.0" AnchorPane.topAnchor="41.0" />
|
|
|
- <Label fx:id="detailsNameLabel" layoutX="14.0" layoutY="265.0" text="Info" textFill="#9f9f9f">
|
|
|
- <font>
|
|
|
- <Font size="16.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <TextFlow fx:id="detailsContent" layoutX="14.0" layoutY="287.0" prefHeight="255.0" prefWidth="277.0" />
|
|
|
- <Label fx:id="deleteMovieButton" layoutX="-14.0" layoutY="528.0" text="Delete" textFill="#9f9f9f" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="14.0">
|
|
|
- <font>
|
|
|
- <Font size="16.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
- <Label fx:id="editMovieButton" layoutX="212.0" layoutY="534.0" text="Edit" textFill="#9f9f9f" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="71.0">
|
|
|
- <font>
|
|
|
- <Font size="16.0" />
|
|
|
- </font>
|
|
|
- </Label>
|
|
|
-
|
|
|
-
|
|
|
- </children>
|
|
|
- </AnchorPane>
|
|
|
- </items>
|
|
|
- </SplitPane>
|
|
|
- <HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0" VBox.vgrow="NEVER">
|
|
|
- <children>
|
|
|
- <Label fx:id="userLabel" maxHeight="1.7976931348623157E308" maxWidth="-1.0" style="-fx-background-color: #121212;" text="Logged in as Guest" HBox.hgrow="ALWAYS">
|
|
|
- <font>
|
|
|
- <Font size="11.0" fx:id="x3" />
|
|
|
- </font>
|
|
|
- <textFill>
|
|
|
- <Color red="0.625" green="0.625" blue="0.625" fx:id="x4" />
|
|
|
- </textFill>
|
|
|
- </Label>
|
|
|
- <Pane prefHeight="-1.0" prefWidth="-1.0" style="-fx-background-color: #121212;" HBox.hgrow="ALWAYS" />
|
|
|
- <Label fx:id="logInButton" font="$x3" maxWidth="-1.0" onMouseClicked="#openLoginForm" style="-fx-background-color: #121212;" text="Log in" textFill="$x4" HBox.hgrow="NEVER" />
|
|
|
- </children>
|
|
|
- <padding>
|
|
|
- <Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
|
|
|
- </padding>
|
|
|
- </HBox>
|
|
|
- </children>
|
|
|
-</VBox>
|