Cambiados mensajes a tipo growl (superpuestos sobre la interfaz).
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
|
||||||
xmlns:p="http://primefaces.org/ui">
|
xmlns:p="http://primefaces.org/ui" xmlns:o="http://omnifaces.org/ui">
|
||||||
|
|
||||||
<ui:composition template="./header.xhtml">
|
<ui:composition template="./header.xhtml">
|
||||||
<ui:define name="content">
|
<ui:define name="content">
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
|
||||||
xmlns:p="http://primefaces.org/ui">
|
xmlns:p="http://primefaces.org/ui" xmlns:o="http://omnifaces.org/ui">
|
||||||
|
|
||||||
<h:head>
|
<h:head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
@@ -32,8 +32,7 @@
|
|||||||
<div id="top" class="top">
|
<div id="top" class="top">
|
||||||
<h:graphicImage library="images" name="logo-small.png" />
|
<h:graphicImage library="images" name="logo-small.png" />
|
||||||
</div>
|
</div>
|
||||||
<hr />
|
<div id="menuDiv" style="margin-bottom: 10px;">
|
||||||
<div id="menuDiv">
|
|
||||||
<p:ajaxStatus style="width:32px; height:32px; position:fixed; right:32px; bottom:32px">
|
<p:ajaxStatus style="width:32px; height:32px; position:fixed; right:32px; bottom:32px">
|
||||||
<f:facet name="start">
|
<f:facet name="start">
|
||||||
<i id="loginSpin" class="pi pi-spin pi-spinner" style="font-size: 3em"></i>
|
<i id="loginSpin" class="pi pi-spin pi-spinner" style="font-size: 3em"></i>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
|
||||||
xmlns:p="http://primefaces.org/ui">
|
xmlns:p="http://primefaces.org/ui" xmlns:o="http://omnifaces.org/ui">
|
||||||
<f:metadata>
|
<f:metadata>
|
||||||
<f:viewParam name="refresh" value="#{home.refresh}" />
|
<f:viewParam name="refresh" value="#{home.refresh}" />
|
||||||
</f:metadata>
|
</f:metadata>
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
<ui:composition template="./header.xhtml">
|
<ui:composition template="./header.xhtml">
|
||||||
<ui:define name="content">
|
<ui:define name="content">
|
||||||
<h:form>
|
<h:form>
|
||||||
<p:messages id="mesgs" showDetail="true" closable="true" autoupdate="true" />
|
<p:growl id="mesgs" showDetail="true" closable="true" autoupdate="true" />
|
||||||
<p:panel header="Pagina principal">
|
<p:panel header="Pagina principal">
|
||||||
<div class="ui-g ui-fluid">
|
<div class="ui-g ui-fluid">
|
||||||
<div class="ui-g-2 ui-md-2">
|
<div class="ui-g-2 ui-md-2">
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
|
||||||
xmlns:p="http://primefaces.org/ui">
|
xmlns:p="http://primefaces.org/ui" xmlns:o="http://omnifaces.org/ui">
|
||||||
|
|
||||||
<h:head>
|
<h:head>
|
||||||
<title>login</title>
|
<title>login</title>
|
||||||
|
|||||||
@@ -1,51 +0,0 @@
|
|||||||
<h:form>
|
|
||||||
<p:growl id="messages" />
|
|
||||||
|
|
||||||
<p:menubar>
|
|
||||||
<p:submenu label="File" icon="pi pi-file">
|
|
||||||
<p:submenu label="New" icon="pi pi-briefcase">
|
|
||||||
<p:menuitem value="Project" url="#" />
|
|
||||||
<p:menuitem value="Other" url="#" />
|
|
||||||
</p:submenu>
|
|
||||||
<p:menuitem value="Open" url="#" />
|
|
||||||
<p:separator />
|
|
||||||
<p:menuitem value="Quit" url="#" />
|
|
||||||
</p:submenu>
|
|
||||||
|
|
||||||
<p:submenu label="Edit" icon="pi pi-pencil">
|
|
||||||
<p:menuitem value="Undo" url="#" icon="pi pi-angle-double-left" />
|
|
||||||
<p:menuitem value="Redo" url="#" icon="pi pi-angle-double-right" />
|
|
||||||
</p:submenu>
|
|
||||||
|
|
||||||
<p:submenu label="Help" icon="pi pi-question">
|
|
||||||
<p:menuitem value="Contents" url="#" />
|
|
||||||
<p:submenu label="Search" icon="pi pi-search">
|
|
||||||
<p:submenu label="Text">
|
|
||||||
<p:menuitem value="Workspace" url="#" />
|
|
||||||
</p:submenu>
|
|
||||||
<p:menuitem value="File" url="#" />
|
|
||||||
</p:submenu>
|
|
||||||
</p:submenu>
|
|
||||||
|
|
||||||
<p:submenu label="Actions" icon="pi pi-cog">
|
|
||||||
<p:submenu label="Ajax" icon="pi pi-refresh">
|
|
||||||
<p:menuitem value="Save" action="#{menuView.save}" icon="pi pi-save"
|
|
||||||
update="messages" />
|
|
||||||
<p:menuitem value="Update" action="#{menuView.update}"
|
|
||||||
icon="pi pi-refresh" update="messages" />
|
|
||||||
</p:submenu>
|
|
||||||
<p:submenu label="Non-Ajax" icon="pi pi-clone">
|
|
||||||
<p:menuitem value="Delete" action="#{menuView.delete}"
|
|
||||||
icon="pi pi-times" update="messages" ajax="false" />
|
|
||||||
</p:submenu>
|
|
||||||
</p:submenu>
|
|
||||||
|
|
||||||
<p:menuitem value="Quit" url="http://www.primefaces.org"
|
|
||||||
icon="pi pi-times" />
|
|
||||||
|
|
||||||
<f:facet name="options">
|
|
||||||
<p:inputText style="margin:1px 10px 1px 1px;" placeholder="Search" />
|
|
||||||
<p:commandButton type="button" value="Logout" icon="pi pi-home" />
|
|
||||||
</f:facet>
|
|
||||||
</p:menubar>
|
|
||||||
</h:form>
|
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
<ui:composition template="../header.xhtml">
|
<ui:composition template="../header.xhtml">
|
||||||
<ui:define name="content">
|
<ui:define name="content">
|
||||||
<h:form id="frmChangeFD">
|
<h:form id="frmChangeFD">
|
||||||
<p:messages id="mesgs" showDetail="true" closable="true" autoupdate="true" />
|
<p:growl id="mesgs" showDetail="true" closable="true" autoupdate="true" />
|
||||||
<p:panel id="badProfile" rendered="#{not home.patient}">
|
<p:panel id="badProfile" rendered="#{not home.patient}">
|
||||||
<div class="ui-g-3 ui-md-3" />
|
<div class="ui-g-3 ui-md-3" />
|
||||||
<div class="ui-g-6 ui-md-6">
|
<div class="ui-g-6 ui-md-6">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<ui:composition template="../header.xhtml">
|
<ui:composition template="../header.xhtml">
|
||||||
<ui:define name="content">
|
<ui:define name="content">
|
||||||
<h:form id="frmChangePHCC">
|
<h:form id="frmChangePHCC">
|
||||||
<p:messages id="mesgs" showDetail="true" closable="true" autoupdate="true" />
|
<p:growl id="mesgs" showDetail="true" closable="true" autoupdate="true" />
|
||||||
<p:panel id="badProfile" rendered="#{not home.familyDoctor}">
|
<p:panel id="badProfile" rendered="#{not home.familyDoctor}">
|
||||||
<div class="ui-g-3 ui-md-3" />
|
<div class="ui-g-3 ui-md-3" />
|
||||||
<div class="ui-g-6 ui-md-6">
|
<div class="ui-g-6 ui-md-6">
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</h:outputScript>
|
</h:outputScript>
|
||||||
<p:messages id="mesgs" globalOnly="true" showDetail="true" closable="true" autoupdate="true" />
|
<p:growl id="mesgs" globalOnly="true" showDetail="true" closable="true" autoupdate="true" />
|
||||||
<p:panel id="tipoUsuario" header="Especifique el tipo de usuario que desea registrarse">
|
<p:panel id="tipoUsuario" header="Especifique el tipo de usuario que desea registrarse">
|
||||||
<div class="ui-g ui-fluid">
|
<div class="ui-g ui-fluid">
|
||||||
<div class="ui-g-2 ui-md-2">
|
<div class="ui-g-2 ui-md-2">
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</h:outputScript>
|
</h:outputScript>
|
||||||
<p:messages id="mesgs" showDetail="true" closable="true" autoupdate="true" />
|
<p:growl id="mesgs" showDetail="true" closable="true" autoupdate="true" />
|
||||||
|
|
||||||
<p:panel id="tipoUsuario" header="Tipo de usuario registrado">
|
<p:panel id="tipoUsuario" header="Tipo de usuario registrado">
|
||||||
<div class="ui-g ui-fluid">
|
<div class="ui-g ui-fluid">
|
||||||
|
|||||||
Reference in New Issue
Block a user