-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
362 additions
and
39 deletions.
There are no files selected for viewing
15 changes: 7 additions & 8 deletions
15
PROSE/Proyectos Vagrant/Ejercicios/Ejercicio4/.idea/workspace.xml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
8 changes: 3 additions & 5 deletions
8
PROSE/Proyectos Vagrant/Ejercicios/Tienda/.idea/workspace.xml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
PROSE/Proyectos Vagrant/Ejercicios/Tienda/auth/signup/signup.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
276 changes: 270 additions & 6 deletions
276
PROSE/Proyectos Vagrant/Ejercicios/Tienda/checkout.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,274 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>$Title$</title> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<meta name="description" content=""> | ||
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> | ||
<meta name="generator" content="Jekyll v4.1.1"> | ||
<title>Checkout example · Bootstrap</title> | ||
|
||
<link rel="canonical" href="https://getbootstrap.com/docs/4.5/examples/checkout/"> | ||
|
||
<!-- Bootstrap core CSS --> | ||
<link href="/docs/4.5/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous"> | ||
|
||
<!-- Latest compiled and minified CSS --> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous"> | ||
|
||
<!-- Optional theme --> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css" integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous"> | ||
|
||
<!-- Latest compiled and minified JavaScript --> | ||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script> | ||
|
||
<!-- Favicons --> | ||
<link rel="apple-touch-icon" href="/docs/4.5/assets/img/favicons/apple-touch-icon.png" sizes="180x180"> | ||
<link rel="icon" href="/docs/4.5/assets/img/favicons/favicon-32x32.png" sizes="32x32" type="image/png"> | ||
<link rel="icon" href="/docs/4.5/assets/img/favicons/favicon-16x16.png" sizes="16x16" type="image/png"> | ||
<link rel="manifest" href="/docs/4.5/assets/img/favicons/manifest.json"> | ||
<link rel="mask-icon" href="/docs/4.5/assets/img/favicons/safari-pinned-tab.svg" color="#563d7c"> | ||
<link rel="icon" href="/docs/4.5/assets/img/favicons/favicon.ico"> | ||
<meta name="msapplication-config" content="/docs/4.5/assets/img/favicons/browserconfig.xml"> | ||
<meta name="theme-color" content="#563d7c"> | ||
|
||
|
||
<script type="text/javascript" src="https://ff.kis.v2.scr.kaspersky-labs.com/FD126C42-EBFA-4E12-B309-BB3FDD723AC1/main.js?attr=DZepoPPPCXz4CWn-drz5S2p8XAPdY9DHdxSLUeGTWaVQAZzkNrbHu9zdekk4p80sQwMX32j20TtZOlrS69T8K5YErzX04eTaKcVUjKEChx8" charset="UTF-8"></script><link rel="stylesheet" crossorigin="anonymous" href="https://ff.kis.v2.scr.kaspersky-labs.com/E3E8934C-235A-4B0E-825A-35A08381A191/abn/main.css?attr=aHR0cHM6Ly9nZXRib290c3RyYXAuY29tL2RvY3MvNC41L2V4YW1wbGVzL2NoZWNrb3V0Lw"/><style> | ||
.bd-placeholder-img { | ||
font-size: 1.125rem; | ||
text-anchor: middle; | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; | ||
} | ||
|
||
@media (min-width: 768px) { | ||
.bd-placeholder-img-lg { | ||
font-size: 3.5rem; | ||
} | ||
} | ||
</style> | ||
<!-- Custom styles for this template --> | ||
<link href="form-validation.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
$END$ | ||
</body> | ||
<body class="bg-light"> | ||
<div class="container"> | ||
<div class="py-5 text-center"> | ||
<img class="d-block mx-auto mb-4" src="/docs/4.5/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72"> | ||
<h2>Checkout form</h2> | ||
<p class="lead">Below is an example form built entirely with Bootstrap’s form controls. Each required form group has a validation state that can be triggered by attempting to submit the form without completing it.</p> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-md-4 order-md-2 mb-4"> | ||
<h4 class="d-flex justify-content-between align-items-center mb-3"> | ||
<span class="text-muted">Your cart</span> | ||
<span class="badge badge-secondary badge-pill">3</span> | ||
</h4> | ||
<ul class="list-group mb-3"> | ||
<li class="list-group-item d-flex justify-content-between lh-condensed"> | ||
<div> | ||
<h6 class="my-0">Product name</h6> | ||
<small class="text-muted">Brief description</small> | ||
</div> | ||
<span class="text-muted">$12</span> | ||
</li> | ||
<li class="list-group-item d-flex justify-content-between lh-condensed"> | ||
<div> | ||
<h6 class="my-0">Second product</h6> | ||
<small class="text-muted">Brief description</small> | ||
</div> | ||
<span class="text-muted">$8</span> | ||
</li> | ||
<li class="list-group-item d-flex justify-content-between lh-condensed"> | ||
<div> | ||
<h6 class="my-0">Third item</h6> | ||
<small class="text-muted">Brief description</small> | ||
</div> | ||
<span class="text-muted">$5</span> | ||
</li> | ||
<li class="list-group-item d-flex justify-content-between bg-light"> | ||
<div class="text-success"> | ||
<h6 class="my-0">Promo code</h6> | ||
<small>EXAMPLECODE</small> | ||
</div> | ||
<span class="text-success">-$5</span> | ||
</li> | ||
<li class="list-group-item d-flex justify-content-between"> | ||
<span>Total (USD)</span> | ||
<strong>$20</strong> | ||
</li> | ||
</ul> | ||
|
||
<form class="card p-2"> | ||
<div class="input-group"> | ||
<input type="text" class="form-control" placeholder="Promo code"> | ||
<div class="input-group-append"> | ||
<button type="submit" class="btn btn-secondary">Redeem</button> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="col-md-8 order-md-1"> | ||
<h4 class="mb-3">Billing address</h4> | ||
<form class="needs-validation" novalidate> | ||
<div class="row"> | ||
<div class="col-md-6 mb-3"> | ||
<label for="firstName">First name</label> | ||
<input type="text" class="form-control" id="firstName" placeholder="" value="" required> | ||
<div class="invalid-feedback"> | ||
Valid first name is required. | ||
</div> | ||
</div> | ||
<div class="col-md-6 mb-3"> | ||
<label for="lastName">Last name</label> | ||
<input type="text" class="form-control" id="lastName" placeholder="" value="" required> | ||
<div class="invalid-feedback"> | ||
Valid last name is required. | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="mb-3"> | ||
<label for="username">Username</label> | ||
<div class="input-group"> | ||
<div class="input-group-prepend"> | ||
<span class="input-group-text">@</span> | ||
</div> | ||
<input type="text" class="form-control" id="username" placeholder="Username" required> | ||
<div class="invalid-feedback" style="width: 100%;"> | ||
Your username is required. | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="mb-3"> | ||
<label for="email">Email <span class="text-muted">(Optional)</span></label> | ||
<input type="email" class="form-control" id="email" placeholder="[email protected]"> | ||
<div class="invalid-feedback"> | ||
Please enter a valid email address for shipping updates. | ||
</div> | ||
</div> | ||
|
||
<div class="mb-3"> | ||
<label for="address">Address</label> | ||
<input type="text" class="form-control" id="address" placeholder="1234 Main St" required> | ||
<div class="invalid-feedback"> | ||
Please enter your shipping address. | ||
</div> | ||
</div> | ||
|
||
<div class="mb-3"> | ||
<label for="address2">Address 2 <span class="text-muted">(Optional)</span></label> | ||
<input type="text" class="form-control" id="address2" placeholder="Apartment or suite"> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-md-5 mb-3"> | ||
<label for="country">Country</label> | ||
<select class="custom-select d-block w-100" id="country" required> | ||
<option value="">Choose...</option> | ||
<option>United States</option> | ||
</select> | ||
<div class="invalid-feedback"> | ||
Please select a valid country. | ||
</div> | ||
</div> | ||
<div class="col-md-4 mb-3"> | ||
<label for="state">State</label> | ||
<select class="custom-select d-block w-100" id="state" required> | ||
<option value="">Choose...</option> | ||
<option>California</option> | ||
</select> | ||
<div class="invalid-feedback"> | ||
Please provide a valid state. | ||
</div> | ||
</div> | ||
<div class="col-md-3 mb-3"> | ||
<label for="zip">Zip</label> | ||
<input type="text" class="form-control" id="zip" placeholder="" required> | ||
<div class="invalid-feedback"> | ||
Zip code required. | ||
</div> | ||
</div> | ||
</div> | ||
<hr class="mb-4"> | ||
<div class="custom-control custom-checkbox"> | ||
<input type="checkbox" class="custom-control-input" id="same-address"> | ||
<label class="custom-control-label" for="same-address">Shipping address is the same as my billing address</label> | ||
</div> | ||
<div class="custom-control custom-checkbox"> | ||
<input type="checkbox" class="custom-control-input" id="save-info"> | ||
<label class="custom-control-label" for="save-info">Save this information for next time</label> | ||
</div> | ||
<hr class="mb-4"> | ||
|
||
<h4 class="mb-3">Payment</h4> | ||
|
||
<div class="d-block my-3"> | ||
<div class="custom-control custom-radio"> | ||
<input id="credit" name="paymentMethod" type="radio" class="custom-control-input" checked required> | ||
<label class="custom-control-label" for="credit">Credit card</label> | ||
</div> | ||
<div class="custom-control custom-radio"> | ||
<input id="debit" name="paymentMethod" type="radio" class="custom-control-input" required> | ||
<label class="custom-control-label" for="debit">Debit card</label> | ||
</div> | ||
<div class="custom-control custom-radio"> | ||
<input id="paypal" name="paymentMethod" type="radio" class="custom-control-input" required> | ||
<label class="custom-control-label" for="paypal">PayPal</label> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-6 mb-3"> | ||
<label for="cc-name">Name on card</label> | ||
<input type="text" class="form-control" id="cc-name" placeholder="" required> | ||
<small class="text-muted">Full name as displayed on card</small> | ||
<div class="invalid-feedback"> | ||
Name on card is required | ||
</div> | ||
</div> | ||
<div class="col-md-6 mb-3"> | ||
<label for="cc-number">Credit card number</label> | ||
<input type="text" class="form-control" id="cc-number" placeholder="" required> | ||
<div class="invalid-feedback"> | ||
Credit card number is required | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-3 mb-3"> | ||
<label for="cc-expiration">Expiration</label> | ||
<input type="text" class="form-control" id="cc-expiration" placeholder="" required> | ||
<div class="invalid-feedback"> | ||
Expiration date required | ||
</div> | ||
</div> | ||
<div class="col-md-3 mb-3"> | ||
<label for="cc-cvv">CVV</label> | ||
<input type="text" class="form-control" id="cc-cvv" placeholder="" required> | ||
<div class="invalid-feedback"> | ||
Security code required | ||
</div> | ||
</div> | ||
</div> | ||
<hr class="mb-4"> | ||
<button class="btn btn-primary btn-lg btn-block" type="submit">Continue to checkout</button> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
<footer class="my-5 pt-5 text-muted text-center text-small"> | ||
<p class="mb-1">© 2017-2020 Company Name</p> | ||
<ul class="list-inline"> | ||
<li class="list-inline-item"><a href="#">Privacy</a></li> | ||
<li class="list-inline-item"><a href="#">Terms</a></li> | ||
<li class="list-inline-item"><a href="#">Support</a></li> | ||
</ul> | ||
</footer> | ||
</div> | ||
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script> | ||
<script>window.jQuery || document.write('<script src="/docs/4.5/assets/js/vendor/jquery.slim.min.js"><\/script>')</script><script src="/docs/4.5/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script> | ||
<script src="form-validation.js"></script></body> | ||
</html> |
Oops, something went wrong.