Commit 81b882b6 authored by Ysabella Panghulan's avatar Ysabella Panghulan

Merge branch 'assignmentsv2'

parents e6b0b02a 9f9b06dc
{% extends 'base.html' %}
{% load static %}
{% block stylesheets %}
<link rel="stylesheet" href="{% static 'assignments.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 Assignments{% endblock %}
{% block heading %}Welcome to Widget's Assignments{% endblock %}
{% block header %}Welcome to Widget's Assignments{% endblock %}
{% block body %}
{% block content %}
<ul>
{% for assignment in assignments %}
<li>
<a href="{ assignment.get_absolute_url }">{{assignment}}</a>
</li>
{% endfor %}
<a href="{% url 'assignments:assignment-add' %}">
<button>New Assignment</button>
</a><br>
</ul>
<a href="/dashboard/"> Dashboard </a>
<a href="/announcements/"> Announcements </a>
<a href="/forum/"> Forum </a>
<a href="/calendar/"> Calendar </a>
<div class="main">
<div class="list">
<ul>
{% for assignment in assignments %}
<li>
<a href="{ assignment.get_absolute_url }">{{assignment}}</a>
</li>
{% endfor %}
</ul>
</div>
<a href="{% url 'assignments:assignment-add' %}" class="add-btn"><i class="fa fa-plus"></i> New Assignment</a>
</div>
{% endblock %}
<div class="links">
<a href="/dashboard/"> Dashboard </a>
<a href="/announcements/"> Announcements </a>
<a href="/forum/"> Forum </a>
<a href="/calendar/"> Calendar </a>
</div>
{% endblock %}
\ No newline at end of file
{% extends 'base.html' %}
{% block title %}Widget's Assignments{% endblock %}
{% block heading %}Welcome to Widget's Assignments{% endblock %}
{% block content %}
<ul>
{% for assignment in assignments %}
<li>
<a href="{ assignment.get_absolute_url }"></a>
</li>
{% endfor %}
<a href="{% url 'add-assignment' assignment.id %}">
<button>{{ assignment.title }}</button>
</a><br>
</ul>
<a href="{% url 'dashboard:dashboard' %}">Dashboard</a><br>
<a href="{% url 'announcements:announcements' %}">Announcements</a><br>
<a href="{% url 'forum:forum' %}">Forum</a><br>
<a href="{% url 'calendar:calendar' %}">Calendar</a>
{% 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