add resource course views
This commit is contained in:
parent
cf31735e80
commit
bc2c64f3b8
11 changed files with 358 additions and 30 deletions
|
@ -1,19 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Enrolling</h1>
|
||||
{% for course in enrolling %}
|
||||
<h2> {{ course }} </h2>
|
||||
{% endfor %}
|
||||
<ul>
|
||||
{% for course in enrolling %}
|
||||
<li>
|
||||
<a href="/courses/{{ course.pk }}-{{ course.slug }}"> {{ course }} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<h1> Available </h1>
|
||||
{% for course in available %}
|
||||
<h2> {{ course }} </h2>
|
||||
{% endfor %}
|
||||
<ul>
|
||||
{% for course in available %}
|
||||
<li>
|
||||
<a href="/courses/{{ course.pk }}-{{ course.slug }}"> {{ course }} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue