Browse Source

logout reparado

master
nayelivilchismariscal 6 months ago
parent
commit
2b8ba25e1e
  1. 35
      Inventario-war/web/ProductoLista.xhtml
  2. 4
      Inventario-war/web/UbicacionAlmacenLista.xhtml
  3. 4
      Inventario-war/web/proveedorLista.xhtml
  4. 4
      Inventario-war/web/rolLista.xhtml
  5. 4
      Inventario-war/web/usuariosLista.xhtml

35
Inventario-war/web/ProductoLista.xhtml

@ -46,11 +46,11 @@
<div class="flex justify-content-end" style="height: 30px;" >
<div>
<p:commandButton ajax="true" oncomplete="PF('dlg').show();" actionListener="#{demoBeanMarca.prepararnuevo()}"
<p:commandButton ajax="true" oncomplete="PF('dlg').show();" actionListener="#{demoBeanProductos.prepararNuevo()}"
update=":dialog" value="Nuevo" icon="pi pi-plus" />
<i class="pi pi-search" style="margin-left: 690px; margin-top: 10px;"></i>
<p:inputText id="globalFilter" onkeyup="PF('categorias').filter()" placeholder="Buscar producto"
<p:inputText id="globalFilter" onkeyup="PF('productos').filter()" placeholder="Buscar producto"
style="width:250px; margin-right: 120px; float: right; margin-top: -1px;" />
<p:commandButton value="Logout" ajax="false" icon="pi pi-sign-out" action="#{login.logout()}" style="background-color: #036FAB; width: 100px; float: right; margin-top: -40px " />
@ -58,43 +58,52 @@
</div>
</f:facet>
<p:column styleClass="columnaOpc">
<p:column styleClass="columnaId">
<f:facet name="header">
<h:outputText value="Id" style="font-weight: bolder; " />
</f:facet>
<h:outputText value="#{item.id}" />
</p:column>
<p:column>
<p:column style="text-align: center; right: 20px ">
<f:facet name="header">
<h:outputText value="Nombre" style="font-weight:bolder; float: left;"/>
<h:outputText value="Nombre" style="font-weight:bolder; right: 20px;"/>
</f:facet>
<h:outputText value="#{item.nombre}" />
</p:column>
<p:column>
<p:column style="text-align: center">
<f:facet name="header">
<h:outputText value="Codigo" style="font-weight:bolder; float: left;"/>
<h:outputText value="Codigo" style="font-weight:bolder; right: 20px;"/>
</f:facet>
<h:outputText value="#{item.codigo}"/>
</p:column>
<p:column>
<p:column style="text-align: center">
<f:facet name="header">
<h:outputText value="Precio" style="font-weight:bolder; float: left;"/>
<h:outputText value="Precio" style="font-weight:bolder;right: 20px;"/>
</f:facet>
<h:outputText value=" $#{item.precio}" />
</p:column>
<p:column>
<p:column style="text-align: center">
<f:facet name="header">
<h:outputText value="Stock" style="font-weight:bolder; float: left;"/>
<h:outputText value="Stock" style="font-weight:bolder; left: 20px;"/>
</f:facet>
<h:outputText value="#{item.stock}" />
</p:column>
<p:column>
<p:column style="text-align: center">
<f:facet name="header">
<h:outputText value="Categoria" style="font-weight:bolder; float: left;"/>
<h:outputText value="Categoria" style="font-weight:bolder; left: 80px"/>
</f:facet>
<h:outputText value="#{item.categoriaId.nombre}"/>
</p:column>

4
Inventario-war/web/UbicacionAlmacenLista.xhtml

