Self hosted FLOSS fitness/workout, nutrition and weight tracker
Move split dropdown to bootstrap 4
Roland Geider64ee9837712d
diff --git a/wger/core/templates/rest_framework/api.html b/wger/core/templates/rest_framework/api.htmlindex 2624c17e3..43df353c2 100644--- a/wger/core/templates/rest_framework/api.html+++ b/wger/core/templates/rest_framework/api.html@@ -38,13 +38,13 @@<div class="btn-group format-selection"><a class="btn btn-primary js-tooltip" href='{{ request.get_full_path }}' rel="nofollow" title="Make a GET request on the {{ name }} resource">GET</a>- <button class="btn btn-primary dropdown-toggle js-tooltip" data-toggle="dropdown" title="Specify a format for the GET request">+ <button class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" title="Specify a format for the GET request"><span class="caret"></span></button><ul class="dropdown-menu">{% for format in available_formats %}<li>- <a class="js-tooltip format-option" href='{% add_query_param request api_settings.URL_FORMAT_OVERRIDE format %}' rel="nofollow" title="Make a GET request on the {{ name }} resource with the format set to `{{ format }}`">{{ format }}</a>+ <a class="js-tooltip format-option dropdown-item" href='{% add_query_param request api_settings.URL_FORMAT_OVERRIDE format %}' rel="nofollow" title="Make a GET request on the {{ name }} resource with the format set to `{{ format }}`">{{ format }}</a></li>{% endfor %}</ul>@@ -145,11 +145,3 @@{% endif %}{% endif %}{% endblock %}--{% block sidebar %}-<h4>Info</h4>-<p>This live browsing view was copied and adapted from- <a href="http://www.django-rest-framework.org/">Django REST framework</a>,- who also powers the API behind the scenes.-</p>-{% endblock %}