Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
5063-Labs/Deserial/PickleDemo/webapp/templates/pay.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
44 lines (32 sloc)
1.13 KB
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>The Dodgy Shopper</title> | |
<meta name="author" content="aa9863@coventry.ac.uk"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> | |
</head> | |
<body> | |
<div class="container"> | |
<a href="/"> | |
<h1>Dodgy PICKLE Shopper</h1> | |
<p>Back to Home</p> | |
</a> | |
<p>Buy Widgets and Stuff</p> | |
<h2>PAY FOR STUFF</h2> | |
{% if cost > 0 %} | |
<h3>You Owe £{{ cost }}</h3> | |
<form> | |
<div class="form-group"> | |
<label for="exampleInputEmail1">Credit Card Number</label> | |
<input type="text" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email"> | |
<small id="emailHelp" class="form-text text-muted"></small> | |
</div> | |
<button class="btn btn-primary">Pay Dan</button> | |
</form> | |
{% else %} | |
<div class="alert alert-success">You Win, Have a flag CUEH{M@nual_P1kl_Mods}</div> | |
{% endif %} | |
</div> | |
</body> | |
</html> | |