42 lines
1.9 KiB
HTML
42 lines
1.9 KiB
HTML
<?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()}">
|
|
<h1 class="f1 tc">Contratar Tarjeta Debito</h1>
|
|
<p class="tc">¿Esta seguro?</p>
|
|
<div class="flex mt3 justify-center">
|
|
<h:commandLink class="f5 tc link dim br2 ph3 pv2 dib white bg-blue" action="#{tarjetaDebitoBean.contratar()}">
|
|
<li class="fas fa-plus-circle"></li>
|
|
</h:commandLink>
|
|
<h:commandLink class="f5 tc link dim br2 ph3 pv2 ml2 dib white bg-red" immediate="true" action="admin_cliente_view">
|
|
<li class="fas fa-times-circle"></li>
|
|
</h:commandLink>
|
|
</div>
|
|
</h:form>
|
|
|
|
<h:form rendered="#{!userBean.isLogged()}">
|
|
<div class="tc">
|
|
<h1 class="f1 tc">Acceso no autorizado</h1>
|
|
<h:commandButton 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>
|
|
|
|
|