From ba2b5d054754d1738544b8394cc0302a521b88d2 Mon Sep 17 00:00:00 2001 From: sonny Date: Fri, 15 May 2020 20:32:35 +0200 Subject: [PATCH] Update rules list view --- .../templates/collection/rules.html | 76 +++++++++++-------- .../scss/components/form/_form.scss | 20 +++++ 2 files changed, 63 insertions(+), 33 deletions(-) diff --git a/src/newsreader/news/collection/templates/collection/rules.html b/src/newsreader/news/collection/templates/collection/rules.html index 32b6f24..a17b818 100644 --- a/src/newsreader/news/collection/templates/collection/rules.html +++ b/src/newsreader/news/collection/templates/collection/rules.html @@ -6,42 +6,52 @@
{% csrf_token %} -
- - - -
- - - - - - - - - - - - - - {% for rule in rules %} +
+
+ + + +
+ + +
+ +
+
- - {% trans "Name" %}{% trans "Category" %}{% trans "URL" %}{% trans "Successfuly ran" %}{% trans "Enabled" %}
+ - - - - - - - + + + + + + + - {% endfor %} - -
{{ rule.name }}{{ rule.category.name }}{{ rule.url }}{{ rule.succeeded }}{{ rule.enabled }} - - + + {% trans "Name" %}{% trans "Category" %}{% trans "URL" %}{% trans "Successfuly ran" %}{% trans "Enabled" %}
+ + + {% for rule in rules %} + + + {{ rule.name }} + {{ rule.category.name }} + {{ rule.url }} + {{ rule.succeeded }} + {{ rule.enabled }} + + + + + {% endfor %} + + +
+