mirror of
				https://github.com/DarkflameUniverse/NexusDashboard.git
				synced 2025-11-03 21:51:53 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			949 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			949 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
<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"
 | 
						|
    {% if 'attr_eq' in inv_item %}
 | 
						|
      {% if inv_item.attr_eq == "true" %}style="background-color:#d16f05;"{% endif %}
 | 
						|
    {% endif %}
 | 
						|
    height="60"
 | 
						|
    data-html="true"
 | 
						|
    data-toggle="tooltip"
 | 
						|
    data-placement="left"
 | 
						|
    title="{% include 'partials/charxml/_item_tooltip.html.j2' %}"
 | 
						|
  >
 | 
						|
  {% if 'attr_c' in inv_item %}
 | 
						|
    <span class="inventory-count text-bold">
 | 
						|
      {%if inv_item.attr_c|int > 999 %}
 | 
						|
        +999
 | 
						|
      {% elif inv_item.attr_c|int > 1 %}
 | 
						|
        {{ inv_item.attr_c }}
 | 
						|
      {% endif %}
 | 
						|
    </span>
 | 
						|
  {% endif %}
 | 
						|
  {% if 'attr_b' in inv_item %}
 | 
						|
    {% if inv_item.attr_b == "true" %}
 | 
						|
      <span class="inventory-lock">
 | 
						|
        <i class='fas fa-lock'></i>
 | 
						|
      </span>
 | 
						|
    {% endif %}
 | 
						|
  {% endif %}
 | 
						|
</div>
 |