initial commit
This commit is contained in:
Generated
+10
@@ -26,5 +26,15 @@
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="bintray" />
|
||||
<option name="url" value="https://jcenter.bintray.com" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jcenter" />
|
||||
<option name="name" value="jcenter" />
|
||||
<option name="url" value="https://jcenter.bintray.com" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
||||
@@ -1,36 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module version="4">
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||
<output url="file://$MODULE_DIR$/target/classes" />
|
||||
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="Maven: org.zkoss.zk:zkbind:9.5.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.javassist:javassist:3.18.2-GA" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.zkoss.zk:zul:9.5.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.zkoss.zk:zk:9.5.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.zkoss.common:zweb:9.5.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.zkoss.common:zcommon:9.5.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.zkoss.common:zel:9.5.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache-extras.beanshell:bsh:2.0b6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.30" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.14" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.zkoss.zk:zkwebfragment:9.5.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.zkoss.zk:zkplus:9.5.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.zkoss.zk:zhtml:9.5.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.zkoss:zsoup:1.8.2.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-io:commons-io:2.6" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: javax.servlet:javax.servlet-api:3.1.0" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: mysql:mysql-connector-java:8.0.17" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: com.google.protobuf:protobuf-java:3.6.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.zkoss.theme:breeze:9.5.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.zkoss.theme:atlantic:9.5.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.zkoss.theme:sapphire:9.5.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.zkoss.theme:silvertail:9.5.0.1" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -31,6 +31,11 @@
|
||||
<name>ZK Evaluation Repository</name>
|
||||
<url>https://mavensync.zkoss.org/eval</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>jcenter</id>
|
||||
<name>jcenter</name>
|
||||
<url>https://jcenter.bintray.com</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
@@ -101,6 +106,11 @@
|
||||
<artifactId>silvertail</artifactId>
|
||||
<version>${zk.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>info.movito</groupId>
|
||||
<artifactId>themoviedbapi</artifactId>
|
||||
<version>1.10</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<finalName>${project.artifactId}</finalName>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package at.windesign.application.serie;
|
||||
|
||||
import org.zkoss.image.AImage;
|
||||
import org.zkoss.image.Images;
|
||||
import org.zkoss.zk.ui.Component;
|
||||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zk.ui.event.EventListener;
|
||||
@@ -13,15 +12,16 @@ import org.zkoss.zul.Checkbox;
|
||||
import org.zkoss.zul.Label;
|
||||
import org.zkoss.zul.Window;
|
||||
|
||||
import java.awt.*;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.net.URL;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Statement;
|
||||
import java.util.SortedMap;
|
||||
import java.util.TreeMap;
|
||||
|
||||
import info.movito.themoviedbapi.TmdbApi;
|
||||
import info.movito.themoviedbapi.TmdbMovies;
|
||||
import info.movito.themoviedbapi.model.MovieDb;
|
||||
|
||||
public class serieDetailsForwardComposer extends GenericForwardComposer<Component>
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -69,7 +69,7 @@ public class serieDetailsForwardComposer extends GenericForwardComposer<Componen
|
||||
|
||||
private serieData m_serie;
|
||||
private Listitem m_item;
|
||||
private Listitem m_list;
|
||||
private Listitem m_list;
|
||||
|
||||
protected TreeMap<String, Radiogroup> radioGroups = new TreeMap<>();
|
||||
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
package at.windesign.application.serie;
|
||||
|
||||
import info.movito.themoviedbapi.TmdbApi;
|
||||
import info.movito.themoviedbapi.TmdbTV;
|
||||
import info.movito.themoviedbapi.model.tv.TvSeason;
|
||||
import info.movito.themoviedbapi.model.tv.TvSeries;
|
||||
import org.zkoss.zk.ui.Component;
|
||||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zk.ui.select.SelectorComposer;
|
||||
@@ -10,6 +14,8 @@ import org.zkoss.zul.*;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
//a33271b9e54cdcb9a80680eaf5522f1b
|
||||
|
||||
public class serieDetailsSelectorComposer extends SelectorComposer<Component>
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -58,6 +64,14 @@ public class serieDetailsSelectorComposer extends SelectorComposer<Component>
|
||||
public void update()
|
||||
{
|
||||
serieData serie = (serieData) detailsSerie.getAttribute("serie");
|
||||
/*
|
||||
TmdbApi tmdbAPI = new TmdbApi("a33271b9e54cdcb9a80680eaf5522f1b");
|
||||
TmdbTV tmdbTV = tmdbAPI.getTvSeries();
|
||||
TvSeries series = tmdbTV.getSeries(60948, "de");
|
||||
|
||||
TvSeason season = tmdbAPI.getTvSeasons().getSeason(60948, 2, "de");
|
||||
*/
|
||||
|
||||
detailsSerie.onClose();
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
#Generated by Maven
|
||||
#Mon Nov 02 11:43:04 CET 2020
|
||||
#Tue Nov 24 15:50:38 CET 2020
|
||||
groupId=at.windesign.application
|
||||
artifactId=multimedia
|
||||
version=1.0-SNAPSHOT
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
at\windesign\application\serie\seasonData.class
|
||||
at\windesign\application\serie\serieRenderer.class
|
||||
at\windesign\application\serie\serieData.class
|
||||
at\windesign\application\serie\serieDetailsForwardComposer$1.class
|
||||
at\windesign\application\serie\serieDetailsForwardComposer.class
|
||||
at\windesign\application\serie\serieDetailsSelectorComposer$1.class
|
||||
at\windesign\application\serie\serieDataSource.class
|
||||
at\windesign\application\serie\serieListForwardComposer.class
|
||||
at\windesign\application\serie\serieDetailsSelectorComposer.class
|
||||
at\windesign\application\testing\testForwardComposer.class
|
||||
at\windesign\application\serie\serieListSelectorComposer.class
|
||||
at\windesign\application\serie\episodeData.class
|
||||
at\windesign\application\main\indexForwardComposer.class
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -9,5 +9,9 @@
|
||||
<value>multimedia</value>
|
||||
</preference>
|
||||
-->
|
||||
|
||||
|
||||
<library-property>
|
||||
<name>org.zkoss.theme.preferred</name>
|
||||
<value>breeze_c</value> <!-- no whitespace in theme names -->
|
||||
</library-property>
|
||||
</zk>
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
<div>
|
||||
</div>
|
||||
@@ -1,13 +0,0 @@
|
||||
<div vflex="true"
|
||||
apply="at.windesign.application.seriesListController"
|
||||
>
|
||||
<listbox id="seriesList"
|
||||
multiple="true"
|
||||
autopaging="true"
|
||||
vflex="true">
|
||||
<listhead>
|
||||
</listhead>
|
||||
<!-- https://stackoverflow.com/questions/28629458/display-image-from-db-on-zk-zul-listbox-->
|
||||
<!-- https://www.zkoss.org/zksandbox/#u6-->
|
||||
</listbox>
|
||||
</div>
|
||||
+31
-13
@@ -1,15 +1,33 @@
|
||||
<zk>
|
||||
<borderlayout hflex="1"
|
||||
vflex="1">
|
||||
<north height="100px"
|
||||
border="none">
|
||||
<label style="font-size:50px">North for header</label>
|
||||
</north>
|
||||
<center id="win"
|
||||
border="none"
|
||||
apply="org.zkoss.bind.BindComposer"
|
||||
vflex="true">
|
||||
<include src="/serie/centerSerie.zul"/>
|
||||
</center>
|
||||
</borderlayout>
|
||||
<window id="mainWindow"
|
||||
width="100%"
|
||||
height="100%"
|
||||
border="none"
|
||||
sclass="outerwin"
|
||||
apply="at.windesign.application.main.indexForwardComposer, org.zkoss.bind.BindComposer"
|
||||
onClientInfo="onClientInfo(event)"
|
||||
>
|
||||
<tabbox id="tb"
|
||||
height="100%"
|
||||
orient="left"
|
||||
>
|
||||
<tabs id="tabs"
|
||||
width="120px"
|
||||
>
|
||||
<tab id="tabSeries" label="TV Show"/>
|
||||
<tab id="tabMovies" label="Movies"/>
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<tabpanel>
|
||||
<include src="/serie/centerSerie.zul"/>
|
||||
</tabpanel>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
<zscript>
|
||||
void onClientInfo(ClientInfoEvent evt) {
|
||||
<![CDATA[desktop.setAttribute("desktopWidth",evt.desktopWidth);]]>
|
||||
<![CDATA[desktop.setAttribute("desktopHeight",evt.desktopHeight);]]>
|
||||
}
|
||||
</zscript>
|
||||
</window>
|
||||
</zk>
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
<div vflex="true"
|
||||
<div id="centerSeries"
|
||||
vflex="true"
|
||||
apply="at.windesign.application.serie.serieListForwardComposer, at.windesign.application.serie.serieListSelectorComposer"
|
||||
>
|
||||
<listbox id="seriesList"
|
||||
multiple="true"
|
||||
autopaging="true"
|
||||
vflex="true">
|
||||
<listhead>
|
||||
<listhead sizable="true"
|
||||
>
|
||||
</listhead>
|
||||
<!-- https://stackoverflow.com/questions/28629458/display-image-from-db-on-zk-zul-listbox-->
|
||||
<!-- https://www.zkoss.org/zksandbox/#u6-->
|
||||
<!-- https://stackoverflow.com/questions/28629458/display-image-from-db-on-zk-zul-listbox-->
|
||||
<!-- https://www.zkoss.org/zksandbox/#u6-->
|
||||
</listbox>
|
||||
</div>
|
||||
|
||||
@@ -1,12 +1,60 @@
|
||||
<window id="resultWin"
|
||||
title="Order Result"
|
||||
<window id="detailsSerie"
|
||||
title=""
|
||||
contentStyle="overflow:auto"
|
||||
border="normal"
|
||||
width="800px"
|
||||
height="750px"
|
||||
apply="at.windesign.application.serie.serieDetailsForwardComposer, at.windesign.application.serie.serieDetailsSelectorComposer">
|
||||
<label id="title"/>
|
||||
<hbox width="100%" pack="center">
|
||||
<button id="closeButton" label="Close"/>
|
||||
apply="at.windesign.application.serie.serieDetailsForwardComposer, at.windesign.application.serie.serieDetailsSelectorComposer"
|
||||
width="500px"
|
||||
height="500px"
|
||||
>
|
||||
|
||||
<style>
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: 4fr 4fr 1fr 1fr;
|
||||
grid-gap: 10px;
|
||||
justify-items: center;
|
||||
}
|
||||
</style>
|
||||
|
||||
<groupbox id="overview"
|
||||
>
|
||||
<caption>Overview</caption>
|
||||
<label id="overviewLabel"
|
||||
value=""/>
|
||||
</groupbox>
|
||||
|
||||
<groupbox id="settings"
|
||||
>
|
||||
<caption>Settings</caption>
|
||||
|
||||
<nodom>
|
||||
<div sclass="grid"
|
||||
width="100%">
|
||||
<label value="Download Link"/>
|
||||
<label value="Local Path"/>
|
||||
<label value="Resolution"/>
|
||||
<label value="Cliffhanger"/>
|
||||
<textbox id="downloadLink"
|
||||
width="100%"
|
||||
tabindex="1"/>
|
||||
<textbox id="localPath"
|
||||
width="100%"
|
||||
tabindex="2"/>
|
||||
<combobox id="resolution"
|
||||
width="100%"
|
||||
tabindex="3"/>
|
||||
<checkbox id="cliffhanger"
|
||||
tabindex="4"/>
|
||||
</div>
|
||||
</nodom>
|
||||
</groupbox>
|
||||
|
||||
<hbox id="buttons"
|
||||
width="100%"
|
||||
pack="center">
|
||||
<button id="saveButton" label="Save"/>
|
||||
<button id="cancelButton" label="Cancel"/>
|
||||
<button id="updateButton" label="Update"/>
|
||||
<button id="deleteButton" label="Delete"/>
|
||||
</hbox>
|
||||
</window>
|
||||
<!-- contentStyle="background-image:url('http://www.freeimageslive.com/galleries/space/earth/pics/a08_h_15_2561.gif');background-repeat: no-repeat;-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;"-->
|
||||
</window>
|
||||
Reference in New Issue
Block a user