fix toggle buttle html layout and responsive design css

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Alice Kile authored and James Valleroy committed 2019-12-07 13:08:46 -05:00
1 parent 0dd4d1acf2
commit 9cd203411d
2 files changed
+47 -7

No files matched your search

+17 -7
View File
@@ -3,6 +3,7 @@
{% load static %}
<header class="app-header {% if not icon_filename %} app-header-single-column {% endif %}">
{% if icon_filename %}
<img src="{% static 'theme/icons/' %}{{ icon_filename }}.svg" alt="{{ name }}"/>
@@ -10,13 +11,22 @@
{% endif %}
<section class="app-description" >
{% block pagetitle %}
{% if setup %}
<h2>{% trans "Installation" %}: {{ short_description|default:'' }} ({{ name }})</h2>
{% else %}
<h2>{{ name }}</h2>
{% endif %}
{% endblock %}
<section class='header-bar'>
{% block pagetitle %}
{% if setup %}
<h2>{% trans "Installation" %}: {{ short_description|default:'' }} ({{ name }})</h2>
{% else %}
<h2>{{ name }}</h2>
{% endif %}
{% endblock %}
<div id='app-toggle-container' class="app-toggle-container">
{% if is_enabled %}
<button id="app-toggle-button" value="False" class="btn toggle-button toggle-button--toggled"></button>
{% else %}
<button id="app-toggle-button" value="True" class="btn toggle-button"></button>
{% endif %}
</div>
</section>
{% block description %}
{% for paragraph in description %}