praktikum Sieben bearbeitung
This commit is contained in:
+18
-32
@@ -11,40 +11,26 @@
|
||||
{% for notice in notices %}
|
||||
<h3>{{ notice.notice_title }}</h3>
|
||||
<p>{{ notice.notice_text }}</p>
|
||||
{% endfor %}
|
||||
|
||||
<p><a href="{% url 'new' %}" class="btn btn-info" role="button">Neue Nachricht</a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
<p><a href="{% url 'delete' deleteId=notice.id %}" class="btn btn-danger">
|
||||
Meldung loeschen</a></p>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Navbar Example</title>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h4>.navbar .navbar-expand-sm</h4>
|
||||
|
||||
<!-- A horizontal navbar that becomes vertical on small screens -->
|
||||
<nav class="navbar navbar-expand-sm bg-dark">
|
||||
<!-- Links -->
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="http://th-nuernberg.de">efi-homepage</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="http://google.de">Google</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
<h1> Index der Polls-Applikation</h1>
|
||||
|
||||
Reference in New Issue
Block a user