Files
OSINT/templates/reports/contact.html
Iliyan Angelov ed94dd22dd update
2025-11-26 22:32:20 +02:00

356 lines
12 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends 'base.html' %}
{% block title %}Свържете се с нас - Контакти{% endblock %}
{% block extra_css %}
<style>
.contact-hero {
background: linear-gradient(135deg, var(--gov-primary) 0%, var(--gov-primary-dark) 100%);
color: var(--gov-white);
padding: 4rem 3rem;
border-radius: 16px;
margin-bottom: 3rem;
text-align: center;
box-shadow: 0 12px 48px rgba(0, 51, 102, 0.3);
position: relative;
overflow: hidden;
}
.contact-hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
opacity: 0.4;
}
.contact-hero > * {
position: relative;
z-index: 1;
}
.contact-hero h1 {
font-family: 'Roboto Slab', serif;
font-size: 3rem;
margin-bottom: 1.5rem;
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
font-weight: 700;
letter-spacing: -0.5px;
}
.contact-hero p {
font-size: 1.3rem;
opacity: 0.95;
line-height: 1.9;
max-width: 700px;
margin: 0 auto;
font-weight: 300;
}
.contact-form-container {
max-width: 900px;
margin: 0 auto 3rem;
}
.form-section-header {
background: linear-gradient(135deg, var(--gov-primary) 0%, var(--gov-primary-dark) 100%);
color: var(--gov-white);
padding: 2rem 2.5rem;
border-radius: 12px 12px 0 0;
margin-bottom: 0;
position: relative;
overflow: hidden;
}
.form-section-header::before {
content: '';
position: absolute;
top: -50%;
right: -10%;
width: 200px;
height: 200px;
background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
border-radius: 50%;
}
.form-section-header h2 {
font-family: 'Roboto Slab', serif;
margin: 0;
font-size: 2rem;
position: relative;
z-index: 1;
display: flex;
align-items: center;
gap: 1rem;
}
.form-section-header h2::before {
content: '✉️';
font-size: 2rem;
}
.contact-form-card {
background: var(--gov-white);
border-radius: 0 0 12px 12px;
box-shadow: 0 8px 32px rgba(0, 51, 102, 0.15);
border: 1px solid var(--gov-border);
overflow: hidden;
}
.contact-form-body {
padding: 3rem;
background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}
.form-group label {
font-weight: 600;
color: var(--gov-primary);
margin-bottom: 0.75rem;
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.95rem;
}
.form-group label::before {
content: '▸';
color: var(--gov-secondary);
font-size: 0.8rem;
}
.form-control {
border: 2px solid var(--gov-border);
border-radius: 8px;
padding: 0.875rem 1.25rem;
font-size: 1rem;
transition: all 0.3s ease;
background: var(--gov-white);
}
.form-control:focus {
border-color: var(--gov-secondary);
box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
outline: none;
transform: translateY(-1px);
}
textarea.form-control {
min-height: 150px;
resize: vertical;
}
.form-actions {
margin-top: 2.5rem;
padding-top: 2rem;
border-top: 2px solid var(--gov-gray-light);
display: flex;
gap: 1rem;
justify-content: flex-end;
}
.form-actions .btn {
padding: 1rem 2.5rem;
font-size: 1.05rem;
font-weight: 600;
border-radius: 8px;
min-width: 180px;
}
.faq-section {
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
border-radius: 12px;
overflow: hidden;
}
.faq-item {
padding: 1.5rem;
border-bottom: 1px solid var(--gov-gray-light);
transition: all 0.3s ease;
}
.faq-item:last-child {
border-bottom: none;
}
.faq-item:hover {
background: rgba(0, 102, 204, 0.03);
padding-left: 2rem;
}
.faq-item h3 {
color: var(--gov-primary);
margin-bottom: 0.75rem;
font-size: 1.2rem;
display: flex;
align-items: center;
gap: 0.75rem;
}
.faq-item h3::before {
content: '❓';
font-size: 1.5rem;
}
.faq-item p {
color: var(--gov-gray);
line-height: 1.8;
margin: 0;
}
.faq-item a {
color: var(--gov-secondary);
font-weight: 600;
text-decoration: none;
transition: color 0.3s ease;
}
.faq-item a:hover {
color: var(--gov-primary);
text-decoration: underline;
}
@media (max-width: 768px) {
.contact-hero {
padding: 2.5rem 1.5rem;
}
.contact-hero h1 {
font-size: 2rem;
}
.contact-hero p {
font-size: 1.1rem;
}
.contact-form-body {
padding: 2rem 1.5rem;
}
.form-section-header {
padding: 1.5rem;
}
.form-section-header h2 {
font-size: 1.5rem;
}
.form-actions {
flex-direction: column;
}
.form-actions .btn {
width: 100%;
}
}
</style>
{% endblock %}
{% block content %}
<!-- Hero Section -->
<div class="contact-hero">
<h1>Свържете се с нас</h1>
<p>Имате въпрос, предложение или нужда от помощ? Нашият екип е готов да ви помогне.</p>
</div>
<!-- Contact Form -->
<div class="contact-form-container">
<div class="contact-form-card">
<div class="form-section-header">
<h2>Изпратете ни съобщение</h2>
</div>
<div class="contact-form-body">
<form method="post">
{% csrf_token %}
{# Hidden bot protection fields #}
{% for field in form.hidden_fields %}
{{ field }}
{% endfor %}
<div class="form-row">
<div class="form-group">
<label for="{{ form.name.id_for_label }}">{{ form.name.label }}</label>
{{ form.name }}
{% if form.name.errors %}
<div class="error-message">{{ form.name.errors }}</div>
{% endif %}
</div>
<div class="form-group">
<label for="{{ form.email.id_for_label }}">{{ form.email.label }}</label>
{{ form.email }}
{% if form.email.errors %}
<div class="error-message">{{ form.email.errors }}</div>
{% endif %}
</div>
</div>
<div class="form-group">
<label for="{{ form.inquiry_type.id_for_label }}">{{ form.inquiry_type.label }}</label>
{{ form.inquiry_type }}
{% if form.inquiry_type.errors %}
<div class="error-message">{{ form.inquiry_type.errors }}</div>
{% endif %}
</div>
<div class="form-group">
<label for="{{ form.subject.id_for_label }}">{{ form.subject.label }}</label>
{{ form.subject }}
{% if form.subject.errors %}
<div class="error-message">{{ form.subject.errors }}</div>
{% endif %}
</div>
<div class="form-group">
<label for="{{ form.message.id_for_label }}">{{ form.message.label }}</label>
{{ form.message }}
{% if form.message.errors %}
<div class="error-message">{{ form.message.errors }}</div>
{% endif %}
<small class="form-text">Моля, опишете подробно вашия въпрос или проблем.</small>
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary">Изпрати Съобщение</button>
<a href="{% url 'reports:home' %}" class="btn btn-secondary">Отказ</a>
</div>
</form>
</div>
</div>
</div>
<!-- Additional Information -->
<div class="gov-card faq-section" style="margin-top: 3rem;">
<div class="gov-card-header">
<h2>Често задавани въпроси</h2>
<p style="color: var(--gov-gray); margin-top: 0.5rem; font-weight: normal;">Най-често задавани въпроси и отговори</p>
</div>
<div class="gov-card-body" style="padding: 0;">
<div class="faq-item">
<h3>Как да докладвам измама?</h3>
<p>Можете да докладвате измама като използвате формата за <a href="{% url 'reports:create' %}">докладване</a>. Моля, предоставете всички налични детайли за да помогнем на другите граждани.</p>
</div>
<div class="faq-item">
<h3>Колко време отнема прегледът на доклад?</h3>
<p>Нашият екип преглежда всички доклади в рамките на 2-5 работни дни. Ще получите уведомление по имейл когато докладът ви бъде прегледан.</p>
</div>
<div class="faq-item">
<h3>Мога ли да остана анонимен?</h3>
<p>Да, можете да докладвате анонимно. Вашата лична информация ще бъде защитена и няма да бъде разкрита публично.</p>
</div>
<div class="faq-item">
<h3>Как да проверя статуса на моя доклад?</h3>
<p>Ако сте регистриран потребител, можете да видите статуса на всички ваши доклади в секцията <a href="{% url 'reports:my_reports' %}">Моите Доклади</a>.</p>
</div>
</div>
</div>
{% endblock %}