proxadmin/app/templates/panel/support_item.html

29 lines
944 B
HTML
Raw Normal View History

{% block support_item %}
2018-04-22 18:00:05 -04:00
{% if support != None %}
<div class="panel panel-default" style="margin-top: 0px">
<div class="panel-heading" href="#support{{ support.pid }}" aria-expanded="true" aria-controls="support{{ support.pid }}" role="tab" id="support{{ support.pid }}">
2018-05-06 12:13:02 -04:00
<font color="green">started at {{ moment(support.timestamp).format('ll') }}</font></b></a>
</div>
</div> <!-- end of heading -->
<br />
{% for line in support.inv_lines %}
<div align="right">{{ line.topic.owner.email }} {{ moment(line.timestamp).format('lll') }}</div>
{{ line.line }} <br />
{% endfor %}
{% endif %}
2018-04-22 18:00:05 -04:00
<form method="POST" action="{{ url_for('panel.support', topic=support.hashtag) }}">
{{ form.line | safe }}
{% for error in form.line.errors %}
{{ error }}<br />
{% endfor %}
{{ form.csrf_token() }}
{{ form.submit }}
</form>
{% endblock %}