zaliczeniePP/placeOnline.gtpl

153 lines
4.3 KiB
Plaintext
Raw Normal View History

2019-01-04 17:58:43 +01:00
<!DOCTYPE html>
<html lang="pl">
<head>
2019-01-05 13:15:33 +01:00
<title>Stołówka ZPM Płatności Online</title>
<h5><p style="text-align: right;">Zalogowano jako {{.UserView}} <button class="button button4"><a href="wylogowano" target="self">WYLOGUJ</a></button></p></h5>
2019-01-04 17:58:43 +01:00
<link rel="shortcut icon" href="http://www.bronowicka.zs4.lublin.eu/wp-content/uploads/cutlery-297617_1280.png" />
2019-01-05 13:15:33 +01:00
<center><img src="http://www.bronowicka.zs4.lublin.eu/wp-content/uploads/cutlery-297617_1280.png" width="150" height="100"/></center>
<style>
body {
font-family: Arial;
font-size: 17px;
padding: 8px;
}
* {
box-sizing: border-box;
}
.row {
display: -ms-flexbox; /* IE10 */
display: flex;
-ms-flex-wrap: wrap; /* IE10 */
flex-wrap: wrap;
margin: 0 -16px;
}
.col-25 {
-ms-flex: 25%; /* IE10 */
flex: 25%;
}
.col-50 {
-ms-flex: 50%; /* IE10 */
flex: 50%;
}
.col-75 {
-ms-flex: 75%; /* IE10 */
flex: 75%;
}
.col-25,
.col-50,
.col-75 {
padding: 0 16px;
}
.container {
padding: 5px 20px 15px 20px;
border: 1px solid lightgrey;
border-radius: 3px;
}
input[type=text] {
width: 100%;
margin-bottom: 20px;
padding: 12px;
border: 1px solid #ccc;
border-radius: 3px;
}
label {
margin-bottom: 10px;
display: block;
}
.btn {
background-color: #4CAF50;
color: white;
padding: 12px;
margin: 10px 0;
border: none;
width: 100%;
border-radius: 3px;
cursor: pointer;
font-size: 17px;
}
span.price {
float: right;
color: grey;
}
2019-01-05 14:32:56 +01:00
2019-01-05 13:15:33 +01:00
</style>
2019-01-04 17:58:43 +01:00
</head>
<body>
2019-01-05 13:15:33 +01:00
<h1><center>Formularz do płatności online</center></h1>
<h4><b><p style="text-indent: 2%;"><a href="http://localhost:9197/platnosci">Anuluj</a></p></b></h4>
<div class="row">
<div class="col-75">
<div class="container">
2019-01-05 14:32:56 +01:00
<form action="/zaplacono" method="POST">
2019-01-05 13:15:33 +01:00
<div class="row">
<div class="col-50">
<h3>Adres rozliczeniowy</h3>
<label for="fname"><i class="fa fa-user"></i> Imie</label>
<input type="text" id="fname" name="firstname" placeholder="Krystian Kłopocki">
<label for="email"><i class="fa fa-envelope"></i> E-mail</label>
<input type="text" id="email" name="email" placeholder="kryklo@st.amu.edu.pl">
<label for="adr"><i class="fa fa-address-card-o"></i> Addres</label>
<input type="text" id="adr" name="address" placeholder="os. Zielony Zakątek 73/1">
<label for="city"><i class="fa fa-institution"></i> Miasto</label>
<input type="text" id="city" name="city" placeholder="Poznań">
2019-01-04 17:58:43 +01:00
<div class="row">
<div class="col-50">
2019-01-05 13:15:33 +01:00
<label for="state">Poczta (miasto)</label>
<input type="text" id="state" name="state" placeholder="Poznań">
2019-01-04 17:58:43 +01:00
</div>
<div class="col-50">
2019-01-05 13:15:33 +01:00
<label for="zip">Kod pocztowy</label>
<input type="text" id="zip" name="zip" placeholder="60-107">
2019-01-04 17:58:43 +01:00
</div>
</div>
</div>
<div class="col-50">
2019-01-05 14:32:56 +01:00
<h3>Karta debetowa</h3>
2019-01-05 13:15:33 +01:00
<label for="cname">Imię na karcie</label>
<input type="text" id="cname" name="cardname" placeholder="Krystian Kłopocki">
<label for="ccnum">Numer karty kredytowej</label>
2019-01-04 17:58:43 +01:00
<input type="text" id="ccnum" name="cardnumber" placeholder="1111-2222-3333-4444">
2019-01-05 13:15:33 +01:00
<label for="expmonth">Miesiąc ważności</label>
<input type="text" id="expmonth" name="expmonth" placeholder="Maj">
2019-01-04 17:58:43 +01:00
<div class="row">
<div class="col-50">
2019-01-05 13:15:33 +01:00
<label for="expyear">Rok ważności</label>
<input type="text" id="expyear" name="expyear" placeholder="2021">
2019-01-04 17:58:43 +01:00
</div>
<div class="col-50">
<label for="cvv">CVV</label>
2019-01-05 13:15:33 +01:00
<input type="text" id="cvv" name="cvv" placeholder="469">
2019-01-04 17:58:43 +01:00
</div>
</div>
</div>
</div>
<label>
2019-01-05 13:15:33 +01:00
<input type="checkbox" checked="checked" name="sameadr"> Adres do faktury taki sam jak powyżej
2019-01-04 17:58:43 +01:00
</label>
2019-01-05 14:32:56 +01:00
<input type="submit" value="Kontynuuj płacenie" class="btn">
2019-01-04 17:58:43 +01:00
</form>
2019-01-05 13:15:33 +01:00
</div>
</div>
<div class="col-25">
<div class="container">
2019-01-05 14:32:56 +01:00
<p><h3>Całkowity koszt <span class="price" style="color:black"><b>{{.Zaplac}} zł</b></h3></span></p>
2019-01-04 17:58:43 +01:00
</div>
</div>
</div>
</body>
2019-01-05 13:15:33 +01:00
</html>