From e3b248778c2e9ffd0ab716d79ba196c74c4a61b5 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Sat, 10 Nov 2018 21:43:52 +0400 Subject: [PATCH 1/3] add route --- src/main/java/ru/ulstu/configuration/MvcConfiguration.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/ru/ulstu/configuration/MvcConfiguration.java b/src/main/java/ru/ulstu/configuration/MvcConfiguration.java index 14e6337..8543847 100644 --- a/src/main/java/ru/ulstu/configuration/MvcConfiguration.java +++ b/src/main/java/ru/ulstu/configuration/MvcConfiguration.java @@ -12,6 +12,7 @@ public class MvcConfiguration extends WebMvcConfigurerAdapter { registry.addViewController("/{articlename:\\w+}"); //registry.addViewController("/admin/{articlename:\\w+}"); registry.addViewController("/papers/{articlename:\\w+}"); + registry.addViewController("/grants/{articlename:\\w+}"); registry.addRedirectViewController("/", "/index"); registry.addRedirectViewController("/default", "/index"); } From 4da039f9b0952b19c323308265d114b320624aae Mon Sep 17 00:00:00 2001 From: T-Midnight Date: Sat, 10 Nov 2018 21:55:09 +0400 Subject: [PATCH 2/3] Create dashboard for grants --- .../resources/templates/grants/dashboard.html | 152 ++++++++++++++++++ src/main/resources/templates/index.html | 2 +- 2 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/templates/grants/dashboard.html diff --git a/src/main/resources/templates/grants/dashboard.html b/src/main/resources/templates/grants/dashboard.html new file mode 100644 index 0000000..7db3ef4 --- /dev/null +++ b/src/main/resources/templates/grants/dashboard.html @@ -0,0 +1,152 @@ + + + + + + +
+ +
+
+
+
+

Dashboard

+
+
+
+
+
+
+ + + + +
+
+ Название гранта +

Краткое описание

+
+
+
+
+
+
+ + + + +
+
+ Название гранта +

Краткое описание

+
+
+
+
+
+
+ + + + +
+
+ Название гранта +

Краткое описание

+
+
+
+
+
+
+ + + + +
+
+ Название гранта +

Краткое описание

+
+
+
+
+
+
+ + + + +
+
+ Название гранта +

Краткое описание

+
+
+
+
+
+
+ + + + +
+
+ Название гранта +

Краткое описание

+
+
+
+
+
+
+ + + + +
+
+ Название гранта +

Краткое описание

+
+
+
+
+
+
+ + + + +
+
+ Название гранта +

Краткое описание

+
+
+
+
+
+
+ + + + +
+
+ Название гранта +

Краткое описание

+
+
+
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 155ec6a..0f83f3f 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -32,7 +32,7 @@
- +
From d13644d67dd2c2b158e9324cba168fef37694b65 Mon Sep 17 00:00:00 2001 From: T-Midnight Date: Mon, 19 Nov 2018 12:16:39 +0400 Subject: [PATCH 3/3] Update dashboard for grants --- .../resources/templates/grants/dashboard.html | 53 +++++++++++-------- 1 file changed, 32 insertions(+), 21 deletions(-) diff --git a/src/main/resources/templates/grants/dashboard.html b/src/main/resources/templates/grants/dashboard.html index 7db3ef4..3a1570b 100644 --- a/src/main/resources/templates/grants/dashboard.html +++ b/src/main/resources/templates/grants/dashboard.html @@ -19,70 +19,77 @@
- - - - + + + +
+
- Название гранта + Название гранта

Краткое описание

+

Статус: статус

+
- - - - + + + +
Название гранта

Краткое описание

+

Статус: статус

- - - - + + + +
Название гранта

Краткое описание

+

Статус: статус

- - - - + + + +
Название гранта

Краткое описание

+

Статус: статус

- - - - + + + +
Название гранта

Краткое описание

+

Статус: статус

@@ -97,6 +104,7 @@
Название гранта

Краткое описание

+

Статус: статус

@@ -111,6 +119,7 @@
Название гранта

Краткое описание

+

Статус: статус

@@ -125,6 +134,7 @@
Название гранта

Краткое описание

+

Статус: статус

@@ -139,6 +149,7 @@
Название гранта

Краткое описание

+

Статус: статус