175 lines
No EOL
4.6 KiB
HTML
175 lines
No EOL
4.6 KiB
HTML
{% load static %}
|
|
{% load crispy_forms_tags %}
|
|
{% load jalali_tags %}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="fa" dir="rtl">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Payment Successful</title>
|
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700&display=swap" rel="stylesheet">
|
|
|
|
<style>
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: 'Vazirmatn', sans-serif;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
|
|
.mobile-frame {
|
|
width: 390px;
|
|
height: 844px;
|
|
background-color: #ffffff;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
|
|
padding: 30px;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.screen-content {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
|
|
.message-section {
|
|
width: 100%;
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.success-icon {
|
|
width: 50px;
|
|
height: 50px;
|
|
background-color: #4CAF50;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: white;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.title {
|
|
color: #333;
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
margin-top: 20px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.subtitle {
|
|
color: #757575;
|
|
font-size: 0.9rem;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.divider {
|
|
width: 100%;
|
|
height: 1px;
|
|
background-color: #eeeeee;
|
|
border: none;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.amount-row {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.amount-label {
|
|
color: #757575;
|
|
}
|
|
|
|
.amount-value {
|
|
color: #4CAF50;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.placeholder-link {
|
|
color: #bdbdbd;
|
|
font-size: 0.9rem;
|
|
text-decoration: underline;
|
|
margin-top: 100px;
|
|
}
|
|
|
|
|
|
.button-container {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.btn {
|
|
width: 100%;
|
|
padding: 15px;
|
|
border: none;
|
|
border-radius: 20px;
|
|
font-size: 1.1rem;
|
|
font-weight: bold;
|
|
font-family: 'Vazirmatn', sans-serif;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #6931c9;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #7745ce;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="mobile-frame">
|
|
<div class="screen-content">
|
|
|
|
<div class="message-section">
|
|
<div class="success-icon">✓</div>
|
|
<p class="title">پرداخت موفق</p>
|
|
<p class="subtitle">پرداخت با موفقیت انجام شد.</p>
|
|
<hr class="divider">
|
|
<div class="amount-row">
|
|
<span class="amount-label">مقدار پرداخت شده:</span>
|
|
<span class="amount-value">{{ object.amount }} تومان</span>
|
|
</div>
|
|
<a href="https://addwin.ir" class="placeholder-link">addwin</a>
|
|
</div>
|
|
|
|
<div class="button-container">
|
|
<form action="{{ request.get_full_path }}" method="post" enctype="multipart/form-data">
|
|
{% csrf_token %}
|
|
{{ form|crispy }}
|
|
<button class="btn btn-primary" name="redirect-to-app" value="true">بازگشت به صفحه اصلی</button>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html> |