Skip to content

Commit 665defb

Browse files
author
Robin Duda
committed
upgrade vertx + poi (support J9/J10) + change theme.
1 parent e256550 commit 665defb

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<groupId>com.codingchili</groupId>
1212
<artifactId>excelastic</artifactId>
13-
<version>1.3.4</version>
13+
<version>1.3.5</version>
1414
<build>
1515
<plugins>
1616
<plugin>
@@ -57,25 +57,25 @@
5757
<dependency>
5858
<groupId>io.vertx</groupId>
5959
<artifactId>vertx-core</artifactId>
60-
<version>3.5.4</version>
60+
<version>3.6.3</version>
6161
</dependency>
6262

6363
<dependency>
6464
<groupId>io.vertx</groupId>
6565
<artifactId>vertx-unit</artifactId>
66-
<version>3.5.4</version>
66+
<version>3.6.3</version>
6767
</dependency>
6868

6969
<dependency>
7070
<groupId>io.vertx</groupId>
7171
<artifactId>vertx-web</artifactId>
72-
<version>3.5.4</version>
72+
<version>3.6.3</version>
7373
</dependency>
7474

7575
<dependency>
7676
<groupId>io.vertx</groupId>
7777
<artifactId>vertx-web-templ-jade</artifactId>
78-
<version>3.5.4</version>
78+
<version>3.6.3</version>
7979
</dependency>
8080

8181
<dependency>
@@ -87,13 +87,13 @@
8787
<dependency>
8888
<groupId>org.apache.poi</groupId>
8989
<artifactId>poi</artifactId>
90-
<version>3.17</version>
90+
<version>4.0.1</version>
9191
</dependency>
9292

9393
<dependency>
9494
<groupId>org.apache.poi</groupId>
9595
<artifactId>poi-ooxml</artifactId>
96-
<version>3.17</version>
96+
<version>4.0.1</version>
9797
</dependency>
9898

9999
</dependencies>

src/main/java/com/codingchili/ApplicationLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222
public class ApplicationLauncher {
2323
private final ApplicationLogger logger = new ApplicationLogger(getClass());
24-
public static String VERSION = "1.3.4";
24+
public static String VERSION = "1.3.5";
2525
private Vertx vertx;
2626

2727
public static void main(String[] args) {

src/main/java/com/codingchili/Controller/Website.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import io.vertx.core.json.JsonObject;
1111
import io.vertx.ext.web.*;
1212
import io.vertx.ext.web.handler.*;
13-
import io.vertx.ext.web.templ.JadeTemplateEngine;
13+
import io.vertx.ext.web.templ.jade.JadeTemplateEngine;
1414

1515
import java.io.FileNotFoundException;
1616
import java.util.Iterator;
@@ -68,7 +68,7 @@ public void start(Future<Void> start) {
6868
context.next();
6969
});
7070

71-
router.route("/*").handler(TemplateHandler.create(JadeTemplateEngine.create()));
71+
router.route("/*").handler(TemplateHandler.create(JadeTemplateEngine.create(vertx)));
7272
startWebsite(start, router);
7373
}
7474

src/main/resources/templates/index.jade

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ html(lang='en')
1212
span.badge.badge-pill.badge-primary(style="margin-top:-22px;")
1313
| TLS ENABLED
1414
else
15-
p.text-danger Not connected, #[a(href=".") refresh?]
15+
p Not connected, #[a(href=".") refresh?]
1616
div.col-xs-10.col-xs-offset-1.col-lg-4.col-lg-offset-4
17-
.panel.panel-info
17+
.panel.panel-primary
1818
.panel-heading#panelheader Supported file types: #{context.supportedFiles}!
1919
.panel-body
2020
div#progress
@@ -42,13 +42,13 @@ html(lang='en')
4242
label.col-lg-2.control-label(for='clear')
4343
.col-xs-12
4444
.btn-group(data-toggle='buttons', style='display: flex; justify-content: space-evenly;')
45-
label.btn.btn-info.active
45+
label.btn.btn-primary.active
4646
input(type='radio', value='add', name='options', checked='')
4747
| Add values
48-
label.btn.btn-info
48+
label.btn.btn-primary
4949
input(type='radio', value='clear', name='options')
5050
| Clear existing
51-
label.btn.btn-block.btn-info.btn-file
51+
label.btn.btn-block.btn-primary.btn-file
5252
| UPLOAD
5353
input#file(type='file', name='file', style='display: none;')
5454
include scripts

src/main/resources/webroot/css/style.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ span.glyphicon {
4141
}
4242

4343
body {
44-
background-image: linear-gradient(to right, #fff, #9954bb);
44+
background-image: linear-gradient(to right, #ff7b7b, #7a0098);
4545
height: 100%;
4646
margin: 0;
4747
}
@@ -51,19 +51,19 @@ html {
5151
}
5252

5353
a:link {
54-
color: #15569f;
54+
color: #00004a;
5555
}
5656

5757
a:visited {
58-
color: #15569f;
58+
color: #00004a;
5959
}
6060

6161
a:hover {
62-
color: #9954bb;
62+
color: #00bbab;
6363
text-decoration: none;
6464
}
6565

6666
a:active {
67-
color: #9954bb;
67+
color: #004236;
6868
text-decoration: none;
6969
}

0 commit comments

Comments
 (0)