Added block heading

parent 831f65c3
......@@ -2,11 +2,57 @@
{% load static %}
{% block page-title %}{{ announcement.title }}{% endblock %}
{% block heading %}
<!DOCTYPE html>
<html>
<head>
<style>
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover {
background-color: #111;
}
</style>
</head>
<body>
<ul>
<li><a class="active" href="/announcement_board/">Back</a></li>
<li><a href="/dashboard/">Dashboard</a></li>
<li><a href="/forum/">Forum</a></li>
</ul>
</body>
</html>
{% endblock %}
{% block content %}
<h1>
<link href='https://fonts.googleapis.com/css?family=Dancing Script' rel='stylesheet'>
<section>
<span>{{ announcement.title }}</span>
</section>
<h2>
{{ announcement.title }}
</h1>
</h2>
<p>
by {{ announcement.author.first_name }} {{ announcement.author.last_name }}<br>
......@@ -17,7 +63,7 @@
<p>
Like: {{ announcement.getLike }}<br>
Love: {{ announcement.getLove }}<br>
Angry: {{ announcement.getAngry}} <br>
Angry: {{ announcement.getAngry}} <br><br>
</p>
<p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment