mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-25 06:57:19 +00:00
79 lines
1.9 KiB
Django/Jinja
79 lines
1.9 KiB
Django/Jinja
{% extends 'base.html.j2' %}
|
|
|
|
{% block title %}
|
|
Resolve Report {{ report.id }}
|
|
{% endblock title %}
|
|
|
|
{% block content_before %}
|
|
Resolve Report {{ report.id }}
|
|
{% endblock content_before %}
|
|
|
|
{% block content %}
|
|
<form method=post>
|
|
{{ form.csrf_token }}
|
|
<div class="card shadow-sm mx-auto pb-3 bg-dark border-primary" style="width: 20rem;">
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="col text-right">
|
|
Message:
|
|
</div>
|
|
<div class="col">
|
|
{{ report.body }}
|
|
</div>
|
|
</div>
|
|
<br/>
|
|
|
|
<div class="row">
|
|
<div class="col text-right">
|
|
Client Version:
|
|
</div>
|
|
<div class="col">
|
|
{{ report.client_version }}
|
|
</div>
|
|
</div>
|
|
<br/>
|
|
|
|
<div class="row">
|
|
<div class="col text-right">
|
|
Other Player:
|
|
</div>
|
|
<div class="col">
|
|
{% set other_char = report.other_player_id|parse_other_player_id %}
|
|
{% if other_char %}
|
|
<a role="button" class="btn btn-primary btn btn-block"
|
|
href='{{url_for('characters.view', id=other_char[0])}}'>
|
|
{{other_char[1]}}
|
|
</a>
|
|
{% else %}
|
|
None
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
<br/>
|
|
|
|
<div class="row">
|
|
<div class="col text-right">
|
|
Type:
|
|
</div>
|
|
<div class="col">
|
|
{{ report.selection[2:-1]|lu_translate }}
|
|
</div>
|
|
</div>
|
|
<br/>
|
|
|
|
<div class="row">
|
|
<div class="col text-right">
|
|
Submitted:
|
|
</div>
|
|
<div class="col">
|
|
{{ report.submitted }}
|
|
</div>
|
|
</div>
|
|
<br/>
|
|
{{ helper.render_field(form.resolution) }}
|
|
{{ helper.render_submit_field(form.submit) }}
|
|
</div>
|
|
</div>
|
|
</form>
|
|
{% endblock content %}
|