Edited the CSS file to style the announcements app

parent 95c0092b
{% extends "announcements/base.html" %} {% extends "announcements/base.html" %}
{% load static %}
{% block title %}Announcement{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{% static 'css/style.css' %}">
{% endblock %}
{% block content %} {% block content %}
<h1>Announcement Board</h1> <h1>Announcement Board</h1>
<body> <body>
<p>Important Announcements:</p> <p>Important Announcements:</p>
<ol style="list-style-type:circle"> <ol>
{% for announcement in all_announcements %} {% for announcement in all_announcements %}
<p> <p>
<a href = {% url 'announcements:details' announcement.id %}> <a href = {% url 'announcements:details' announcement.id %}>
......
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<link rel="stylesheet" href="style.css">
<title>{% block title %}{% endblock %}</title> <title>{% block title %}{% endblock %}</title>
{% block styles %}{% endblock %} {% block styles %}
{% endblock %}
</head> </head>
<body> <body>
<div id="content"> <div id="content">
{% block content %}{% endblock %} {% block content %}{% endblock %}
</div> </div>
......
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