blob: aed4b8499392f724e49535391e349ad756dc8495 [file] [log] [blame]
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +01001<div class="modal fade" id="qidDetailModal" tabindex="-1" role="dialog" aria-hidden="true">
2 <div class="modal-dialog modal-lg">
3 <div class="modal-content">
4 <div class="modal-header">
5 <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span></button>
6 <h3 class="modal-title"><i class="bi bi-info-circle-fill"></i> {{ lang.quarantine.qitem }}</h3>
7 </div>
8 <div class="modal-body">
9 <div id="qid_error" style="display:none" class="alert alert-danger"></div>
10 <div class="form-group">
11 <label for="qid_detail_symbols"><h4>{{ lang.quarantine.rspamd_result }}:</h4></label>
12 <p>{{ lang.quarantine.spam_score }}: <span id="qid_detail_score"></span></p>
13 <hr>
14 <p id="qid_detail_symbols"></p>
15 </div>
16 <div class="form-group">
17 <label for="qid_detail_subj"><h4>{{ lang.quarantine.subj }}:</h4></label>
18 <p id="qid_detail_subj"></p>
19 </div>
20 <div class="form-group">
21 <label for="qid_detail_recipients"><h4>{{ lang.quarantine.recipients }}:</h4></label>
22 <p id="qid_detail_recipients"></p>
23 </div>
24 <div class="form-group">
25 <label for="qid_detail_hfrom"><h4>{{ lang.quarantine.sender_header }}:</h4></label>
26 <p><span class="mail-address-item" id="qid_detail_hfrom"></span></p>
27 </div>
28 <div class="form-group">
29 <label for="qid_detail_efrom"><h4>{{ lang.quarantine.sender }}:</h4></label>
30 <p><span class="mail-address-item" id="qid_detail_efrom"></span></p>
31 </div>
32 <div class="form-group">
33 <label for="qid_detail_fuzzy"><h4>Fuzzy Hashes:</h4></label>
34 <p id="qid_detail_fuzzy"></p>
35 </div>
36 <div class="form-group" id="qTextPlain">
37 <label for="qid_detail_text"><h4>{{ lang.quarantine.text_plain_content }}:</h4></label>
38 <pre id="qid_detail_text"></pre>
39 </div>
40 <div class="form-group" id="qTextHtml">
41 <label for="qid_detail_text_from_html"><h4>{{ lang.quarantine.text_from_html_content }}:</h4></label>
42 <pre id="qid_detail_text_from_html"></pre>
43 </div>
44 {% if acl.quarantine_attachments == 1 %}
45 <div class="form-group">
46 <label for="qid_detail_atts"><h4>{{ lang.quarantine.atts }}:</h4></label>
47 <div id="qid_detail_atts">-</div>
48 </div>
49 {% endif %}
50 <div class="btn-group dropup" data-acl="{{ acl.quarantine }}">
51 <a class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" href="#">{{ lang.quarantine.quick_actions }} <span class="caret"></span></a>
52 <ul class="dropdown-menu">
53 <li><a data-action="edit_selected" data-id="qitems_single" data-item="" data-api-url='edit/qitem' data-api-attr='{"action":"release"}' href="#">{{ lang.quarantine.deliver_inbox }}</a></li>
54 <li role="separator" class="divider"></li>
55 <li><a data-action="edit_selected" data-id="qitems_single" data-item="" data-api-url='edit/qitem' data-api-attr='{"action":"learnspam"}' href="#">{{ lang.quarantine.learn_spam_delete }}</a></li>
56 <li role="separator" class="divider"></li>
57 <li><a data-id="qitems_single" data-item="" id="quick_download_link" href="#">{{ lang.quarantine.download_eml }}</a></li>
58 <li role="separator" class="divider"></li>
59 <li><a data-id="qitems_single" data-item="" id="quick_release_link" href="#">{{ lang.quarantine.quick_release_link }}</a></li>
60 <li><a data-id="qitems_single" data-item="" id="quick_delete_link" href="#">{{ lang.quarantine.quick_delete_link }}</a></li>
61 <li role="separator" class="divider"></li>
62 <li><a data-action="delete_selected" data-id="qitems_single" data-item="" data-api-url='delete/qitem' href="#">{{ lang.quarantine.remove }}</a></li>
63 </ul>
64 </div>
65 </div>
66 </div>
67 </div>
68</div>