2020-04-08 18:09:24 +00:00
|
|
|
{% extends 'admin/model/list.html' %}
|
|
|
|
{% block list_row_actions %}
|
|
|
|
{{ super() }}
|
|
|
|
<a href="{{ url_for('map.index', id=row.id) }}" class="icon" title="Show on map"><span class="glyphicon glyphicon-map-marker"></span></a>
|
|
|
|
<a href="{{ url_for('faceshieldrequest.label', id=row.id) }}" class="icon" title="Render package label"><span class="glyphicon glyphicon-print"></span></a>
|
2020-04-13 13:15:15 +00:00
|
|
|
<a class="icon" role="button" data-toggle="popover" data-html="true" data-content="<b>Extras:</b><br />{{ row.extra or '' }}<hr><b>Remarks:</b><br />{{ row.remarks or '' }}"><span class="glyphicon glyphicon-comment"></span></a>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block head_css %}{{ super() }}
|
|
|
|
<style>
|
|
|
|
.popover { max-width: 400px; }
|
|
|
|
</style>
|
|
|
|
{% endblock %}
|
|
|
|
{% block tail_js %}{{ super() }}
|
|
|
|
<script>
|
|
|
|
$(function () {
|
|
|
|
$('[data-toggle="popover"]').popover({ trigger: "hover click" })
|
|
|
|
})
|
|
|
|
</script>
|
2020-04-08 18:09:24 +00:00
|
|
|
{% endblock %}
|