base.html 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <title>
  6. {% block title %}
  7. {% endblock %}
  8. </title>
  9. {% load staticfiles %}
  10. {% block stylesheets %}
  11. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
  12. <link rel="stylesheet" type="text/css" href="{% static "css/links.css" %}">
  13. <script src="https://kit.fontawesome.com/ee9d97bd14.js" crossorigin="anonymous"></script>
  14. {% endblock %}
  15. </head>
  16. <body>
  17. <div class="container">
  18. {% block content %}
  19. {% endblock %}
  20. </div>
  21. <!-- Global scripts used -->
  22. <script type="text/javascript">
  23. const BASE = "{{BASE}}"
  24. var baseUrl = location.protocol + '//' + window.location.host + '/'
  25. if (BASE !== '') baseUrl += BASE + '/'
  26. </script>
  27. <!-- Custom Javascript file for experiments template is placed here -->
  28. {% block javascripts %}
  29. {% endblock %}
  30. </body>