diff --git a/plinth/templates/index.html b/plinth/templates/index.html index 16c961913..8672bab76 100644 --- a/plinth/templates/index.html +++ b/plinth/templates/index.html @@ -26,47 +26,43 @@ {% block container %} -
-
-
+ {% if messages or details or not shortcuts %} +
- {% include 'messages.html' %} + {% include 'messages.html' %} - {% if not shortcuts %} -

- {% url 'apps' as apps_url %} - {% blocktrans trimmed %} - Enable some applications to add - shortcuts to this page. - {% endblocktrans %} -

+ {% if not shortcuts %} +

+ {% url 'apps' as apps_url %} + {% blocktrans trimmed %} + Enable some applications to add + shortcuts to this page. + {% endblocktrans %} +

+ {% endif %} + + {% if details %} + {% block pagetitle %} +

{{ details_label }}

+ {% endblock %} + + {% block description %} + {% for paragraph in details %} +

{{ paragraph|safe }}

+ {% endfor %} + {% endblock %} + + {% include "clients.html" with clients=clients enabled=service.is_enabled %} + + {% if user.is_authenticated and user_is_admin and configure_url %} + {% endif %} + {% endif %} - {% if details %} -
-
-

{{ details_label }}

-
- - {% for paragraph in details %} -
- {{ paragraph|safe }} -
- {% endfor %} -
- - {% if user.is_authenticated and user_is_admin and configure_url %} - - {% trans "Configure »" %} - {% endif %} -
- {% endif %} - -
-
+ {% endif %} {% if shortcuts %}
diff --git a/static/themes/default/css/plinth.css b/static/themes/default/css/plinth.css index 1648fa626..cc4dbd0ca 100644 --- a/static/themes/default/css/plinth.css +++ b/static/themes/default/css/plinth.css @@ -182,6 +182,7 @@ html { background-color: white; border: 1px solid #ddd; border-radius: 4px; + margin-bottom: 20px; } footer { @@ -278,7 +279,7 @@ footer license-info p { width: 100%; max-width: 1000px; margin: 0 auto; - padding: 0 10px; + padding: 0; display: flex; flex-wrap: wrap; justify-content: left;