From d7779b364a3c2cd284af60366d908210fa260473 Mon Sep 17 00:00:00 2001 From: "michele.artini" Date: Thu, 23 Jun 2022 14:20:57 +0200 Subject: [PATCH] menu --- .../eu/dnetlib/is/main/MainController.java | 14 +++++ .../src/main/resources/static/index.html | 33 +---------- .../templates/fragments/mainParts.html | 56 +++++++++++++++++++ .../src/main/resources/templates/main.html | 14 +++++ .../resources/templates/vocabularies.html | 29 +++------- .../resources/templates/vocabularyEditor.html | 37 ++++-------- 6 files changed, 105 insertions(+), 78 deletions(-) create mode 100644 apps/dnet-is-application/src/main/java/eu/dnetlib/is/main/MainController.java create mode 100644 apps/dnet-is-application/src/main/resources/templates/fragments/mainParts.html create mode 100644 apps/dnet-is-application/src/main/resources/templates/main.html diff --git a/apps/dnet-is-application/src/main/java/eu/dnetlib/is/main/MainController.java b/apps/dnet-is-application/src/main/java/eu/dnetlib/is/main/MainController.java new file mode 100644 index 00000000..87448aef --- /dev/null +++ b/apps/dnet-is-application/src/main/java/eu/dnetlib/is/main/MainController.java @@ -0,0 +1,14 @@ +package eu.dnetlib.is.main; + +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; + +@Controller +public class MainController { + + @GetMapping("/main") + public void vocabularies(final ModelMap map) { + + } +} diff --git a/apps/dnet-is-application/src/main/resources/static/index.html b/apps/dnet-is-application/src/main/resources/static/index.html index 69d666fe..3a6c20c5 100644 --- a/apps/dnet-is-application/src/main/resources/static/index.html +++ b/apps/dnet-is-application/src/main/resources/static/index.html @@ -2,37 +2,8 @@ - Information Service - - + OpenAIRE IS Tools + - - - - -
-
-
-

Information Service

-
- - -
-
-
- - - - - - \ No newline at end of file diff --git a/apps/dnet-is-application/src/main/resources/templates/fragments/mainParts.html b/apps/dnet-is-application/src/main/resources/templates/fragments/mainParts.html new file mode 100644 index 00000000..b2d81062 --- /dev/null +++ b/apps/dnet-is-application/src/main/resources/templates/fragments/mainParts.html @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + +

+ +
+ + + + + + + + + + + \ No newline at end of file diff --git a/apps/dnet-is-application/src/main/resources/templates/main.html b/apps/dnet-is-application/src/main/resources/templates/main.html new file mode 100644 index 00000000..7ab95f32 --- /dev/null +++ b/apps/dnet-is-application/src/main/resources/templates/main.html @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/apps/dnet-is-application/src/main/resources/templates/vocabularies.html b/apps/dnet-is-application/src/main/resources/templates/vocabularies.html index f727cbc1..4bf5b99d 100644 --- a/apps/dnet-is-application/src/main/resources/templates/vocabularies.html +++ b/apps/dnet-is-application/src/main/resources/templates/vocabularies.html @@ -1,30 +1,18 @@ - - Information Service - Vocabularies - - - - - + + + +
-

Information Service - Vocabularies

-
+

- create a new vocabulary +

@@ -97,10 +85,7 @@ - - - - + \ No newline at end of file diff --git a/apps/dnet-is-application/src/main/resources/templates/vocabularyEditor.html b/apps/dnet-is-application/src/main/resources/templates/vocabularyEditor.html index 1487e66c..7baa71ce 100644 --- a/apps/dnet-is-application/src/main/resources/templates/vocabularyEditor.html +++ b/apps/dnet-is-application/src/main/resources/templates/vocabularyEditor.html @@ -1,21 +1,8 @@ - - Information Service - Vocabulary - - - - - - + + - - - + \ No newline at end of file