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

Merge branch 'assignmentsv2'

parents e6b0b02a 9f9b06dc
{% extends 'base.html' %} {% 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 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 %} {% block content %}
<ul> <div class="main">
<div class="list">
<ul>
{% for assignment in assignments %} {% for assignment in assignments %}
<li> <li>
<a href="{ assignment.get_absolute_url }">{{assignment}}</a> <a href="{ assignment.get_absolute_url }">{{assignment}}</a>
</li> </li>
{% endfor %} {% endfor %}
<a href="{% url 'assignments:assignment-add' %}"> </ul>
<button>New Assignment</button> </div>
</a><br> <a href="{% url 'assignments:assignment-add' %}" class="add-btn"><i class="fa fa-plus"></i> New Assignment</a>
</ul> </div>
<a href="/dashboard/"> Dashboard </a> {% endblock %}
<a href="/announcements/"> Announcements </a> <div class="links">
<a href="/forum/"> Forum </a> <a href="/dashboard/"> Dashboard </a>
<a href="/calendar/"> Calendar </a> <a href="/announcements/"> Announcements </a>
<a href="/forum/"> Forum </a>
<a href="/calendar/"> Calendar </a>
</div>
{% endblock %} {% 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