UI: Make apps and configure pages responsive on small screens

- Hide the listing of apps and configuration options on small screens,
  so that the user doesn't have to navigate to the bottom of the page.
- Closes #921

Reviewed-by: Johannes Keyser <johanneskeyser@posteo.de>
This commit is contained in:
Joseph Nuthalpati 2017-08-06 00:39:40 +05:30 committed by Johannes Keyser
parent 57c2835300
commit f069f663d0
No known key found for this signature in database
GPG Key ID: D1431C2C533CF0D0
3 changed files with 17 additions and 1 deletions

View File

@ -20,6 +20,14 @@
{% load i18n %}
{% block submenu %}
{% if submenu %}
<div class="sidebar">
{% include "submenu.html" with menu=submenu %}
</div>
{% endif %}
{% endblock %}
{% block content %}
<h2>{% trans "Services and Applications" %}</h2>

View File

@ -205,7 +205,7 @@
<div class="col-md-3">
{% block submenu %}
{% if submenu %}
<div class="sidebar">
<div class="sidebar visible-lg-block">
{% include "submenu.html" with menu=submenu %}
</div><!--/.sidebar -->
{% endif %}

View File

@ -20,6 +20,14 @@
{% load i18n %}
{% block submenu %}
{% if submenu %}
<div class="sidebar">
{% include "submenu.html" with menu=submenu %}
</div>
{% endif %}
{% endblock %}
{% block content %}
<h2>{% trans "System Configuration" %}</h2>