-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcourses.html
75 lines (71 loc) · 4.2 KB
/
courses.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{% extends 'base.html' %}
{% load static %}
{% block content %}
<div class="container my-4">
<div class="row">
<div class="col-md-3 text-center" style="border-right: 1px solid #E7E7E7;">
<div class="my-2 p-4 px-4 text-left">
<b>Filters</b>
<hr style="border-top: 1px dashed #F0486A;">
<p class="greenshade"><b>Course</b></p>
<div>
<form action="" method="POST">
<div class="form-group form-check">
<input type="checkbox" name="btech" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Bachelor of Eng./Tech</label>
</div>
<div class="form-group form-check">
<input type="checkbox" name="bsc" class="form-check-input" id="exampleCheck2">
<label class="form-check-label" for="exampleCheck2">Bachelor of Science</label>
</div>
<div class="form-group form-check">
<input type="checkbox" name="bba" class="form-check-input" id="exampleCheck3">
<label class="form-check-label" for="exampleCheck3">BMS/BBA/BBS</label>
</div>
<div class="form-group form-check">
<input type="checkbox" name="ba" class="form-check-input" id="exampleCheck4">
<label class="form-check-label" for="exampleCheck4">Bachelor of Arts</label>
</div>
<div class="form-group form-check">
<input type="checkbox" name="bl" class="form-check-input" id="exampleCheck5">
<label class="form-check-label" for="exampleCheck5">Bachelor of Law</label>
</div>
<div class="form-group form-check">
<input type="checkbox" name="mbbs" class="form-check-input" id="exampleCheck6">
<label class="form-check-label" for="exampleCheck6">MBBS</label>
</div>
<button type="submit" class="btn btn-primary nav-button">Filter</button>
</form>
</div>
</div>
</div>
<div class="col-md-9">
<div class="row">
<div class="col">
<img class="w-100 mr-2" src="{% static 'img/categoryback.svg' %}" alt="">
<h2 class="heading more px-5" style="margin-top: -80px;">Top Courses</h2>
</div>
</div>
{% for course in courses %}
{% if forloop.first %}<div class="row mt-5">{% endif %}
<div class="col-md-4">
<a class="cat" href="{{course.link}}" target="blank">
<div class="card card-prop m-0">
<img src="../media/{{course.smallImage}}" class="card-img-top" alt="">
<div class="card-body">
<p>{{course.stream}}</p>
<h4 class="heading">{{course.title}}</h4>
<br>
<img class="mb-2" src="{% static 'img/mostenrolled.svg' %}" alt="">
<p class="d-inline"> Most Enrolled</p>
</div>
</div>
</a>
</div>
{% if forloop.counter|divisibleby:3 %}</div><div class="row mt-5">{% endif %}
{% if forloop.last %}</div>{% endif %}
{% endfor %}
</div>
</div>
</div>
{% endblock %}