toolbar: Move diagnostics button into dropdown menu

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Alice Kile authored and James Valleroy committed 2019-12-01 16:40:31 -05:00
1 parent 52f6da2a41
commit 6a4a941bb6
2 files changed
+17 -2

No files matched your search

+10 -1
View File
@@ -81,7 +81,16 @@
{% block diagnostics %}
{% if diagnostics_module_name %}
{% include "diagnostics_button.html" with module=diagnostics_module_name enabled=is_enabled %}
<!-- Single button -->
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="glyphicon glyphicon glyphicon-cog" aria-hidden="true"></span> <span class="caret"></span>
</button>
<div class="dropdown-menu">
{% include "diagnostics_button.html" with module=diagnostics_module_name enabled=is_enabled %}
</div>
</div>
{% endif %}
{% endblock %}