cleaning the house
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
% stash css=>["/home/admin/admin.css","/home/admin/event/event.css"];
|
||||
% stash js=>["/home/admin/event/event.js"];
|
||||
% stash css=>["/admin/admin.css","/admin/event/event.css"];
|
||||
% stash js=>["//admin/event/event.js"];
|
||||
<section class="name" flex> <article class="user">
|
||||
<p class="title">Editar Eventos</p>
|
||||
</article> </section>
|
||||
@@ -1,5 +1,5 @@
|
||||
% stash css=>["/home/admin/admin.css","/home/admin/home/admin.css"];
|
||||
% stash js=>["/home/admin/home/buttons.js","/home/admin/home/fb.js"];
|
||||
% stash css=>["/admin/admin.css","/admin/home/admin.css"];
|
||||
% stash js=>["/admin/home/buttons.js","/admin/home/fb.js"];
|
||||
<section class="title flex">
|
||||
<article class="title"> <p>Editar Casa</p> </article>
|
||||
</section>
|
||||
@@ -1,5 +1,5 @@
|
||||
% stash css=>["/home/admin/admin.css","/home/admin/mensajes/msg.css"];
|
||||
% stash js=>["/home/admin/mensajes/msg.js"];
|
||||
% stash css=>["/admin/admin.css","/admin/mensajes/msg.css"];
|
||||
% stash js=>["/admin/mensajes/msg.js"];
|
||||
<section class="flex messages">
|
||||
<article class="select">
|
||||
<select id="sentry" class="entry" size=10>
|
||||
@@ -1,12 +1,12 @@
|
||||
% stash css=>[
|
||||
% "/home/admin/admin.css",
|
||||
% "/home/admin/radio/admin.css",
|
||||
% "/home/admin/candySwitch/main.css",
|
||||
% "/home/admin/candySwitch/switch.css"
|
||||
% "/admin/admin.css",
|
||||
% "/admin/radio/admin.css",
|
||||
% "/admin/candySwitch/main.css",
|
||||
% "/admin/candySwitch/switch.css"
|
||||
% ];
|
||||
% stash js=>[
|
||||
% "/home/admin/radio/loadInfo.js",
|
||||
% "/home/admin/candySwitch/cSwitch.js"
|
||||
% "/admin/radio/loadInfo.js",
|
||||
% "/admin/candySwitch/cSwitch.js"
|
||||
% ];
|
||||
<section class="title flex">
|
||||
<article class="title"> <p>Radio</p> </article>
|
||||
@@ -1,5 +1,5 @@
|
||||
% stash css=>["/home/admin/admin.css","/home/admin/tienda/tienda.css"];
|
||||
% stash js=>["/home/admin/tienda/tienda.js"];
|
||||
% stash css=>["/admin/admin.css","/admin/tienda/tienda.css"];
|
||||
% stash js=>["/admin/tienda/tienda.js"];
|
||||
<section class="flex">
|
||||
<article class="select">
|
||||
<select id="suser" class="entry" size=10>
|
||||
@@ -1,56 +0,0 @@
|
||||
|
||||
% stash css => ["misc/xpay.css"];
|
||||
% stash js => ["misc/stripe.js"];
|
||||
<section class="header">
|
||||
<h2 class="head"><%== $header %></h2>
|
||||
</section>
|
||||
<section class="title">
|
||||
<article class="title">
|
||||
<h2><%= $title %></h2>
|
||||
<h1><%= $subtitle %></h1>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section class="payment flex">
|
||||
<div id="cover" hidden></div>
|
||||
<article id="cinfo" class="cardinfo">
|
||||
<div class="subtitle"><h1>Datos de la tarjeta</h1></div>
|
||||
<div id="details">
|
||||
<label>Nombre del titular </label>
|
||||
<input id="cardholder-name" type="text" placeholder="Cardholder name">
|
||||
<!-- placeholder for Elements -->
|
||||
<label>Numero de tarjeta </label>
|
||||
<div id="card-element"></div>
|
||||
<button id="card-button">Siguiente</button>
|
||||
</div>
|
||||
</article>
|
||||
<!-- opciones de plan -->
|
||||
<article id="cplan" class="plan" hidden>
|
||||
<div class="subtitle"><h1>Planes de pago</h1></div>
|
||||
<div id="plans" >
|
||||
<form id="installment-plan-form" >
|
||||
<label>
|
||||
<input id="immediate-plan" type="radio" name="installment_plan" value="-1" />
|
||||
Un solo pago
|
||||
</label>
|
||||
<input id="payment-intent-id" type="hidden" />
|
||||
</form>
|
||||
<button id="confirm-button">Confirmar Pago</button>
|
||||
</div>
|
||||
</article>
|
||||
<article id="cmsg" class="message" hidden>
|
||||
<div id="result">
|
||||
<p id="status-message"></p>
|
||||
</div>
|
||||
<div id="ccontact" hidden>
|
||||
<form id="fcontact">
|
||||
<label for="cname">Nombre</label>
|
||||
<input type="text" name="cname"></input>
|
||||
<label for="cmail">Correo</label>
|
||||
<input type="email" name="cmail"></input>
|
||||
<label for="ccomment">Comentarios</label>
|
||||
<input type="text" name="ccomment"></input>
|
||||
</form>
|
||||
</div>
|
||||
<article>
|
||||
</section>
|
||||
@@ -1,4 +1,4 @@
|
||||
% stash css=>["home/cal/cal.css/"];
|
||||
% stash css=>["proc/cal/cal.css/"];
|
||||
<section class="title"> <p>Próximos eventos</p></section>
|
||||
<section class="cal">
|
||||
% foreach (@$b) {
|
||||
@@ -19,7 +19,7 @@
|
||||
<p class="name"> <%= $d->{nombre} %></p>
|
||||
</article>
|
||||
<article class="image">
|
||||
<img class="small" src= "home/cal/img/<%= $d->{imagen_chica} %>">
|
||||
<img class="small" src= "proc/cal/img/<%= $d->{imagen_chica} %>">
|
||||
<article class="more"> ... </article>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
%stash css=>["/home/storep/storep.css"];
|
||||
<section class="item"> <section class="transp flex">
|
||||
<section class="ibottom">
|
||||
<p class="nombre"><%= $nombre %></p>
|
||||
<p class="tit"><%= $lmunicipio %>, <%= $lfederativa %></p>
|
||||
</section>
|
||||
<article class=iimage>
|
||||
<img class="small" src= "/home/store/img/<%= $cimga %>">
|
||||
</article>
|
||||
<article class=iinfo>
|
||||
<p class="txt"><%= $subnombre %></p>
|
||||
<p class="txt"><%= $descripcion %></p>
|
||||
<p class="promo"><%= $promocion %></p>
|
||||
<p class="precio">Precio:$<%= $precio %> pesos</p>
|
||||
<p class="existencia">
|
||||
<% if ($cupo > 10) { =%> <p class="eok"></p> <% } =%>
|
||||
<% elsif ($cupo >= 5) { =%> <p class="elow">¡Nos quedan pocos lugarel!</p> <% } =%>
|
||||
<% elsif ($cupo == 0) { =%> <p class="eldep">¡Agotado!</p> <% } =%>
|
||||
<div class=forms> </div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="bdat"> </section>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
% stash css=> ["/home/event/event.css"];
|
||||
% stash css=> ["/proc/event/event.css"];
|
||||
<section class="event">
|
||||
<section class="eimage">
|
||||
</section>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%stash css=>["/home/spay/storep.css"];
|
||||
%stash js => ["/home/spay/stripe.js"];
|
||||
%stash css=>["/proc/spay/storep.css"];
|
||||
%stash js => ["/proc/spay/stripe.js"];
|
||||
<script src="https://js.stripe.com/v3/"></script>
|
||||
<script type="text/javascript"> var cu=<%= $precio %>; var tid=<%= $tid %></script>
|
||||
<section class="ibottom">
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
<article class=iimage>
|
||||
<p class="txt"><%= $subnombre %></p>
|
||||
<img class="small" src= "/home/store/img/<%= $cimga %>">
|
||||
<img class="small" src= "/proc/store/img/<%= $cimga %>">
|
||||
<p class="txt"><%= $descripcion %></p>
|
||||
</article>
|
||||
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
% stash css=>["/home/store/shop.css"];
|
||||
<section class="shop">
|
||||
<article class="heading"> <p class="heading">TIENDA VIRTUAL</p> </article>
|
||||
% for (@$r){
|
||||
<a href="/storep/<%= $_->{id} %>">
|
||||
<article class="shop flex">
|
||||
<div class="simage" > <img src=<%= "$controller/$action/img/$_->{imagen} "%> ></div>
|
||||
<div class="description">
|
||||
<p class="title"> <%= $_->{objeto} %> </p>
|
||||
<p class="description"> <%= $_->{nombre} %> </p>
|
||||
% if ( $_->{precio} != -1){
|
||||
<p class="price"> $<%= $_->{precio} %> pesos </p>
|
||||
%}
|
||||
<p class="options"> <%= $_->{subnombre} %> </p>
|
||||
<p class="promo"> <%= $_->{promocion} %> </p>
|
||||
</div>
|
||||
</article>
|
||||
</a>
|
||||
<article class="separator"></article>
|
||||
%}
|
||||
</section>
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
<!--<head>-->
|
||||
<!--<meta name="viewport" content="width=device-width, initial-scale=1">-->
|
||||
<!--<meta http-equiv="X-UA-Compatible" content="IE=edge" />-->
|
||||
<!--</head>-->
|
||||
%stash css=>["/home/storep/storep.css"];
|
||||
<section class="item"> <section class="transp flex">
|
||||
<article class=iimage>
|
||||
<img class="small" src= "/home/store/img/<%= $imagen %>">
|
||||
</article>
|
||||
<article class=iinfo>
|
||||
<p class="txt"><%= $subnombre %></p>
|
||||
<p class="txt"><%= $descripcion %></p>
|
||||
<p class="promo"><%= $promocion %></p>
|
||||
<p class="precio">Precio:$<%= $precio %> pesos</p>
|
||||
<p class="existencia">
|
||||
<% if ($existencia > 10) { =%> <p class="eok"></p> <% } =%>
|
||||
<% elsif ($existencia >= 1) { =%> <p class="elow">¡Nos quedan pocos!</p> <% } =%>
|
||||
<% elsif ($existencia == 0) { =%> <p class="eldep">¡Agotado!</p> <% } =%>
|
||||
<div class=ppl>
|
||||
<div id="paypal-button-container"></div>
|
||||
</div>
|
||||
</article>
|
||||
</section> </section>
|
||||
<section class="ibottom">
|
||||
<p class="nombre"><%= $objeto %></p>
|
||||
<p class="tit"><%= $nombre %></p>
|
||||
</section>
|
||||
<section class="bdat"> </section>
|
||||
|
||||
|
||||
<script src="https://www.paypal.com/sdk/js?client-id=AQdZ1JJL-GNBgGTI3W6cXChmj6MnZsInRGlWeHw1kbGiE_49eTtZ2fPvEq9ersU2y6O5WpxccdsyAQw7¤cy=MXN"></script>
|
||||
<script>
|
||||
paypal.Buttons({
|
||||
// Set up the transaction
|
||||
createOrder: function(data, actions) {
|
||||
return actions.order.create({
|
||||
purchase_units: [{
|
||||
amount: {
|
||||
value: '0.18'
|
||||
}
|
||||
}]
|
||||
}); },
|
||||
onApprove: function(data, actions) {
|
||||
return actions.order.capture().then(function(details) {
|
||||
return fetch('/tst', {
|
||||
method: 'post',
|
||||
headers: {
|
||||
'content-type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify({
|
||||
orderID: data.orderID
|
||||
})
|
||||
})
|
||||
// .then(response=>response.json())
|
||||
// .then(data => {alert(data)})
|
||||
});
|
||||
}
|
||||
}).render('#paypal-button-container');
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user