Commit f5883d1f authored by Deokhyun Lee's avatar Deokhyun Lee

assignements tags have been fixed to make more fined view

parent e489b814
{% extends 'base.html'%}
{% block title %}
{% if assignment %}
{{assignment.title}}
{% else %}
<p>No Available assignment.</p>
{% endif %}
{% endblock %}
{% block content %}
{% if assignment %}
<h1>{{assignment.name}}</h1>
<ul>
<h2>{{assignment.course.code}} {{assignment.course.title}} - {{assignment.course.section}} </h2>
<br>
<h2>Description: {{assignment.description}}</h2><br>
<h2>Description: {{assignment.description}}</h2><br>
<h2>Description: {{assignment.description}}</h2><br>
</ul>
{% else %}
<p>No Available Books.</p>
{% endif %}
<ul>
<li ><button type="button" onclick="window.location.href='/assignments/{{assignments.pk}}/edit'">Edit Assignments</button></li>
</ul>
{% endblock %}
\ No newline at end of file
...@@ -15,11 +15,13 @@ ...@@ -15,11 +15,13 @@
{% else %} {% else %}
<p>No Available Assignments.</p> <p>No Available Assignments.</p>
{% endif %} {% endif %}
<li><button type="button" onclick="window.location.href='/books/add'">New Assignments</button></li> <ul>
<li><a href="/dashboard">Dashboard</a></li> <li><button type="button" onclick="window.location.href='/books/add'">New Assignments</button></li>
<li><a href="/announcements">Announcements</a></li> <li><a href="/dashboard">Dashboard</a></li>
<li><a href="/forum">Forum</a></li> <li><a href="/announcements">Announcements</a></li>
<li><a href="/calendar">Calendar</a></li> <li><a href="/forum">Forum</a></li>
<li><a href="/calendar">Calendar</a></li>
</ul>
{% 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