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.
This commit is contained in:
mgarcianun
2019-11-28 18:20:01 +01:00
parent b5c49a6776
commit 8fcc5d7697
11 changed files with 143 additions and 49 deletions

View File

@@ -11,6 +11,13 @@
<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" />
@@ -18,7 +25,7 @@
<p:editor />
</h:panelGrid>
<h:panelGroup>
<h:panelGrid columns="2" >
<h:panelGrid columns="2">
<h:outputLabel value="Logeado como:" />
<p:inputText readonly="true" value="#{home.userName}" />
</h:panelGrid>