blob: 43d98f0558433a75e0dbf88f3a428f1109e18ef6 (
plain)
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
|
{% extends 'website/templates/base.html' %}
{% block content %}
<h4><u>Recent Questions</u></h4>
{% for question in questions %}
<div class="question">
<div class="title">
<a href="{% url 'website:get_question' question.id %}">{{ question.title }}</a>
</div>
<br>
<span class="category">
<small>
<a href="{% url 'website:filter' question.category %}?qid={{ question.id }}">
{{ question.category }}
</a>
</small>
</span>
<span class="tutorial">
<small>
<a href="{% url 'website:filter' question.category question.tutorial %}?qid={{ question.id }}">
{{ question.tutorial}}
</a>
</small>
</span>
<span class="minute_range">
<small>
<a href="{% url 'website:filter' question.category question.tutorial question.minute_range %}?qid={{ question.id }}">
{{ question.minute_range }} min
</a>
</small>
</span>
<span class="second_range">
<small>
<a href="{% url 'website:filter' question.category question.tutorial question.minute_range question.second_range%}?qid={{ question.id }}">
{{ question.second_range }} sec
</a>
</small>
</span>
<span class="user">
{{ question.user }}
</span>
</div> <!-- /.question -->
{% endfor %}
{% endblock %}
|