From cba5147cd130a6f6518a984ea74bfb2c2fd060ef Mon Sep 17 00:00:00 2001 From: catborise Date: Fri, 25 Jan 2019 08:49:00 +0300 Subject: [PATCH] Arrange CSS for tables. Remove unnecessary add nwfilter button. --- nwfilters/templates/nwfilter.html | 48 +++++++++++++++---------------- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/nwfilters/templates/nwfilter.html b/nwfilters/templates/nwfilter.html index db4b0dd..18e04c6 100644 --- a/nwfilters/templates/nwfilter.html +++ b/nwfilters/templates/nwfilter.html @@ -6,7 +6,6 @@
- {% include 'create_nwfilter_block.html' %}

{% trans "NWFilter:" %} {{ name }}

+ +
{% csrf_token %} +
+ + + +
+
-
-
{% csrf_token %} -
- - - -
-
-
-
- +
+
@@ -107,7 +105,7 @@
# {% trans "Reference" %}{{ forloop.counter }} {{ ref }} -
{% csrf_token %} + {% csrf_token %}
+ {% include 'add_nwf_rule.html' %}
- {% include 'add_nwf_rule.html' %}
-
- +
+
- + @@ -145,7 +143,7 @@
{% trans "Rule" %}{% trans "Rule" %} {% trans "ActionType" %} {% trans "Direction" %} {% trans "Priority" %}{{ rule.statematch }} {{ rule.directives }} - {% csrf_token %} + {% csrf_token %}