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

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