final?
This commit is contained in:
parent
dd1e910417
commit
07ebadcdde
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
Binary file not shown.
|
@ -34,7 +34,6 @@ urlpatterns = [
|
|||
path('check_choice/main', index_page),
|
||||
path('check_choice/tickets.html', tickets_page)
|
||||
|
||||
|
||||
|
||||
|
||||
]
|
||||
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 241 KiB |
Binary file not shown.
After Width: | Height: | Size: 104 KiB |
Binary file not shown.
After Width: | Height: | Size: 222 KiB |
Binary file not shown.
After Width: | Height: | Size: 98 KiB |
|
@ -4,10 +4,70 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial;
|
||||
background-image: url('{% static "bg_main.jpg" %}' );
|
||||
background-size: 110vw;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>Вы успешно оплатили {{total_price}} P.
|
||||
<br>Возьмите пожалуйста чек
|
||||
<div class="container" style="margin-top: 15%">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-5">
|
||||
<div class="message-box _success">
|
||||
<img src="{% static 'success.jpg'%}" width="20%">
|
||||
<i class="fa fa-check-circle" aria-hidden="true"></i>
|
||||
<h2> Your payment was successful </h2>
|
||||
<p> Thank you for your payment. we will <br>
|
||||
be in contact with more details shortly </p>
|
||||
<meta http-equiv="refresh" content="5; url=main" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
<style>
|
||||
.centered-div {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
._failed{ border-bottom: solid 4px red !important; }
|
||||
._failed i{ color:red !important; }
|
||||
|
||||
._success {
|
||||
box-shadow: 0 15px 25px #00000019;
|
||||
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin: 40px auto;
|
||||
border-bottom: solid 4px #28a745;
|
||||
}
|
||||
|
||||
._success i {
|
||||
font-size: 55px;
|
||||
color: #28a745;
|
||||
}
|
||||
|
||||
._success h2 {
|
||||
margin-bottom: 12px;
|
||||
font-size: 40px;
|
||||
font-weight: 500;
|
||||
line-height: 1.2;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
._success p {
|
||||
margin-bottom: 0px;
|
||||
font-size: 18px;
|
||||
color: #495057;
|
||||
font-weight: 500;
|
||||
}
|
||||
</style>
|
|
@ -6,24 +6,26 @@
|
|||
<title>Title</title>
|
||||
<style>
|
||||
body {
|
||||
background-image: url('{% static "bg6.jpg" %}' );
|
||||
background-size: inherit;
|
||||
background-image: url('{% static "bg_main.jpg" %}' );
|
||||
background-size: 110vw;
|
||||
background-repeat: no-repeat;
|
||||
font-family: Arial;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="font-size: 50px;background-color: #eceeef; width: 45%; border-radius: 10px; margin-top: 10% ; margin-left: 5%" >
|
||||
<div style="color: black">Ваш выбор: <br> {{tickets.0}} - {{quantity1}}
|
||||
<br> {{tickets.1}} - {{quantity2}}
|
||||
<br> {{tickets.2}} - {{quantity3}}
|
||||
<div style="font-size: 50px; width: 45%; border-radius: 10px; margin-top: 10% ; margin-left: 30%" >
|
||||
<div style="color: black" class="centered-div">Ваш выбор: <br> {{tickets.0}} - {{quantity1}} шт.
|
||||
<br> {{tickets.1}} - {{quantity2}} шт.
|
||||
<br> {{tickets.2}} - {{quantity3}} шт.
|
||||
<br> Сумма к оплате - {{total_price}} P.
|
||||
</div>
|
||||
|
||||
<div class="centered-div" >Выберите способ оплаты:
|
||||
<br>
|
||||
<a href="#openQR" ><img src='{% static "sbp.jpg"%}'></a>
|
||||
<a href="#openQR" ><img src='{% static "sbp.jpg"%}' width="20%"></a>
|
||||
<a href="#opencash" ><img src='{% static "cash.jpg"%}' width="20%"></a>
|
||||
<a href="#openBN" ><img src='{% static "webmoney.jpg"%}' width="20%"></a>
|
||||
<a href="#openBN" ><img src='{% static "webmoney.jpg"%}' width="24%"></a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -32,14 +34,14 @@
|
|||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h3 class="modal-title">Заголовок</h3>
|
||||
|
||||
<a href="#close" title="Close" class="close">×</a>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<ul>
|
||||
<li><a href="QR.html" ><img src="http://qrcoder.ru/code/?http%3A%2F%2F127.0.0.1%3A8000%2Fcheck_choice%2FQR.html&4&0" width="148" height="148" border="0" title="QR код"></a></li>
|
||||
<meta http-equiv="refresh" content="3;url=main" />
|
||||
</ul>
|
||||
<div class="modal-body centered-div">
|
||||
|
||||
<a href="QR.html" ><img src="http://qrcoder.ru/code/?http%3A%2F%2F127.0.0.1%3A8000%2Fcheck_choice%2FQR.html&4&0" width="350" height="350" border="0" title="QR код"></a>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -49,15 +51,15 @@
|
|||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h3 class="modal-title">Заголовок</h3>
|
||||
|
||||
<a href="#close" title="Close" class="close">×</a>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<ul>
|
||||
<li>Внесите в купюроприемник сумму наличных, равную {{total_price}} P.</li>
|
||||
<meta http-equiv="refresh" content="3;url=main" />
|
||||
<div class="modal-body centered-div" style="font-size: 32px">
|
||||
|
||||
Внесите в купюроприемник сумму наличных, равную {{total_price}} P. и нажмите "Далее"
|
||||
<a href="QR.html"><br><br><button style="font-size: 32px" >Далее</button></a>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -67,15 +69,15 @@
|
|||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h3 class="modal-title">Заголовок</h3>
|
||||
|
||||
<a href="#close" title="Close" class="close">×</a>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<ul>
|
||||
<li>Cледуйте инструкциям на терминале</li>
|
||||
<meta http-equiv="refresh" content="3;url=main" />
|
||||
<div class="modal-body centered-div" style="font-size: 32px">
|
||||
|
||||
Cледуйте инструкциям на терминале
|
||||
<a href="QR.html"><br><br><button style="font-size: 32px" >Далее</button></a>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -83,6 +85,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -121,7 +125,7 @@
|
|||
}
|
||||
@media (min-width: 576px) {
|
||||
.modal-dialog {
|
||||
max-width: 500px;
|
||||
max-width: 750px;
|
||||
margin: 30px auto; /* отображение окна по центру */
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,12 +9,15 @@
|
|||
<title>Title</title>
|
||||
<style>
|
||||
body {
|
||||
background-image: url('{% static "bg.jpg" %}');
|
||||
background-image: url('{% static "bg_main.jpg" %}');
|
||||
font-family: Arial;
|
||||
background-size: 110vw;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body >
|
||||
<h1 class="centered-div" style="font-size: 72px; margin-bottom: 50px;">ЗООПАРК "СКАЗКА"</h1>
|
||||
<body style="font-family: 'Fredoka One', cursive">
|
||||
<h1 class="centered-div" style="font-size: 72px; margin-bottom: 50px;">Симферопольский Зоопарк</h1>
|
||||
<div class="centered-div">
|
||||
<a href="tickets.html"><button type="button" style="width: 800px; height: 150px; font-size: 50px; opacity: 0.7; margin-bottom: 50px; border-radius: 10px;">Билеты</button></a>
|
||||
</div>
|
||||
|
@ -22,7 +25,23 @@
|
|||
<a href="#info"><button type="button" style="width: 800px; height: 150px; font-size: 50px; opacity: 0.7; margin-bottom: 50px; border-radius: 10px;">Наши правила</button></a>
|
||||
</div>
|
||||
|
||||
<div id="info" class="modal">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h3 class="modal-title">Заголовок</h3>
|
||||
<a href="#close" title="Close" class="close">×</a>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<ul>
|
||||
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc,</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="{% static '/js/jquery-3.7.1.min.js' %}"></script>
|
||||
<script src="{% static '/js/custom.js' %}"></script>
|
||||
</body>
|
||||
|
|
|
@ -9,21 +9,25 @@
|
|||
<title>Tickets</title>
|
||||
<style>
|
||||
body {
|
||||
background-image: url('{% static "bg5.jpg" %}');
|
||||
background-image: url('{% static "bg_main.jpg" %}');
|
||||
opacity: 100%;
|
||||
font-family: Arial;
|
||||
background-size: 110vw;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="centered-div" style="font-size: 72px; margin-bottom: 50px; margin-top: 0; color: mediumseagreen">Пожалуйста, выберите тип билетов и укажите их количество</h1>
|
||||
<h1 class="centered-div" style="font-size: 72px; margin-bottom: 50px; margin-top: 0; ">Пожалуйста, выберите тип билетов и укажите их количество</h1>
|
||||
<form action="{% url 'check_choice' %}" >
|
||||
|
||||
<table style="margin-left: 300px">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="color: mediumseagreen; font-size: 50px"> Наименование</th>
|
||||
<th style="color: mediumseagreen; font-size: 50px; padding-left: 100px"> Цена</th>
|
||||
<th style="color: mediumseagreen; font-size: 50px; padding-left: 100px""> Количество</th>
|
||||
<th style=" font-size: 50px"> Наименование</th>
|
||||
<th style=" font-size: 50px; padding-left: 100px"> Цена</th>
|
||||
<th style=" font-size: 50px; padding-left: 100px""> Количество</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -31,9 +35,9 @@
|
|||
<tr>
|
||||
|
||||
<td class="centered-div"><button type="button" style="width: 650px; height: 90px; font-size: 50px; opacity: 0.7; margin-bottom: 50px; border-radius: 10px;">{{tickets.0}} </button></td>
|
||||
<td class="centered-div"><button style="width: 250px; height: 90px; font-size: 50px; opacity: 0.7; margin-bottom: 50px; margin-left: 100px; border-radius: 10px;"> {{tickets.0.price}} P. </button></td>
|
||||
<td class="centered-div"><button type="button" style="width: 250px; height: 90px; font-size: 50px; opacity: 0.7; margin-bottom: 50px; margin-left: 100px; border-radius: 10px;"> {{tickets.0.price}} P. </button></td>
|
||||
<td class="centered-div product-data">
|
||||
<button style="border: none; background: transparent; margin-bottom: 75px"><span class="change minus" style="font-size: 75px; color: mediumseagreen; margin-left: 10px; font-weight: bold">
|
||||
<button style="border: none; background: transparent; margin-bottom: 75px"><span class="change minus" style="font-size: 75px; color: red; margin-left: 10px; font-weight: bold">
|
||||
-
|
||||
</span>
|
||||
<input type="text" class="qty-input" value="{{tickets.0.quantity}}" name="ticket1" style="border: none; font-size: 50px; width: 25px; background: transparent;">
|
||||
|
@ -46,9 +50,9 @@
|
|||
|
||||
<tr>
|
||||
<td class="centered-div"><button type="button" style="width: 650px; height: 90px; font-size: 50px; opacity: 0.7; margin-bottom: 50px; border-radius: 10px;">{{tickets.1}} </button></td>
|
||||
<td class="centered-div"><button style="width: 250px; height: 90px; font-size: 50px; opacity: 0.7; margin-bottom: 50px; margin-left: 100px; border-radius: 10px;"> {{tickets.1.price}} P. </button></td>
|
||||
<td class="centered-div"><button type="button" style="width: 250px; height: 90px; font-size: 50px; opacity: 0.7; margin-bottom: 50px; margin-left: 100px; border-radius: 10px;"> {{tickets.1.price}} P. </button></td>
|
||||
<td class="centered-div product-data">
|
||||
<button style="border: none; background: transparent; margin-bottom: 75px"> <span class="change minus" style="font-size: 75px; color: mediumseagreen; margin-left: 10px; font-weight: bold">
|
||||
<button style="border: none; background: transparent; margin-bottom: 75px"> <span class="change minus" style="font-size: 75px; color: red; margin-left: 10px; font-weight: bold">
|
||||
-
|
||||
</span>
|
||||
<input type="text" class="qty-input" value="{{tickets.1.quantity}}" name="ticket2" style="border: none; font-size: 50px; width: 25px; background: transparent;">
|
||||
|
@ -59,9 +63,9 @@
|
|||
|
||||
<tr>
|
||||
<td class="centered-div"><button type="button" style="width: 650px; height: 90px; font-size: 50px; opacity: 0.7; margin-bottom: 50px; border-radius: 10px;">{{tickets.2}} </button></td>
|
||||
<td class="centered-div"><button style="width: 250px; height: 90px; font-size: 50px; opacity: 0.7; margin-bottom: 50px; margin-left: 100px; border-radius: 10px;"> {{tickets.2.price}} P. </button></td>
|
||||
<td class="centered-div"><button type="button" style="width: 250px; height: 90px; font-size: 50px; opacity: 0.7; margin-bottom: 50px; margin-left: 100px; border-radius: 10px;"> {{tickets.2.price}} P. </button></td>
|
||||
<td class="centered-div product-data">
|
||||
<button style="border: none; background: transparent; margin-bottom: 75px"><span class="change minus" style="font-size: 75px; color: mediumseagreen; margin-left: 10px; font-weight: bold">
|
||||
<button style="border: none; background: transparent; margin-bottom: 75px"><span class="change minus" style="font-size: 75px; color: red; margin-left: 10px; font-weight: bold">
|
||||
-
|
||||
</span>
|
||||
<input type="text" class="qty-input" value="{{tickets.2.quantity}}" name="ticket3" style="border: none; font-size: 50px; width: 25px; background: transparent;">
|
||||
|
@ -100,6 +104,9 @@
|
|||
</form>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div style="color: darkred; font-size: 24px;">* Сопровождающие льготных посетителей приобретают "Взрослый билет". Льготникам потребуется показать документы на право льготы охраннику</div>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue