commit fdf4cbecd568a643e5a0e1c0d09a4a36b84f0986 Author: Josh Larson Date: Fri Sep 9 16:30:59 2016 -0500 Initial Commit diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..8473db1 --- /dev/null +++ b/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..24e7d7e --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.settings/ +bin/ +log.txt diff --git a/.project b/.project new file mode 100644 index 0000000..f6121aa --- /dev/null +++ b/.project @@ -0,0 +1,23 @@ + + + Lightspeed + + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/cfg/lightspeed.cfg b/cfg/lightspeed.cfg new file mode 100644 index 0000000..9d476b2 --- /dev/null +++ b/cfg/lightspeed.cfg @@ -0,0 +1,4 @@ +# 09/09/2016 16:30:15 CDT +ENABLE-LOGGING=true +MAVEN=/usr/bin/mvn +PORT=44444 diff --git a/data/lightspeed.sql b/data/lightspeed.sql new file mode 100644 index 0000000..bac455f --- /dev/null +++ b/data/lightspeed.sql @@ -0,0 +1,31 @@ +CREATE TABLE IF NOT EXISTS servers ( + id TEXT PRIMARY KEY, + directory TEXT, + jvm_arguments TEXT +); + +CREATE TABLE IF NOT EXISTS builds ( + id INTEGER PRIMARY KEY, + time INTEGER, + server_id TEXT REFERENCES servers(id), + build_string TEXT, + test_string TEXT, + compile_time REAL, + offline INTEGER, + build_success INTEGER, + test_success INTEGER, + cancelled INTEGER, + test_total INTEGER, + test_failures INTEGER, + test_errors INTEGER, + test_skipped INTEGER, + jar TEXT +); + +CREATE TABLE IF NOT EXISTS deployments ( + id INTEGER PRIMARY KEY, + server_id TEXT REFERENCES servers(id), + build_id INTEGER REFERENCES builds(id), + start_time INTEGER, + end_time INTEGER +); diff --git a/data/releases/placeholder b/data/releases/placeholder new file mode 100644 index 0000000..e69de29 diff --git a/fxml/BuildDataPane.css b/fxml/BuildDataPane.css new file mode 100644 index 0000000..3e9698b --- /dev/null +++ b/fxml/BuildDataPane.css @@ -0,0 +1,40 @@ + +#idText { + -fx-font-weight: bold; +} + +.Text { + -fx-padding: 5 0 5 0; +} + +.table-view { + -fx-focus-color: transparent; + -fx-min-height: 50px; +} + +.column-header { + -fx-text-fill: white; + -fx-font-size: 10pt; + -fx-cell-size: 30px; +} + +.table-cell { + -fx-alignment: CENTER-LEFT; + -fx-font-size: 10pt; + -fx-fill: white; +} + +.table-row-cell { + -fx-cell-size: 30px; +} + +.table-row-cell:filled:selected { + -fx-background: -fx-control-inner-background ; + -fx-background-color: -fx-table-cell-border-color, -fx-background ; + -fx-background-insets: 0, 0 0 1 0 ; + -fx-table-cell-border-color: derive(-fx-color, 5%); +} + +.table-row-cell:odd:filled:selected { + -fx-background: -fx-control-inner-background-alt ; +} diff --git a/fxml/BuildDataPane.fxml b/fxml/BuildDataPane.fxml new file mode 100644 index 0000000..b03162b --- /dev/null +++ b/fxml/BuildDataPane.fxml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fxml/DeploymentDataPane.css b/fxml/DeploymentDataPane.css new file mode 100644 index 0000000..c5f3123 --- /dev/null +++ b/fxml/DeploymentDataPane.css @@ -0,0 +1,8 @@ + +#idText { + -fx-font-weight: bold; +} + +.Text { + -fx-padding: 5 0 5 0; +} diff --git a/fxml/DeploymentDataPane.fxml b/fxml/DeploymentDataPane.fxml new file mode 100644 index 0000000..0f544e7 --- /dev/null +++ b/fxml/DeploymentDataPane.fxml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fxml/PrimaryView.css b/fxml/PrimaryView.css new file mode 100644 index 0000000..55ebf6c --- /dev/null +++ b/fxml/PrimaryView.css @@ -0,0 +1,37 @@ +.text-field { + -fx-font-size: 10pt; +} + +.text-view { + -fx-font-size: 10pt; +} + +.table-view { + -fx-focus-color: transparent; +} + +.column-header { + -fx-text-fill: white; + -fx-font-size: 12pt; +} + +.table-cell { + -fx-alignment: CENTER-LEFT; + -fx-font-size: 12pt; + -fx-fill: white; +} + +.table-row-cell { + -fx-cell-size: 50px; +} + +.table-row-cell:filled:selected { + -fx-background: -fx-control-inner-background ; + -fx-background-color: -fx-table-cell-border-color, -fx-background ; + -fx-background-insets: 0, 0 0 1 0 ; + -fx-table-cell-border-color: derive(-fx-color, 5%); +} + +.table-row-cell:odd:filled:selected { + -fx-background: -fx-control-inner-background-alt ; +} diff --git a/fxml/PrimaryView.fxml b/fxml/PrimaryView.fxml new file mode 100644 index 0000000..3b1b3e9 --- /dev/null +++ b/fxml/PrimaryView.fxml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +