2022-01-16 18:22:00 +00:00
|
|
|
<div class="inventory-item">
|
|
|
|
<img
|
|
|
|
src="{{url_for('luclient.get_icon_lot', id=inv_item.attr_l)}}"
|
|
|
|
alt="{{ inv_item.attr_l|get_lot_name }}"
|
|
|
|
class="border p-1 border-primary rounded m-1"
|
|
|
|
width="60"
|
2023-10-28 05:30:23 +00:00
|
|
|
{% if 'attr_eq' in inv_item %}
|
|
|
|
{% if inv_item.attr_eq == "true" %}style="background-color:#d16f05;"{% endif %}
|
|
|
|
{% endif %}
|
2022-01-16 18:22:00 +00:00
|
|
|
height="60"
|
|
|
|
data-html="true"
|
|
|
|
data-toggle="tooltip"
|
|
|
|
data-placement="left"
|
|
|
|
title="{% include 'partials/charxml/_item_tooltip.html.j2' %}"
|
|
|
|
>
|
2023-10-28 05:27:17 +00:00
|
|
|
{% if 'attr_c' in inv_item %}
|
2022-01-16 18:22:00 +00:00
|
|
|
<span class="inventory-count text-bold">
|
2022-11-23 19:43:28 +00:00
|
|
|
{%if inv_item.attr_c|int > 999 %}
|
|
|
|
+999
|
|
|
|
{% else %}
|
|
|
|
{{ inv_item.attr_c }}
|
|
|
|
{% endif %}
|
2022-01-16 18:22:00 +00:00
|
|
|
</span>
|
|
|
|
{% endif %}
|
2023-10-28 05:30:23 +00:00
|
|
|
{% if 'attr_b' in inv_item %}
|
|
|
|
{% if inv_item.attr_b == "true" %}
|
|
|
|
<span class="inventory-lock">
|
|
|
|
<i class='fas fa-lock'></i>
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
2022-01-16 18:22:00 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|