diff --git a/templates/asset_list.html b/templates/asset_list.html index 95f48b43..055846b8 100644 --- a/templates/asset_list.html +++ b/templates/asset_list.html @@ -1,10 +1,21 @@ {% extends 'base.html' %} +{% block title %}List{% endblock %} {% block main %} -

Asset List

+

Asset List

- + + {% csrf_token %} +
+ + +
+ + + + +
@@ -14,21 +25,21 @@ - - {% for item in object_list %} -{#
  • {{ item.asset_id }} - {{ item.description }}
  • #} - - - - - - - - {% endfor %} + + {% include 'asset_list_table_body.html' %}
    Asset IDQuick Links
    {{ item.asset_id }}{{ item.description }}{{ item.category }}{{ item.status }} - visibility - edit -
    + {% include 'helpers/paginator.html' %} + +{% endblock %} + +{% block script %} + {% endblock %} \ No newline at end of file diff --git a/templates/asset_list_table_body.html b/templates/asset_list_table_body.html new file mode 100644 index 00000000..289762e1 --- /dev/null +++ b/templates/asset_list_table_body.html @@ -0,0 +1,13 @@ +{% for item in object_list %} + {#
  • {{ item.asset_id }} - {{ item.description }}
  • #} + + {{ item.asset_id }} + {{ item.description }} + {{ item.category }} + {{ item.status }} + + visibility + edit + + +{% endfor %} \ No newline at end of file