diff --git a/src/main/java/dev/araozu/eeg_java/certs/CertController.java b/src/main/java/dev/araozu/eeg_java/certs/CertController.java new file mode 100644 index 0000000..439a153 --- /dev/null +++ b/src/main/java/dev/araozu/eeg_java/certs/CertController.java @@ -0,0 +1,16 @@ +package dev.araozu.eeg_java.certs; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.ui.Model; + + +@Controller +@RequestMapping(path = "/certs") +public class CertController { + @GetMapping("") + public String index(Model model) { + return "certs"; + } +} diff --git a/src/main/resources/templates/certs.html b/src/main/resources/templates/certs.html new file mode 100644 index 0000000..9b67242 --- /dev/null +++ b/src/main/resources/templates/certs.html @@ -0,0 +1,77 @@ + + + + + + +
+ +
+ +
+ +
+ +
+
+
+ +
+
+
+
+
+ + + + + + + + + +
+
+ +

+ Error: {error()} +

+ +
+
+
+ +
new register
+ +
registers
+
+
+
+ + + \ No newline at end of file diff --git a/src/main/resources/templates/fragments/head.html b/src/main/resources/templates/fragments/head.html new file mode 100644 index 0000000..d47b3de --- /dev/null +++ b/src/main/resources/templates/fragments/head.html @@ -0,0 +1,18 @@ + + + + + EEGSAC - Java + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/fragments/navigation_rail.html b/src/main/resources/templates/fragments/navigation_rail.html new file mode 100644 index 0000000..03ce07c --- /dev/null +++ b/src/main/resources/templates/fragments/navigation_rail.html @@ -0,0 +1,59 @@ +
+
+ +
+ +
+ + Inicio + +
+ + +
+ +
+ + Certs + +
+ + +
+ +
+ + Accesos + +
+ + +
+ +
+ + Escaneos + +
+ + +
+ +
+ + Reportes + +
+ +
+
\ No newline at end of file diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index d3e61bb..832370d 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,88 +1,13 @@ - - - - - EEGSAC - Java - - - - - - - - - - - - +
-
- -
+