oscar 6 months ago
parent
commit
3bb3314d5e
  1. 17
      ProyectoInventario-war/web/template/listas.xhtml
  2. 4
      ProyectoInventario-war/web/template/login.xhtml

17
ProyectoInventario-war/web/template/listas.xhtml

@ -19,15 +19,24 @@
<div class="titulo" id="top" style="display: flex; align-items: center;">
<h:form style="flex: 1;">
<center>
<h class="centro">Almacen, Bienvenido #{demoBeanLogin.user}</h>
<h style="margin-left: 110px">Almacen</h>
</center>
</h:form>
<h:form>
<h:form>
<h2 style="font-size: 16px; margin-bottom: 1px; margin-top: 0px"> #{demoBeanLogin.user}</h2>
<p:commandButton action="#{demoBeanLogin.logout()}"
immediate="true"
ajax="false"
style="margin-left: 5px; margin-right: 10px; vertical-align: middle;"
icon="pi pi-power-off"
style=" width: 60px; height: 30px; margin-top: 1px;"
icon="pi pi-sign-out"
styleClass="ui-button-danger" />
</h:form>
</div>

4
ProyectoInventario-war/web/template/login.xhtml

@ -62,10 +62,10 @@ Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/XHtml.xhtml to edit t
</p:password>
<p:commandButton icon="pi pi-check"
<p:commandButton icon="pi pi-sign-in"
style="width: 60px"
action="#{demoBeanLogin.login()}"
ajax="false"
ajax="false"
update=":formLogin"/>
</h:panelGrid>

Loading…
Cancel
Save