summaryrefslogtreecommitdiff
path: root/yaksh/templates/manage.html
diff options
context:
space:
mode:
authorankitjavalkar2015-09-14 12:28:41 +0530
committerankitjavalkar2015-09-15 11:33:59 +0530
commit7a60f782995eed0352f3172f445bb35ae8ee6aa9 (patch)
tree91d6d12b0a494dd9777fd1120e92db5763bf009a /yaksh/templates/manage.html
parent32cde26f9807a29eb1fae0833e353212d43d7802 (diff)
downloadonline_test-7a60f782995eed0352f3172f445bb35ae8ee6aa9.tar.gz
online_test-7a60f782995eed0352f3172f445bb35ae8ee6aa9.tar.bz2
online_test-7a60f782995eed0352f3172f445bb35ae8ee6aa9.zip
Remove testapp dir, remove reference to testapp in paths, files
Diffstat (limited to 'yaksh/templates/manage.html')
-rw-r--r--yaksh/templates/manage.html88
1 files changed, 88 insertions, 0 deletions
diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html
new file mode 100644
index 0000000..ca2ac65
--- /dev/null
+++ b/yaksh/templates/manage.html
@@ -0,0 +1,88 @@
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <title>
+ {% block title %}
+ {% endblock %}
+ </title>
+
+ {% block meta %}
+<meta charset="utf-8">
+ <meta name="description" content="">
+<meta name="author" content="">
+ {% endblock %}
+
+ <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" />
+ {% block css %}
+ {% endblock %}
+
+ {% block script %}
+ {% endblock %}
+ </head>
+
+<body {% block onload %}{% endblock %}>
+<div class="topbar">
+ <div class="fill">
+ <div class="container">
+ <a href="{{ URL_ROOT }}/exam/manage/"><h3 class="brand"><strong>Online Test</h3></strong></a>
+<ul>
+<li><a href="{{ URL_ROOT }}/exam/manage/questions">Questions</a></li>
+ <li><a href="{{ URL_ROOT }}/exam/manage/showquiz">Quizzes</a></li>
+ <li><a href="{{ URL_ROOT }}/exam/manage/gradeuser">Grade User</a></li>
+<li><a href="{{ URL_ROOT }}/exam/manage/monitor">Monitor</a></li>
+ </ul>
+<ul style="float:right;">
+<li><strong><a style='cursor:pointer' onClick='location.replace("{{URL_ROOT}}/exam/complete/");'>Log out</a></strong></li>
+ </ul>
+ </div>
+ </div>
+</div>
+ <div class="container">
+ <div class="content">
+ <div class="page-header">
+<h3><center>{% block subtitle %}Welcome {{ user.first_name.title }} {{user.last_name.title}} !{% endblock %}</center></h3><br>
+ </div>
+ <div class=row>
+ <div class=span14>
+ {% block manage %}
+ <center><h4>List of quizzes! Click on the given links to have a look at answer papers for a quiz.</h4></center>
+ <hr>
+ <table class="bordered-table zebra-striped">
+ <th>Quiz</th>
+ <th>Taken By</th>
+ <th>No. of users Passed</th>
+ <th>No. of users Failed</th>
+ {% for paper, answer_papers, users_passed, users_failed in users_per_paper %}
+ <tr>
+ <td>
+ <a href="{{URL_ROOT}}/exam/manage/monitor/{{paper.id}}/">{{ paper.quiz.description }}</a>
+ </td>
+ <td>
+ {{ answer_papers|length }} user(s)
+ </td>
+ <td>
+ {{ users_passed }}
+ </td>
+ <td>
+ {{ users_failed }}
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
+ <hr>
+ <center>
+ <h4>Moderator's Dashboard!</h4>
+ <h5>Click on the button given below to add a new quiz.</h5>
+ <button class="btn" type="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/addquiz");'>Add New Quiz</button>
+ </center>
+{% endblock %}
+ </div>
+ </div>
+ </div>
+ <footer>
+ <p>&copy; FOSSEE group, IIT Bombay</p>
+ </footer>
+ </div>
+
+</body>
+</html>