diff --git a/amadeus/static/css/base/amadeus.css b/amadeus/static/css/base/amadeus.css index cf776f7..07f7868 100755 --- a/amadeus/static/css/base/amadeus.css +++ b/amadeus/static/css/base/amadeus.css @@ -1296,6 +1296,18 @@ div.dataTables_wrapper div.dataTables_paginate { z-index: 5; } + .general-parameters-field{ + width: 25%; + float: left; + margin-left: 1%; + } + + #general-parameters-div{ + width: 100%; + display: block; + height: 100px; + } + /* End Reports */ /* Chat */ diff --git a/reports/templates/reports/_form.html b/reports/templates/reports/_form.html index da40c3a..d47672a 100644 --- a/reports/templates/reports/_form.html +++ b/reports/templates/reports/_form.html @@ -17,44 +17,36 @@ {% endif %}
{% trans "General Parameters" %}
- {% for field in form %} +
+
+ {{form.topic.errors}} + + {% render_field form.topic class="form-control" %} +
+
+ + {% render_field form.init_date class='form-control date-picker' %} +
+
+ + {% render_field form.end_date class='form-control date-picker' %} +
+
- {% if field.auto_id == 'id_init_date' or field.auto_id == 'id_end_date' %} - - {% render_field field class='form-control date-picker' %} - - - - {% elif field.auto_id == 'id_from_mural' %} -
{% trans "Choose the Data Source (is possible to pick more than one)" %}
+
{% trans "Choose the Data Source (is possible to pick more than one)" %}
+
- - + +
- {% else %} - - {% render_field field class='form-control ' %} - {% endif %} - - {% if field.errors %} -
-
- -
- {% endif %} - {% endfor %} +
+ + +
+
+ +
-- libgit2 0.21.2