You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
5.7 KiB
102 lines
5.7 KiB
<?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://xmlns.jcp.org/jsf/facelets"
|
|
xmlns:h="http://xmlns.jcp.org/jsf/html"
|
|
xmlns:f="http://xmlns.jcp.org/jsf/core"
|
|
xmlns:p="http://primefaces.org/ui">
|
|
|
|
<body>
|
|
|
|
<ui:composition template="./template/productosP.xhtml">
|
|
|
|
<ui:define name="top">
|
|
<center>
|
|
|
|
</center>
|
|
|
|
</ui:define>
|
|
|
|
<ui:define name="left">
|
|
<div class="card" style="text-align: left;">
|
|
<h:form>
|
|
<p:growl id="messages" showDetail="true"/>
|
|
<p:tieredMenu style="width:170px" >
|
|
|
|
<p:submenu label="Usuarios" >
|
|
|
|
<p:menuitem value="Usuario" outcome="marcaLista3.xhtml" ajax="false"/>
|
|
<p:menuitem value="Rol" outcome="rolLista.xhtml" ajax="false"/>
|
|
|
|
</p:submenu>
|
|
|
|
<p:submenu label="Proveedores" >
|
|
|
|
<p:menuitem value="Proveedor" outcome="vistaProveedores.xhtml" ajax="false"/>
|
|
<p:menuitem value="Almacen" outcome="ubicacionLista.xhtml" ajax="false"/>
|
|
|
|
</p:submenu>
|
|
<p:submenu label="Productos" >
|
|
<p:menuitem value="Producto" outcome="productosLista.xhtml" ajax="false"/>
|
|
<p:menuitem value="Categoria" outcome="categoriaLista.xhtml" ajax="false"/>
|
|
<p:menuitem value="Talla" outcome="tallaLista.xhtml" ajax="false"/>
|
|
<p:menuitem value="Color" outcome="colorLista.xhtml" ajax="false"/>
|
|
<p:menuitem value="Marca" outcome="marcaLista.xhtml" ajax="false"/>
|
|
<p:menuitem value="Genero" outcome="vistaGenero.xhtml" ajax="false"/>
|
|
</p:submenu>
|
|
<p:submenu label="Sesión" >
|
|
<p:divider/>
|
|
<p:menuitem value="Token" outcome="tokenLista.xhtml" ajax="false"/>
|
|
<p:menuitem value="Cerrar sesión" icon="pi pi-fw pi-power-off" action="#{demoBeanLogin.logout()}"/>
|
|
</p:submenu>
|
|
</p:tieredMenu>
|
|
</h:form>
|
|
</div>
|
|
</ui:define>
|
|
|
|
<ui:define name="right">
|
|
|
|
</ui:define>
|
|
|
|
<ui:define name="content">
|
|
<f:view>
|
|
<center>
|
|
<h:form style="background-color: white; margin: -10px;">
|
|
<h1><h:outputText style="color: black;" value="Eliminar Proveedor"/></h1>
|
|
<div style="margin: 20px;">
|
|
<h:outputText value="Id:"/>
|
|
<p:inputText value="#{demoBeanProveedores.proveedor.id}" style="margin-left: 10px; margin-right: 35px; margin-bottom:20px;" title="Id" disabled="true"/>
|
|
|
|
<h:outputText value="Nombre:"/>
|
|
<p:inputText value="#{demoBeanProveedores.proveedor.nombre}" style="margin-left: 10px; margin-right: 60px; margin-bottom: 20px;" disabled="true" title="Nombre"/>
|
|
</div>
|
|
<div>
|
|
<h:outputText value="Correo:"/>
|
|
<p:inputText value="#{demoBeanProveedores.proveedor.correo}" style="margin-left: 10px; margin-right: 30px; margin-bottom: 20px;" disabled="true" title="Correo"/>
|
|
|
|
<h:outputText value="Direccion:"/>
|
|
<p:inputText value="#{demoBeanProveedores.proveedor.direccion}" style="margin-left: 10px; margin-right: 85px; margin-bottom: 20px;" disabled="true" title="Direccion"/>
|
|
</div>
|
|
<div>
|
|
<h:outputText value="Ciudad:"/>
|
|
<p:inputText value="#{demoBeanProveedores.proveedor.ciudad}" style="margin-left: 10px; margin-right: 35px; margin-bottom: 20px;" disabled="true" title="Ciudad"/>
|
|
|
|
<h:outputText value="Telefono:"/>
|
|
<p:inputText value="#{demoBeanProveedores.proveedor.telefono}" style="margin-left: 10px; margin-right: 85px; margin-bottom: 20px;" disabled="true" title="Telefono"/>
|
|
</div>
|
|
<div>
|
|
<h:outputText value="Tipo_Producto:"/>
|
|
<p:inputText value="#{demoBeanProveedores.proveedor.categoriaid.categoria}" style="margin-left: 10px; margin-right: 50px; margin-bottom: 20px;" disabled="true" title="Tipo de Producto"/>
|
|
|
|
<h:outputText value="Status:"/>
|
|
<p:inputText value="#{demoBeanProveedores.proveedor.status ==1?'Activo':'Inactivo'}" style="margin-left: 10px; margin-right: 130px; margin-bottom: 20px;" disabled="true" title="Status"/>
|
|
</div>
|
|
<p:commandButton action="vistaProveedores.xhtml" styleClass="rounded-button ui-button-danger" value="Cancelar" style="margin-left: 100px; margin-right: -200px;" immediate="true" ajax="false"/>
|
|
<p:commandButton action="vistaProveedores.xhtml" styleClass="rounded-button ui-button-success" actionListener="#{demoBeanProveedores.eliminarProveedor()}" style="margin-left: 10px; margin-right: -200px;" value="Eliminar" ajax="false"/>
|
|
</h:form>
|
|
</center>
|
|
</f:view>
|
|
</ui:define>
|
|
</ui:composition>
|
|
</body>
|
|
</html>
|
|
|