update
This commit is contained in:
34
templates/osint/approve_auto_report.html
Normal file
34
templates/osint/approve_auto_report.html
Normal file
@@ -0,0 +1,34 @@
|
||||
{% 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">
|
||||
<p class="form-description">
|
||||
Сигурни ли сте, че искате да одобрите този автоматично генериран доклад?
|
||||
Това ще създаде публичен доклад, който ще бъде видим в платформата.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-success">Да, Одобри</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