summaryrefslogtreecommitdiff
path: root/yaksh/templates/manage.html
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates/manage.html')
-rw-r--r--yaksh/templates/manage.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html
index 334f6a2..b628a44 100644
--- a/yaksh/templates/manage.html
+++ b/yaksh/templates/manage.html
@@ -13,6 +13,7 @@
<link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/base.css" type="text/css" />
<link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/manage.css" type="text/css" />
+ <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/font-awesome.css" type="text/css" />
{% block css %}
{% endblock %}
<script language="JavaScript" type="text/javascript" src="{{ URL_ROOT }}/static/yaksh/js/jquery-1.4.2.min.js"></script>
@@ -77,15 +78,15 @@
<h5>Click on the button given below to add a new course.</h5>
<button class="btn" type="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/add_course");'>Add New Course</button>
</center>
- {% if trial_quiz %}
+ {% if trial_paper %}
<h5/> You have trial papers.
<table class="bordered-table zebra-striped">
<form action="" method="post">
{% csrf_token %}
- {% for quiz in trial_quiz %}
+ {% for paper in trial_paper %}
<tr>
- <td> <input type = "checkbox" name="delete_quiz" value = {{quiz.id}}></input></td>
- <td> <a href="{{URL_ROOT}}/exam/manage/gradeuser/{{quiz.id}}">{{quiz.description}}</td>
+ <td> <input type = "checkbox" name="delete_paper" value = {{paper.id}}></input></td>
+ <td> <a href="{{URL_ROOT}}/exam/manage/gradeuser/{{paper.question_paper.quiz.id}}">{{paper.question_paper.quiz.description}}</td>
</tr>
{% endfor %}
</table>