{% extends "ui/base-devices.html" %} {% load url from future %} {% load icons %} {% load bob %} {% block scripts %} {{ block.super }} {% endblock %} {% block contentarea %}
{% spaceless %} {% if show_bulk %} {% endif %} {% include 'ui/column-header.html' with label='Name' name='name' always=1 %} {% include 'ui/column-header.html' with label='Venture/Role' name='venture' %} {% include 'ui/column-header.html' with label='Model' name='model' %} {% include 'ui/column-header.html' with label='Margin' name='margin' type='quantity' %} {% include 'ui/column-header.html' with label='Deprecation' name='deprecation' type='quantity' %} {% include 'ui/column-header.html' with label='Price' name='price' type='price' %} {% include 'ui/column-header.html' with label='Monthly Cost' name='cost' type='price' %} {% include 'ui/column-header.html' with label='Barcode' name='barcode' %} {% include 'ui/column-header.html' with label='Serial number' name='serial_number'%} {% include 'ui/column-header.html' with label='Position' name='position' type='number' %} {% include 'ui/column-header.html' with label='IP Addresses' name='ips' %} {% include 'ui/column-header.html' with label='Management' name='management' %} {% include 'ui/column-header.html' with label='Created' name='created' type='date' %} {% include 'ui/column-header.html' with label='Last Seen' name='lastseen' type='date' %} {% include 'ui/column-header.html' with label='Last Ping' name='lastping' type='date' %} {% include 'ui/column-header.html' with label='Reports' name='reports' type='quantity' %} {% include 'ui/column-header.html' with label='Remarks' name='remarks' %} {% include 'ui/column-header.html' with label='Purchase Date' name='purchase' type='date' %} {% include 'ui/column-header.html' with label='Warranty Expiration' name='warranty' type='date' %} {% include 'ui/column-header.html' with label='Support Expiration' name='support' type='date' %} {% include 'ui/column-header.html' with label='Deprecation' name='deprecation' %} {% endspaceless %} {% if is_paginated %} {% for d in page_obj.object_list %} {% include 'ui/device_row.html' with d=d columns=columns show_bulk=show_bulk %} {% endfor %} {% else %} {% for d in object_list %} {% include 'ui/device_row.html' with d=d columns=columns show_bulk=show_bulk %} {% endfor %} {% endif %}
{% pagination page_obj url_query=url_query show_all=1 show_csv=1 fugue_icons=1 %}
{% if show_bulk %}
{% csrf_token %}
{% endif %}
{% endblock contentarea %}