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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user