Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix formatting in REST API documentation
Roland Geider8c66881c84f1
diff --git a/wger/software/templates/api.html b/wger/software/templates/api.htmlindex ed7322509..8ef90cbfc 100644--- a/wger/software/templates/api.html+++ b/wger/software/templates/api.html@@ -22,7 +22,7 @@ it in the header, see the link on the sidebar for details.</p><div class="col-xs-6"><h4>Public endpoints</h4><ul>- <li>daysofweek</em></li>+ <li>daysofweek</li><li>equipment</li><li>exercise</li><li>exercisecategory</li>@@ -79,7 +79,12 @@ it in the header, see the link on the sidebar for details.</p><li>Set the format <strong>directly in the URL</strong>:<ul>- <li><code>/api/v2/<endpoint>/.json</code></li>+ <li>+ <code>/api/v2/<endpoint>/.json</code>+ </li>+ <li>+ <code>/api/v2/<endpoint>/?format=json</code>+ </li><li><code>/api/v2/<endpoint>/.api</code> - browsable HTML view</li>@@ -170,10 +175,8 @@ it in the header, see the link on the sidebar for details.</p><p>The following endpoints provide additional information, comfort functions, etc.:</p>-<div class="row">- <div class="col-md-1">- <code>api/v2/workout/<id>/canonical_representation/</code>- </div>+<div style="margin-top: 1em;">+ <code>api/v2/workout/<id>/canonical_representation/</code></div><div class="row"><div class="col-md-offset-1 col-md-10">@@ -185,10 +188,8 @@ it in the header, see the link on the sidebar for details.</p></div>-<div class="row" style="margin-top: 1em;">- <div class="col-md-1">- <code>api/v2/exerciseimage/<id>/thumbnails/</code>- </div>+<div style="margin-top: 1em;">+ <code>api/v2/exerciseimage/<id>/thumbnails/</code></div><div class="row"><div class="col-md-offset-1 col-md-10">@@ -200,12 +201,10 @@ it in the header, see the link on the sidebar for details.</p></div>-<div class="row" style="margin-top: 1em;">- <div class="col-md-1">- <code>api/v2/nutritionplan/<id>/nutritional_values/</code><br>- <code>api/v2/meal/<id>/nutritional_values/</code><br>- <code>api/v2/mealitem/<id>/nutritional_values/</code>- </div>+<div style="margin-top: 1em;">+ <code>api/v2/nutritionplan/<id>/nutritional_values/</code><br>+ <code>api/v2/meal/<id>/nutritional_values/</code><br>+ <code>api/v2/mealitem/<id>/nutritional_values/</code></div><div class="row"><div class="col-md-offset-1 col-md-10">