126 lines
3.7 KiB
Twig
126 lines
3.7 KiB
Twig
|
|
<!DOCTYPE html>
|
||
|
|
<html dir="rtl" lang="fa">
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
|
<title>پاسخ جدید برای سوال شما</title>
|
||
|
|
<style>
|
||
|
|
body {
|
||
|
|
font-family: 'Tahoma', 'Arial', sans-serif;
|
||
|
|
direction: rtl;
|
||
|
|
text-align: right;
|
||
|
|
background-color: #f8f9fa;
|
||
|
|
margin: 0;
|
||
|
|
padding: 20px;
|
||
|
|
}
|
||
|
|
.container {
|
||
|
|
max-width: 600px;
|
||
|
|
margin: 0 auto;
|
||
|
|
background-color: #ffffff;
|
||
|
|
border-radius: 10px;
|
||
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
.header {
|
||
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||
|
|
color: white;
|
||
|
|
padding: 30px;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
.header h1 {
|
||
|
|
margin: 0;
|
||
|
|
font-size: 24px;
|
||
|
|
}
|
||
|
|
.content {
|
||
|
|
padding: 30px;
|
||
|
|
}
|
||
|
|
.question-box {
|
||
|
|
background-color: #f8f9fa;
|
||
|
|
border-right: 4px solid #007bff;
|
||
|
|
padding: 20px;
|
||
|
|
margin: 20px 0;
|
||
|
|
border-radius: 5px;
|
||
|
|
}
|
||
|
|
.question-title {
|
||
|
|
font-size: 18px;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #333;
|
||
|
|
margin-bottom: 10px;
|
||
|
|
}
|
||
|
|
.question-content {
|
||
|
|
color: #666;
|
||
|
|
line-height: 1.6;
|
||
|
|
}
|
||
|
|
.answer-box {
|
||
|
|
background-color: #e8f5e8;
|
||
|
|
border-right: 4px solid #28a745;
|
||
|
|
padding: 20px;
|
||
|
|
margin: 20px 0;
|
||
|
|
border-radius: 5px;
|
||
|
|
}
|
||
|
|
.answer-author {
|
||
|
|
font-weight: bold;
|
||
|
|
color: #28a745;
|
||
|
|
margin-bottom: 10px;
|
||
|
|
}
|
||
|
|
.answer-content {
|
||
|
|
color: #333;
|
||
|
|
line-height: 1.6;
|
||
|
|
}
|
||
|
|
.footer {
|
||
|
|
background-color: #f8f9fa;
|
||
|
|
padding: 20px;
|
||
|
|
text-align: center;
|
||
|
|
color: #666;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
.btn {
|
||
|
|
display: inline-block;
|
||
|
|
background-color: #007bff;
|
||
|
|
color: white;
|
||
|
|
padding: 12px 24px;
|
||
|
|
text-decoration: none;
|
||
|
|
border-radius: 5px;
|
||
|
|
margin: 10px 0;
|
||
|
|
}
|
||
|
|
.btn:hover {
|
||
|
|
background-color: #0056b3;
|
||
|
|
}
|
||
|
|
</style>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div class="container">
|
||
|
|
<div class="header">
|
||
|
|
<h1>پاسخ جدید برای سوال شما</h1>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="content">
|
||
|
|
<p>سلام {{ questionAuthor.name }}،</p>
|
||
|
|
|
||
|
|
<p>برای سوال شما پاسخ جدیدی دریافت کردهاید:</p>
|
||
|
|
|
||
|
|
<div class="question-box">
|
||
|
|
<div class="question-title">{{ question.title }}</div>
|
||
|
|
<div class="question-content">{{ question.content|markdown|raw }}</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="answer-box">
|
||
|
|
<div class="answer-author">پاسخ از: {{ answerAuthor.name }}</div>
|
||
|
|
<div class="answer-content">{{ answer.content|markdown|raw }}</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<p style="text-align: center;">
|
||
|
|
<a href="{{ url('qa_question_show', {'id': question.id}) }}" class="btn">
|
||
|
|
مشاهده پاسخ کامل
|
||
|
|
</a>
|
||
|
|
</p>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="footer">
|
||
|
|
<p>این ایمیل به صورت خودکار ارسال شده است. لطفاً به آن پاسخ ندهید.</p>
|
||
|
|
<p>© {{ "now"|date("Y") }} حسابیکس - سیستم حسابداری آنلاین</p>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</body>
|
||
|
|
</html>
|