NexusDashboard/app/templates/partials/_property_content.html.j2

85 lines
2.3 KiB
Plaintext
Raw Normal View History

2022-01-16 18:22:00 +00:00
<div class="card shadow-sm bg-dark border-primary">
<div class="card-body">
<div class="row">
<div class="col text-center">
<h4>
{% if not item.ugc_id %}
{{ item.lot|get_lot_name }}
{% else %}
UGC: {{ item.ugc.filename.split('.')[0] }}
{% endif %}
</h4>
</div>
</div>
<br/>
{% if item.lot == 14 %}
{# Do nothing for now#}
{% else %}
<div class="row">
<div class="col text-center">
<img src="{{url_for('luclient.get_icon_lot', id=item.lot)}}" alt="{{ item.lot|get_lot_name }}" width="64" height="64">
</div>
</div>
<br/>
<div class="row">
<div class="col text-right">
LOT:
</div>
<br/>
<div class="col">
{{ item.lot }}
</div>
</div>
<div class="row">
<div class="col text-right">
Description:
</div>
<br/>
<div class="col">
{{ item.lot|get_lot_desc }}
</div>
</div>
<br/>
{% endif %}
<div class="row">
<div class="col text-center">
<a role="button" class="btn btn-primary btn-block"
2022-02-11 23:37:43 +00:00
href='{{ url_for('properties.get_model', id=item.id, file_format="lxfml", lod=0) }}'>
2022-01-16 18:22:00 +00:00
View Model XML
</a>
</div>
</div>
<br/>
<div class="row">
<div class="col text-center">
<a role="button" class="btn btn-primary btn-block"
2022-02-11 23:37:43 +00:00
href='{{ url_for('properties.download_model', id=item.id) }}'>
Download Model
2022-01-16 18:22:00 +00:00
</a>
</div>
</div>
<br/>
2022-02-11 23:37:43 +00:00
<h5 class="text-center"> Render </h5>
2022-01-16 18:22:00 +00:00
<div class="row">
<div class="col text-center">
2022-02-11 23:37:43 +00:00
<a role="button" class="btn btn-primary"
href='{{ url_for('properties.view_model', id=item.id, lod=0) }}'>
0
</a>
</div>
<div class="col text-center">
<a role="button" class="btn btn-primary"
href='{{ url_for('properties.view_model', id=item.id, lod=1) }}'>
1
</a>
</div>
<div class="col text-center">
<a role="button" class="btn btn-primary"
href='{{ url_for('properties.view_model', id=item.id, lod=2) }}'>
2
</a>
2022-01-16 18:22:00 +00:00
</div>
</div>
</div>
</div>