diff --git a/atlas/templates/atlas/case_view.html b/atlas/templates/atlas/case_view.html index 73faf58b..7352ce85 100755 --- a/atlas/templates/atlas/case_view.html +++ b/atlas/templates/atlas/case_view.html @@ -1,6 +1,7 @@ {% extends 'atlas/base.html' %} {% load render_table from django_tables2 %} +{% block content_container_class %}container-fluid content-wide px-3{% endblock %} {% block css %} {% endblock %} diff --git a/atlas/templates/atlas/collection_view.html b/atlas/templates/atlas/collection_view.html index ae5116cb..55be8928 100644 --- a/atlas/templates/atlas/collection_view.html +++ b/atlas/templates/atlas/collection_view.html @@ -1,6 +1,7 @@ {% extends 'atlas/base.html' %} {% load render_table from django_tables2 %} +{% block content_container_class %}container-fluid content-wide px-3{% endblock %} {% block content %} diff --git a/atlas/templates/atlas/resource_list.html b/atlas/templates/atlas/resource_list.html index 59f0fc08..a520be24 100755 --- a/atlas/templates/atlas/resource_list.html +++ b/atlas/templates/atlas/resource_list.html @@ -1,5 +1,6 @@ {% extends 'atlas/base.html' %} {% load render_table from django_tables2 %} +{% block content_container_class %}container-fluid content-wide px-3{% endblock %} {% block content %}
Admin-only tool for searching pending uploads and imported Atlas data by hash, series UID, or study UID.
diff --git a/atlas/templates/atlas/view.html b/atlas/templates/atlas/view.html index 35ce4933..6a89e61d 100755 --- a/atlas/templates/atlas/view.html +++ b/atlas/templates/atlas/view.html @@ -1,6 +1,7 @@ {% extends 'atlas/base.html' %} {% load render_table from django_tables2 %} +{% block content_container_class %}container-fluid content-wide px-3{% endblock %} {% block css %} {% endblock %} diff --git a/generic/templates/generic/cid_view.html b/generic/templates/generic/cid_view.html index 6fc22bb3..7a9d7785 100644 --- a/generic/templates/generic/cid_view.html +++ b/generic/templates/generic/cid_view.html @@ -2,6 +2,7 @@ {% load crispy_forms_tags %} {% load render_table from django_tables2 %} +{% block content_container_class %}container-fluid content-wide px-3{% endblock %} {% block css %} {% endblock %} diff --git a/generic/templates/generic/user_view.html b/generic/templates/generic/user_view.html index 6819f31c..1465c7b1 100644 --- a/generic/templates/generic/user_view.html +++ b/generic/templates/generic/user_view.html @@ -2,6 +2,7 @@ {% load crispy_forms_tags %} {% load render_table from django_tables2 %} +{% block content_container_class %}container-fluid content-wide px-3{% endblock %} {% block css %} {% endblock %} diff --git a/templates/base.html b/templates/base.html index 4ef055ba..650371cb 100644 --- a/templates/base.html +++ b/templates/base.html @@ -127,8 +127,16 @@ max-width: 100%; } - div.content.container { - max-width: 100%; + .content.content-read { + max-width: 1280px; + margin-left: auto; + margin-right: auto; + } + + .content.content-wide { + max-width: min(98vw, 2200px); + margin-left: auto; + margin-right: auto; } @media (max-width: 1210px) { @@ -138,10 +146,9 @@ padding-right: .5rem !important; } - div.content.container { + .content { padding-left: .5rem !important; padding-right: .5rem !important; - max-width: 100% !important; } } @@ -152,7 +159,7 @@ padding-right: .75rem !important; } - div.content.container { + .content { padding-left: .75rem !important; padding-right: .75rem !important; } @@ -358,7 +365,7 @@ -