Commit 7f746275 authored by Ysabella Panghulan's avatar Ysabella Panghulan

Merge branch 'announcementsv2'

parents b89e8355 303a62fd
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %}
{% block stylesheets %}
<link rel="stylesheet" href="{% static 'announcements.css' %}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
{% endblock %}
{% block title %} Widget's Announcement Board {% endblock %} {% block title %} Widget's Announcement Board {% endblock %}
{% block header %} {% block header %}
<h1> Welcome to Widget's Announcement Board! </h1> <h1> Welcome to Widget's Announcement Board! </h1>
{% endblock %} {% endblock %}
{% block body %}
{% block content %} {% block content %}
<h2> Announcements: </h2><br> <div class="main">
<div> <div class="list">
<ul> <h2> Announcements: </h2><br>
{% for announcement in announcements %} <div>
<li> <ol>
<a href="{{ announcement.get_absolute_url }}"> {% for announcement in announcements %}
{{ announcement.title }} by {{ announcement.author.first_name }} {{ announcement.author.last_name }} <li>
</a> <a href="{{ announcement.get_absolute_url }}">
</li> {{ announcement.title }} by {{ announcement.author.first_name }} {{
{% endfor %} announcement.author.last_name }}
</ul> </a>
</div> </li>
<div> {% endfor %}
<a href="/announcements/add/"> New Announcement </a> </ol>
</div>
</div> </div>
<a href="/dashboard/"> Dashboard </a> <a href="/announcements/add/" class="add-btn"><i class="fa fa-plus"></i> New Announcement </a>
<a href="/forum/"> Forum </a> </div>
<a href="/assignments/"> Assignments </a> {% endblock %}
<a href="/calendar/"> Calendar </a> <div class="links">
<a href="/dashboard/" class="btn-primary"> Dashboard </a>
<a href="/forum/" class="btn-primary"> Forum </a>
<a href="/assignments/" class="btn-primary"> Assignments </a>
<a href="/calendar/" class="btn-primary"> Calendar </a>
</div>
{% endblock %} {% endblock %}
\ No newline at end of file
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