mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-10 03:58:20 +00:00
85 lines
2.3 KiB
Django/Jinja
85 lines
2.3 KiB
Django/Jinja
<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"
|
|
href='{{ url_for('properties.get_model', id=item.id, file_format="lxfml", lod=0) }}'>
|
|
View Model XML
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<br/>
|
|
<div class="row">
|
|
<div class="col text-center">
|
|
<a role="button" class="btn btn-primary btn-block"
|
|
href='{{ url_for('properties.download_model', id=item.id) }}'>
|
|
Download Model
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<br/>
|
|
<h5 class="text-center">Render Quality</h5>
|
|
<div class="row">
|
|
<div class="col text-center">
|
|
<a role="button" class="btn btn-primary btn-block"
|
|
href='{{ url_for('properties.view_model', id=item.id, lod=0) }}'>
|
|
High (0)
|
|
</a>
|
|
</div>
|
|
<div class="col text-center">
|
|
<a role="button" class="btn btn-primary btn-block"
|
|
href='{{ url_for('properties.view_model', id=item.id, lod=1) }}'>
|
|
Med (1)
|
|
</a>
|
|
</div>
|
|
<div class="col text-center">
|
|
<a role="button" class="btn btn-primary btn-block"
|
|
href='{{ url_for('properties.view_model', id=item.id, lod=2) }}'>
|
|
Low (2)
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|