@ -50,11 +50,11 @@
<div class="flex justify-content-end" style="height: 30px;" >
<div>
<p:commandButton ajax="true" oncomplete="PF('dlg').show();" actionListener="#{demoBeanMarca.prepararnuevo()}"
<p:commandButton ajax="true" oncomplete="PF('dlg').show();" actionListener="#{demoBeanUbicacionalmacen.prepararNuevo()}"
update=":dialog" value="Nuevo" icon="pi pi-plus" />
<i class="pi pi-search" style="margin-left: 690px; margin-top: 10px;"></i>
<p:inputText id="globalFilter" onkeyup="PF('categorias').filter()" placeholder="Buscar ubicación"
<p:inputText id="globalFilter" onkeyup="PF('ubicaciona').filter()" placeholder="Buscar ubicación"
style="width:250px; margin-right: 120px; float: right; margin-top: -1px;" />
<p:commandButton value="Logout" ajax="false" icon="pi pi-sign-out" action="#{login.logout()}" style="background-color: #036FAB; width: 100px; float: right; margin-top: -40px " />

4
Inventario-war/web/proveedorLista.xhtml

@ -44,11 +44,11 @@
<div class="flex justify-content-end" style="height: 30px;" >
<div>
<p:commandButton ajax="true" oncomplete="PF('dlg').show();" actionListener="#{demoBeanMarca.prepararnuevo()}"
<p:commandButton ajax="true" oncomplete="PF('dlg').show();" actionListener="#{demoBeanProveedor.prepararNuevo()}"
update=":dialog" value="Nuevo" icon="pi pi-plus" />
<i class="pi pi-search" style="margin-left: 690px; margin-top: 10px;"></i>
<p:inputText id="globalFilter" onkeyup="PF('categorias').filter()" placeholder="Buscar proveedor"
<p:inputText id="globalFilter" onkeyup="PF('proveedores').filter()" placeholder="Buscar proveedor"
style="width:250px; margin-right: 120px; float: right; margin-top: -1px;" />
<p:commandButton value="Logout" ajax="false" icon="pi pi-sign-out" action="#{login.logout()}" style="background-color: #036FAB; width: 100px; float: right; margin-top: -40px " />

4
Inventario-war/web/rolLista.xhtml

@ -45,11 +45,11 @@
<div class="flex justify-content-end" style="height: 30px;" >
<div>
<p:commandButton ajax="true" oncomplete="PF('dlg').show();" actionListener="#{demoBeanMarca.prepararnuevo()}"
<p:commandButton ajax="true" oncomplete="PF('dlg').show();" actionListener="#{demoBeanRol.prepararnuevo()}"
update=":dialog" value="Nuevo" icon="pi pi-plus" />
<i class="pi pi-search" style="margin-left: 690px; margin-top: 10px;"></i>
<p:inputText id="globalFilter" onkeyup="PF('categorias').filter()" placeholder="Buscar rol"
<p:inputText id="globalFilter" onkeyup="PF('roles').filter()" placeholder="Buscar rol"
style="width:250px; margin-right: 120px; float: right; margin-top: -1px;" />
<p:commandButton value="Logout" ajax="false" icon="pi pi-sign-out" action="#{login.logout()}" style="background-color: #036FAB; width: 100px; float: right; margin-top: -40px " />

4
Inventario-war/web/usuariosLista.xhtml

@ -45,11 +45,11 @@
<div class="flex justify-content-end" style="height: 30px;" >
<div>
<p:commandButton ajax="true" oncomplete="PF('dlg').show();" actionListener="#{demoBeanMarca.prepararnuevo()}"
<p:commandButton ajax="true" oncomplete="PF('dlg').show();" actionListener="#{demoBeanUsuarios.prepararNuevo()}"
update=":dialog" value="Nuevo" icon="pi pi-plus" />
<i class="pi pi-search" style="margin-left: 690px; margin-top: 10px;"></i>
<p:inputText id="globalFilter" onkeyup="PF('categorias').filter()" placeholder="Buscar usuario"
<p:inputText id="globalFilter" onkeyup="PF('usuarios').filter()" placeholder="Buscar usuario"
style="width:250px; margin-right: 120px; float: right; margin-top: -1px;" />
<p:commandButton value="Logout" ajax="false" icon="pi pi-sign-out" action="#{login.logout()}" style="background-color: #036FAB; width: 100px; float: right; margin-top: -40px " />

Loading…
Cancel
Save