Files
myhealth/1.sources/MyHealth/docroot/home.xhtml
mgarcianun 8fcc5d7697 Quitada librería con tema bootstrap.
Añadida libería con todos los temas para primefaces 7.
Añadido selector de tema en la pantalla home.
2019-11-28 18:20:01 +01:00

37 lines
1.4 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!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"
xmlns:p="http://primefaces.org/ui">
<f:metadata>
<f:viewParam name="refresh" value="#{specs.refresh}" />
</f:metadata>
<ui:composition template="./header.xhtml">
<ui:define name="content">
<h:form>
<p:panel header="Pagina principal">
<p:panelGrid>
<p:outputLabel for="basic" value="Cambio de tema" />
<p:themeSwitcher id="basic" style="width:165px">
<f:selectItem itemLabel="Seleccione un tema" itemValue="" noSelectionOption="true" />
<f:selectItems value="#{home.themes}" var="theme" itemLabel="#{theme.displayName}" itemValue="#{theme.name}" />
</p:themeSwitcher>
</p:panelGrid>
<h:panelGrid columns="2">
<h:outputLabel value="Fecha" />
<p:calendar pattern="dd/MM/yyyy" />
<h:outputLabel value="Rich Text Editor" />
<p:editor />
</h:panelGrid>
<h:panelGroup>
<h:panelGrid columns="2">
<h:outputLabel value="Logeado como:" />
<p:inputText readonly="true" value="#{home.userName}" />
</h:panelGrid>
</h:panelGroup>
</p:panel>
</h:form>
</ui:define>
</ui:composition>
</html>