From c5e63ce1f4186b790e231f03beb2102b77ea839d Mon Sep 17 00:00:00 2001
From: Falucho <german.faller@pcunix71.fing.edu.uy>
Date: Tue, 25 Jun 2019 13:45:38 -0300
Subject: [PATCH] Mas Front End

---
 .../webapp/WEB-INF/templates/template.xhtml   |  4 ++++
 .../main/webapp/jsf/gestionNotificacion.xhtml | 21 ++++++++++++++++
 .../src/main/webapp/jsf/gestionSistema.xhtml  | 21 ++++++++++++++++
 backoffice/src/main/webapp/jsf/verHecho.xhtml | 24 +++++++++++++++++++
 4 files changed, 70 insertions(+)
 create mode 100644 backoffice/src/main/webapp/jsf/gestionNotificacion.xhtml
 create mode 100644 backoffice/src/main/webapp/jsf/gestionSistema.xhtml
 create mode 100644 backoffice/src/main/webapp/jsf/verHecho.xhtml

diff --git a/backoffice/src/main/webapp/WEB-INF/templates/template.xhtml b/backoffice/src/main/webapp/WEB-INF/templates/template.xhtml
index dd6bbe5..5a3f342 100644
--- a/backoffice/src/main/webapp/WEB-INF/templates/template.xhtml
+++ b/backoffice/src/main/webapp/WEB-INF/templates/template.xhtml
@@ -51,6 +51,10 @@
                             rendered="#{security.hasRole('Admin')}"/>
                 <p:menuitem value="Usuarios" action="gestionUsuarios.xhtml?faces-redirect=true"
                             rendered="#{security.hasRole('Admin')}"/>
+                <p:menuitem value="Notificaciones" action="gestionNotificacion.xhtml?faces-redirect=true"
+                            rendered="#{security.hasRole('Admin')}"/>
+                <p:menuitem value="Configuracion" action="gestionSistema.xhtml?faces-redirect=true"
+                            rendered="#{security.hasRole('Admin')}"/>
 
                 <p:menuitem value="Gestionar Hechos" action="gestionSubmitter.xhtml?faces-redirect=true"
                             rendered="#{security.hasRole('Submitter')}"/>
diff --git a/backoffice/src/main/webapp/jsf/gestionNotificacion.xhtml b/backoffice/src/main/webapp/jsf/gestionNotificacion.xhtml
new file mode 100644
index 0000000..b97d80b
--- /dev/null
+++ b/backoffice/src/main/webapp/jsf/gestionNotificacion.xhtml
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:p="http://primefaces.org/ui"
+      xmlns:h="http://xmlns.jcp.org/jsf/html"
+>
+<body>
+
+<ui:decorate template="/WEB-INF/templates/template.xhtml">
+    <ui:define name="contenido">
+        <h:form>
+            <p:outputPanel style="font-size: 30px;text-align: center">
+                <h:outputText value="Gestion de Notificacion"/>
+            </p:outputPanel>
+
+        </h:form>
+    </ui:define>
+</ui:decorate>
+</body>
+</html>
+
diff --git a/backoffice/src/main/webapp/jsf/gestionSistema.xhtml b/backoffice/src/main/webapp/jsf/gestionSistema.xhtml
new file mode 100644
index 0000000..b97d80b
--- /dev/null
+++ b/backoffice/src/main/webapp/jsf/gestionSistema.xhtml
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:p="http://primefaces.org/ui"
+      xmlns:h="http://xmlns.jcp.org/jsf/html"
+>
+<body>
+
+<ui:decorate template="/WEB-INF/templates/template.xhtml">
+    <ui:define name="contenido">
+        <h:form>
+            <p:outputPanel style="font-size: 30px;text-align: center">
+                <h:outputText value="Gestion de Notificacion"/>
+            </p:outputPanel>
+
+        </h:form>
+    </ui:define>
+</ui:decorate>
+</body>
+</html>
+
diff --git a/backoffice/src/main/webapp/jsf/verHecho.xhtml b/backoffice/src/main/webapp/jsf/verHecho.xhtml
new file mode 100644
index 0000000..271eb50
--- /dev/null
+++ b/backoffice/src/main/webapp/jsf/verHecho.xhtml
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:p="http://primefaces.org/ui"
+      xmlns:h="http://xmlns.jcp.org/jsf/html"
+>
+<body>
+
+<ui:decorate template="/WEB-INF/templates/template.xhtml">
+    <ui:define name="contenido">
+        <h:form>
+            <p:outputPanel style="font-size: 30px;text-align: center">
+                <h:outputText value="Ver Hecho"/>
+            </p:outputPanel>
+
+            aca iria toda la info del hecho, permite ver checker o asignar uno si es submitter, lista los resultados de los mecanismos
+            y permite verificarlo
+
+        </h:form>
+    </ui:define>
+</ui:decorate>
+</body>
+</html>
+
-- 
GitLab