From abbe58bc96301467455e8267632b4a1366bb1b3a Mon Sep 17 00:00:00 2001 From: jorgepastorr Date: Wed, 5 Jun 2024 20:00:53 +0200 Subject: [PATCH] musician responsive tables to mobile --- .../musician/static/musician/css/default.css | 2 +- .../musician/templates/musician/address_list.html | 6 ++++-- .../musician/templates/musician/database_list.html | 6 ++++-- .../musician/templates/musician/mailbox_list.html | 7 ++++--- .../templates/musician/mailinglist_list.html | 12 +++++++----- .../musician/templates/musician/saas_list.html | 7 ++++--- .../templates/musician/systemuser_list.html | 4 ++-- .../templates/musician/webapps/webapp_list.html | 3 ++- .../musician/webapps/webappuser_list.html | 14 ++++++++------ .../templates/musician/websites/website_list.html | 3 ++- 10 files changed, 38 insertions(+), 26 deletions(-) diff --git a/orchestra/contrib/musician/static/musician/css/default.css b/orchestra/contrib/musician/static/musician/css/default.css index 9c6fa40f..3f743f42 100644 --- a/orchestra/contrib/musician/static/musician/css/default.css +++ b/orchestra/contrib/musician/static/musician/css/default.css @@ -157,7 +157,7 @@ h1.service-name { .table.service-list { margin-top: 2rem; - table-layout: fixed; + /* table-layout: fixed; */ } /** TODO update theme instead of overriding **/ diff --git a/orchestra/contrib/musician/templates/musician/address_list.html b/orchestra/contrib/musician/templates/musician/address_list.html index 50fb8633..0b409c7c 100644 --- a/orchestra/contrib/musician/templates/musician/address_list.html +++ b/orchestra/contrib/musician/templates/musician/address_list.html @@ -12,13 +12,14 @@
+
- + @@ -44,6 +45,7 @@ {% include "musician/components/table_paginator.html" %}
{% trans "Email" %}
+
{% trans "New mail address" %}
diff --git a/orchestra/contrib/musician/templates/musician/database_list.html b/orchestra/contrib/musician/templates/musician/database_list.html index 3915ad3b..f250ff26 100644 --- a/orchestra/contrib/musician/templates/musician/database_list.html +++ b/orchestra/contrib/musician/templates/musician/database_list.html @@ -8,13 +8,14 @@ {% if object_list %} +
- + @@ -45,6 +46,7 @@ {% include "musician/components/table_paginator.html" %}
{% trans "Name" %}
+
{% else %}
diff --git a/orchestra/contrib/musician/templates/musician/mailbox_list.html b/orchestra/contrib/musician/templates/musician/mailbox_list.html index 6ffcd657..161cdfbf 100644 --- a/orchestra/contrib/musician/templates/musician/mailbox_list.html +++ b/orchestra/contrib/musician/templates/musician/mailbox_list.html @@ -18,13 +18,13 @@
- +
- + @@ -56,6 +56,7 @@ {% include "musician/components/table_paginator.html" %}
{% trans "Name" %}
+
{% trans "New mailbox" %} diff --git a/orchestra/contrib/musician/templates/musician/mailinglist_list.html b/orchestra/contrib/musician/templates/musician/mailinglist_list.html index c7ccad2a..ef89a158 100644 --- a/orchestra/contrib/musician/templates/musician/mailinglist_list.html +++ b/orchestra/contrib/musician/templates/musician/mailinglist_list.html @@ -9,15 +9,16 @@

{{ service.verbose_name }}{% if active_domain %} {% trans "for" %} {{ active_domain.name }}{% endif %}

{{ service.description }}

+
- + @@ -47,15 +48,16 @@ {% endfor %}
Name{{ resource.admin_email }} Mailman - + - - + +
+
{% trans "New list" %} {% endblock %} diff --git a/orchestra/contrib/musician/templates/musician/saas_list.html b/orchestra/contrib/musician/templates/musician/saas_list.html index 977e3b92..424f489b 100644 --- a/orchestra/contrib/musician/templates/musician/saas_list.html +++ b/orchestra/contrib/musician/templates/musician/saas_list.html @@ -6,13 +6,14 @@

{{ service.verbose_name }}

{{ service.description }}

+
- + @@ -57,5 +58,5 @@ {% include "musician/components/table_paginator.html" %}
{% trans "Name" %}
- +
{% endblock %} diff --git a/orchestra/contrib/musician/templates/musician/systemuser_list.html b/orchestra/contrib/musician/templates/musician/systemuser_list.html index 781cf173..1701e054 100644 --- a/orchestra/contrib/musician/templates/musician/systemuser_list.html +++ b/orchestra/contrib/musician/templates/musician/systemuser_list.html @@ -8,11 +8,11 @@ - + diff --git a/orchestra/contrib/musician/templates/musician/webapps/webapp_list.html b/orchestra/contrib/musician/templates/musician/webapps/webapp_list.html index 0cebe2c1..77f2724b 100644 --- a/orchestra/contrib/musician/templates/musician/webapps/webapp_list.html +++ b/orchestra/contrib/musician/templates/musician/webapps/webapp_list.html @@ -10,6 +10,7 @@ {{ description2 }}

+
{% trans "Username" %}
@@ -51,5 +52,5 @@ {% endfor %}
- + {% endblock %} diff --git a/orchestra/contrib/musician/templates/musician/webapps/webappuser_list.html b/orchestra/contrib/musician/templates/musician/webapps/webappuser_list.html index c2ae2713..9392ee85 100644 --- a/orchestra/contrib/musician/templates/musician/webapps/webappuser_list.html +++ b/orchestra/contrib/musician/templates/musician/webapps/webappuser_list.html @@ -2,14 +2,14 @@ {% load bootstrap4 i18n %} {% block tabcontent %} - +
- + @@ -25,12 +25,14 @@ {% endfor %}
{% trans "Username" %}/home/{{ webappuser.account }}/webapps/{{ webappuser.home }} {{ webappuser.target_server }} - - {% trans "Update password" %} +
- +
{% endblock %} diff --git a/orchestra/contrib/musician/templates/musician/websites/website_list.html b/orchestra/contrib/musician/templates/musician/websites/website_list.html index f8fd0724..89d69224 100644 --- a/orchestra/contrib/musician/templates/musician/websites/website_list.html +++ b/orchestra/contrib/musician/templates/musician/websites/website_list.html @@ -6,6 +6,7 @@ {{ description }}

+
@@ -101,7 +102,7 @@ {% endfor %}
- +
{% endblock %} \ No newline at end of file