update
This commit is contained in:
33
templates/osint/reject_auto_report.html
Normal file
33
templates/osint/reject_auto_report.html
Normal file
@@ -0,0 +1,33 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}Отхвърляне на Автоматичен Доклад{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="form-container">
|
||||
<h2>Отхвърляне на Автоматичен Доклад</h2>
|
||||
|
||||
<div class="gov-card" style="margin-bottom: 2rem;">
|
||||
<h3>{{ object.title }}</h3>
|
||||
<p><strong>Източник:</strong> <a href="{{ object.source_url }}" target="_blank" rel="noopener">{{ object.source_url }}</a></p>
|
||||
<p><strong>Увереност:</strong> {{ object.confidence_score }}%</p>
|
||||
<div style="background: var(--gov-light); padding: 1rem; border-radius: 6px; margin-top: 1rem;">
|
||||
{{ object.description|truncatewords:100 }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<div class="form-group">
|
||||
<label for="review_notes">Причина за Отхвърляне (по избор):</label>
|
||||
<textarea name="review_notes" id="review_notes" class="form-control" rows="4"
|
||||
placeholder="Обяснете защо отхвърляте този доклад..."></textarea>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-danger">Отхвърли</button>
|
||||
<a href="{% url 'osint:auto_report_detail' object.pk %}" class="btn btn-secondary">Отказ</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user