Listo los deletes de las tarjetas de credito
This commit is contained in:
66
bank-war/web/admin_tarjeta_credito_delete_pago.xhtml
Normal file
66
bank-war/web/admin_tarjeta_credito_delete_pago.xhtml
Normal file
@@ -0,0 +1,66 @@
|
||||
<?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.w3c.org/1999/xhtml"
|
||||
xmlns:h="http://xmlns.jcp.org/jsf/html"
|
||||
xmlns:f="http://java.sun.com/jsf/core">
|
||||
<h:head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<link rel="stylesheet" href="https://unpkg.com/tachyons@4.10.0/css/tachyons.min.css"/>
|
||||
<link rel="stylesheet" href="https://unpkg.com/normalize.css@8.0.1/normalize.css"/>
|
||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"/>
|
||||
<h:outputStylesheet library="css" name="all.css"/>
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
}
|
||||
</style>
|
||||
</h:head>
|
||||
<body class="black-70 pa4">
|
||||
<h:form rendered="#{userBean.isLogged() and userBean.isAdmin()}">
|
||||
<div class="flex justify-between">
|
||||
<h1 class="f1">Eliminar Pago</h1>
|
||||
|
||||
<h:commandLink class="f5 tc link w-20 dim br2 ph3 pv2 mb1 mr2 dib white bg-blue" immediate="true" action="admin_tarjeta_credito_view" style="margin-top: auto; margin-bottom: auto">
|
||||
<li class="fas fa-arrow-left"></li> Volver
|
||||
</h:commandLink>
|
||||
</div>
|
||||
|
||||
<h:messages class="f4 w-40 list tc center white bg-red pa4 "/>
|
||||
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db fw4 lh-copy f6" value="ID:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{pagoBean.pagoTarjetaCredito.id}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db fw4 lh-copy f6" value="Monto:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{pagoBean.pagoTarjetaCredito.monto}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db fw4 lh-copy f6" value="Comentario:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{pagoBean.pagoTarjetaCredito.comentario}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db fw4 lh-copy f6" value="Tipo de Compra:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{pagoBean.pagoTarjetaCredito.tipo}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db fw4 lh-copy f6" value="Fecha:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{pagoBean.pagoTarjetaCredito.insertedAt}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:commandLink class="f5 tc link w-20 dim br2 ph3 pv2 mb1 mr2 dib white bg-red" action="#{pagoBean.deletePago()}" style="margin-top: auto; margin-bottom: auto">
|
||||
<li class="fas fa-trash"></li> Eliminar
|
||||
</h:commandLink>
|
||||
</div>
|
||||
</h:form>
|
||||
|
||||
<h:form rendered="#{!userBean.isLogged()}">
|
||||
<div class="tc">
|
||||
<h1 class="f1 tc">Acceso no autorizado</h1>
|
||||
<h:commandLink class="f5 tc link w-20 dim br2 ph3 pv2 mb1 mr2 dib white bg-red" value="Ir al index" action="index"/>
|
||||
</div>
|
||||
</h:form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user