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.

index.html 1.3KB

5 years ago
5 years ago
5 years ago
5 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {% extends 'base.html' %}
  2. {% block title %}
  3. News
  4. {% endblock %}
  5. {% block content %}
  6. <div class="container">
  7. {% for notice in notices %}
  8. <h3>{{ notice.notice_title }}</h3>
  9. <p>{{ notice.notice_text }}</p>
  10. {% endfor %}
  11. </div>
  12. {% endblock %}
  13. <!DOCTYPE html>
  14. <html>
  15. <head>
  16. <meta charset="utf-8">
  17. <title>Navbar Example</title>
  18. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
  19. </head>
  20. <body>
  21. <h4>.navbar .navbar-expand-sm</h4>
  22. <!-- A horizontal navbar that becomes vertical on small screens -->
  23. <nav class="navbar navbar-expand-sm bg-dark">
  24. <!-- Links -->
  25. <ul class="navbar-nav">
  26. <li class="nav-item">
  27. <a class="nav-link" href="http://th-nuernberg.de">efi-homepage</a>
  28. </li>
  29. <li class="nav-item">
  30. <a class="nav-link" href="http://google.de">Google</a>
  31. </li>
  32. </ul>
  33. </nav>
  34. <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
  35. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
  36. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
  37. </body>
  38. </html>
  39. <h1> Index der Polls-Applikation</h1>