From 55e37d8c69deb255673e74c30064e725a0b5dae6 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Mon, 6 Apr 2020 02:50:36 +0100 Subject: [PATCH] Tweak asset list to be more in line with other lists --- assets/templates/asset_list.html | 10 ++++++---- assets/templates/partials/asset_list_table.html | 6 +++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/assets/templates/asset_list.html b/assets/templates/asset_list.html index 51157954..480421cd 100644 --- a/assets/templates/asset_list.html +++ b/assets/templates/asset_list.html @@ -40,10 +40,12 @@ -New - -{% include 'partials/asset_list_table.html' %} - +
+
+ New +
+ {% include 'partials/asset_list_table.html' %} +
{% if is_paginated %}
{% paginator %} diff --git a/assets/templates/partials/asset_list_table.html b/assets/templates/partials/asset_list_table.html index e33c3b7a..27f31df4 100644 --- a/assets/templates/partials/asset_list_table.html +++ b/assets/templates/partials/asset_list_table.html @@ -1,9 +1,9 @@
- + - + @@ -13,7 +13,7 @@ {% for item in object_list %} - +
Asset IDDescriptionDescription Category Status Quick Links
{{ item.asset_id }}{{ item.description }}{{ item.description }} {{ item.category }} {{ item.status }}