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 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4. {% load static %}
  5. <script src="{% static 'django_eventstream/eventsource.min.js' %}"></script>
  6. <script src="{% static 'django_eventstream/reconnecting-eventsource.js' %}"></script>
  7. <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">
  8. <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
  9. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
  10. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
  11. <link rel="stylesheet" href="/media/css/style.css" />
  12. <title>{% block posts %}posts{% endblock %}</title>
  13. </head>
  14. <body>
  15. <header>news1</header>
  16. <nav>
  17. {% block nav %}
  18. <nav class="navbar navbar-expand-lg navbar-light bg-light">
  19. <a class="navbar-brand" href="http://www.google.de">google</a>
  20. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  21. <span class="navbar-toggler-icon"></span>
  22. </button>
  23. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  24. <ul class="navbar-nav mr-auto">
  25. <li class="nav-item active">
  26. <a class="nav-link" href="http://www.outlook.de">Outlook <span class="sr-only">(current)</span></a>
  27. </li>
  28. <li class="nav-item">
  29. <a class="nav-link" href="http://www.th-nuernberg.de">TH-Nuernberg</a>
  30. </li>
  31. <li class="nav-item Dropdown">
  32. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  33. Dropdown
  34. </a>
  35. <div class="dropdown-menu" aria-labelledby="navbarDropdown">
  36. <a class="dropdown-item" href="http://www.kavo.com">Kavo</a>
  37. <a class="dropdown-item" href="#">Another action</a>
  38. <div class="dropdown-divider"></div>
  39. <a class="dropdown-item" href="#">Something else here</a>
  40. </div>
  41. </li>
  42. <li class="nav-item">
  43. <a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Action</a>
  44. </li>
  45. </ul>
  46. <form class="form-inline my-2 my-lg-0">
  47. <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
  48. <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
  49. </form>
  50. </div>
  51. </nav>
  52. {% endblock %}
  53. <section id="content">
  54. {% block content %}{% endblock %}
  55. </section>
  56. <footer>&copy; posts news1</footer>
  57. </body>
  58. </html>