1
0

redoc.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {% load static %}
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8"/>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>{% block title %}{{ title }}{% endblock %}</title>
  8. {% block extra_head %}
  9. {# -- Add any extra HTML heads tags here - except scripts and styles -- #}
  10. {% endblock %}
  11. {% block favicon %}
  12. {# -- Maybe replace the favicon -- #}
  13. <link rel="icon" type="image/png" href="{% static 'SharixAdmin/img/logo.svg' %}"/>
  14. {% endblock %}
  15. {% block main_styles %}
  16. <link rel="stylesheet" type="text/css" href="{% static 'SharixAdmin/style.css' %}"/>
  17. {% endblock %}
  18. {% block extra_styles %}
  19. {# -- Add any additional CSS scripts here -- #}
  20. {% endblock %}
  21. </head>
  22. <body>
  23. {% block extra_body %}
  24. {# -- Add any header/body markup here (rendered BEFORE the swagger-ui/redoc element) -- #}
  25. {% endblock %}
  26. <div id="redoc-placeholder"></div>
  27. {% block footer %}
  28. {# -- Add any footer markup here (rendered AFTER the swagger-ui/redoc element) -- #}
  29. {% endblock %}
  30. <script id="redoc-settings" type="application/json">{{ redoc_settings | safe }}</script>
  31. {% block main_scripts %}
  32. <script src="{% static 'drf-yasg/insQ.min.js' %}"></script>
  33. <script src="{% static 'drf-yasg/redoc-init.js' %}"></script>
  34. <script src="{% static 'drf-yasg/redoc/redoc.min.js' %}"></script>
  35. {% endblock %}
  36. {% block extra_scripts %}
  37. {# -- Add any additional scripts here -- #}
  38. {% endblock %}
  39. </body>
  40. </html>