Commit 4f7f5afc authored by Emmanuel Linus T. Evangelista's avatar Emmanuel Linus T. Evangelista
parents 087073ca ebcc9ec4
# Widgets FEKK # Widgets FEKK
CSCI 40 - A and C CSCI 40 - A and C
## Lab 1 ## Lab
Contributors: Contributors:
- Emmanuel Linus Evangelista (Forum) - Emmanuel Linus Evangelista (Forum)
- Kyla Sydney Martin (Announcements) - Kyla Sydney Martin (Announcements)
...@@ -10,3 +10,4 @@ Contributors: ...@@ -10,3 +10,4 @@ Contributors:
Video Link for Lab 1: https://drive.google.com/file/d/1iZN6jfImQB5sxjsqfMPsWcjvSW20x3ei/view?usp=sharing Video Link for Lab 1: https://drive.google.com/file/d/1iZN6jfImQB5sxjsqfMPsWcjvSW20x3ei/view?usp=sharing
Video Link for Lab 2: https://drive.google.com/drive/folders/1T3HRmLxzgxY3vQLCxVyrm97430llL96i?usp=sharing Video Link for Lab 2: https://drive.google.com/drive/folders/1T3HRmLxzgxY3vQLCxVyrm97430llL96i?usp=sharing
Video Link for Lab 3: https://drive.google.com/drive/folders/1_50dYF_dUWmvoTX1KkqkKXG9AWM3xUS8?usp=sharing
\ No newline at end of file
...@@ -13,12 +13,16 @@ ...@@ -13,12 +13,16 @@
<div id = "courses"> <div id = "courses">
<ul> <ul>
<div class = "wrapper"> <div class = "wrapper">
{% for a in assignments %} {% for c in course%}
<div class = "block"> <div class = "block">
<h2> {{a.course}} </h2> <h2> {{ c }}</h2>
{% for a in assignments %}
{% if c == a.course%}
<li> <li>
<a href="/assignment/{{ a.pk }}/details"> {{a.name}} </a> <a href="/assignment/{{ a.pk }}/details"> {{a.name}} </a>
</li> </li>
{%endif%}
{%endfor%}
</div> </div>
{%endfor%} {%endfor%}
</div> </div>
......
...@@ -16,6 +16,6 @@ ...@@ -16,6 +16,6 @@
<div id = "courses"> <div id = "courses">
<h1> List of courses: </h1> <h1> List of courses: </h1>
</div> </div>
{% include "Assignments/assignment_list.html" with assignments=assignment %} {% include "Assignments/assignment_list.html" with assignments=assignment course=course %}
{%endblock content%} {%endblock content%}
\ 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