Conversion_Kitchen_Code/kitchen_counter/conversion/templates/conversion/thanksbook.html

65 lines
1.8 KiB
HTML
Executable File

{% extends "mnfapp/base.html" %} {% load static %} {% block content %}
<!DOCTYPE html>
<html lang="en">
<head>
<title>Conversion Studio</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<style>
.templ {
background-color: #666;
font-family: Arial, Helvetica, sans-serif;
padding: 30px;
text-align: center;
font-size: 25px;
color: white;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
</head>
<body>
<div id="mulitligule" class="templ">
<p>
Thanks for providing your precious time to Use our Book conversion
service. You will be notified your conversion status as soon as possible
via email.
</p>
<br />
<button type="button" class="btn btn-primary">
<a
href="{%url 'convert_book' %}"
style="text-decoration: none; color: white"
>Back to Home</a
>
</button>
</div>
</body>
<script>
$.ajax({
type: "GET",
data: {
book_id: "{{book_id}}",
restrict_to_five: "{{restrict_to_five}}",
},
url: "{% url 'my_book' %}",
contentType: "application/json",
statusCode: {
200: function () {
console.log("Book Conversion Generated Successfully!");
},
},
});
</script>
</html>
{% endblock %}