Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widgets_FEKK
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kyla Martin
widgets_FEKK
Commits
ebcc9ec4
Commit
ebcc9ec4
authored
May 16, 2022
by
Katrina Bernice Tan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited assignments html
parent
6d9dd3ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
assignment_list.html
...KK/Assignments/templates/Assignments/assignment_list.html
+9
-5
assignments.html
WidgetFEKK/Assignments/templates/assignments.html
+1
-1
No files found.
WidgetFEKK/Assignments/templates/Assignments/assignment_list.html
View file @
ebcc9ec4
...
@@ -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>
<li>
{% for a in assignments %}
<a
href=
"/assignment/{{ a.pk }}/details"
>
{{a.name}}
</a>
{% if c == a.course%}
</li>
<li>
<a
href=
"/assignment/{{ a.pk }}/details"
>
{{a.name}}
</a>
</li>
{%endif%}
{%endfor%}
</div>
</div>
{%endfor%}
{%endfor%}
</div>
</div>
...
...
WidgetFEKK/Assignments/templates/assignments.html
View file @
ebcc9ec4
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment