You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base.html 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4. {# <link rel="stylesheet" href="/media/css/style.css" />#}
  5. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
  8. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  9. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
  10. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
  11. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  12. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
  13. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
  14. <title>{% block title %}First Django Application{% endblock %}</title>
  15. </head>
  16. <body>
  17. <nav>
  18. {% block nav %}
  19. <nav class="navbar navbar-expand-sm bg-dark navbar-dark">
  20. <ul class="navbar-nav">
  21. <li class="nav-item">
  22. <a class="nav-link" href="/posts/home">Home</a>
  23. </li>
  24. <li class="nav-item">
  25. <a class="nav-link" href="https://www.google.de/?hl=de">google</a>
  26. </li>
  27. <li class="nav-item">
  28. <a class="nav-link" href="https://www.th-nuernberg.de/fakultaeten/efi/">Efi</a>
  29. </li>
  30. <li class="nav-item">
  31. <a class="nav-link" href="/posts/about">about</a>
  32. </li>
  33. <li class="nav-item">
  34. <a class="nav-link" href="/posts/notice">notice</a>
  35. </li>
  36. </ul>
  37. </nav>
  38. {% endblock %}
  39. </nav>
  40. <section id="content">
  41. {% block content %}{% endblock %}
  42. </section>
  43. <footer>&copy; Danke</footer>
  44. </body>
  45. </html>