diff --git a/constance/static/admin/css/constance.css b/constance/static/admin/css/constance.css index 4d74660..a00b0be 100644 --- a/constance/static/admin/css/constance.css +++ b/constance/static/admin/css/constance.css @@ -13,3 +13,6 @@ .help { font-weight: normal !important; } +#results{ + overflow-x: auto; +} \ No newline at end of file diff --git a/constance/templates/admin/constance/includes/results_list.html b/constance/templates/admin/constance/includes/results_list.html index 295388b..b13c4ee 100644 --- a/constance/templates/admin/constance/includes/results_list.html +++ b/constance/templates/admin/constance/includes/results_list.html @@ -1,49 +1,51 @@ {% load admin_static admin_list static i18n %} - - - - - - - +
+
{% trans "Name" %}
{% trans "Default" %}
{% trans "Value" %}
{% trans "Is modified" %}
+ + + + + + + + + {% for item in config_values %} + + + + + - - {% for item in config_values %} - - - - - - - {% endfor %} -
{% trans "Name" %}
{% trans "Default" %}
{% trans "Value" %}
{% trans "Is modified" %}
+ {{ item.name }}
{{ item.help_text|linebreaksbr }}
+
+ {{ item.default|linebreaks }} + + {{ item.form_field.errors }} + {% if item.is_file %}{% trans "Current file" %}: {{ item.value }}{% endif %} + {{ item.form_field }} +
+ {% trans "Reset to default" %} +
+ {% if item.modified %} + {{ item.modified }} + {% else %} + {{ item.modified }} + {% endif %} +
- {{ item.name }}
{{ item.help_text|linebreaksbr }}
-
- {{ item.default|linebreaks }} - - {{ item.form_field.errors }} - {% if item.is_file %}{% trans "Current file" %}: {{ item.value }}{% endif %} - {{ item.form_field }} -
- {% trans "Reset to default" %} -
- {% if item.modified %} - {{ item.modified }} - {% else %} - {{ item.modified }} - {% endif %} -
+ {% endfor %} + +