summaryrefslogtreecommitdiff
path: root/testapp/templates
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/templates')
-rw-r--r--testapp/templates/exam/add_question.html9
-rw-r--r--testapp/templates/exam/add_quiz.html10
-rw-r--r--testapp/templates/exam/showusers.html12
-rw-r--r--testapp/templates/manage.html42
4 files changed, 73 insertions, 0 deletions
diff --git a/testapp/templates/exam/add_question.html b/testapp/templates/exam/add_question.html
new file mode 100644
index 0000000..fb5d38b
--- /dev/null
+++ b/testapp/templates/exam/add_question.html
@@ -0,0 +1,9 @@
+{% extends "manage.html" %}
+
+{% block subtitle %}
+Add Question
+{% endblock %}
+
+{% block manage %}
+<p>Add Question
+{% endblock %}
diff --git a/testapp/templates/exam/add_quiz.html b/testapp/templates/exam/add_quiz.html
new file mode 100644
index 0000000..d568b30
--- /dev/null
+++ b/testapp/templates/exam/add_quiz.html
@@ -0,0 +1,10 @@
+{% extends "manage.html" %}
+
+
+{% block subtitle %}
+Add Quiz
+{% endblock %}
+
+{% block manage %}
+<p>Add Quiz
+{% endblock %}
diff --git a/testapp/templates/exam/showusers.html b/testapp/templates/exam/showusers.html
new file mode 100644
index 0000000..ad9534f
--- /dev/null
+++ b/testapp/templates/exam/showusers.html
@@ -0,0 +1,12 @@
+{% extends "manage.html" %}
+
+
+{% block subtitle %}
+List of Users
+{% endblock %}
+
+{% block manage %}
+{% for name in user %}
+<a href="{{URL_ROOT}}/exam/grade_user/{{ name }}">{{ name }}</a><br>
+{% endfor %}
+{% endblock %}
diff --git a/testapp/templates/manage.html b/testapp/templates/manage.html
new file mode 100644
index 0000000..3b67999
--- /dev/null
+++ b/testapp/templates/manage.html
@@ -0,0 +1,42 @@
+{% extends "base.html" %}
+
+{% block title %}Manage{% endblock title %}
+
+{% block content %}
+
+<div class="container-fluid">
+ <div class="sidebar">
+ <div class="well">
+ <h5>Manage</h5>
+ <ul>
+ <li><a href="{{ URL_ROOT }}/exam/addquestion">Add Questions</a></li>
+ <li><a href="{{ URL_ROOT }}/exam/addquiz">Add Quiz</a></li>
+ <li><a href="{{ URL_ROOT }}/exam/grade_user">Grade User</a></li>
+ <li><a href="{{ URL_ROOT }}/exam/monitor">Monitor </a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+
+<div class="container">
+ <div class="content">
+ <div class="page-header">
+ <h1><Strong><center>Online Test</center></strong></h1>
+ </div>
+
+ <div class=row>
+ <div class=span14>
+ <h3><center>{% block subtitle %} {% endblock %}</center></h3><br>
+ {% block manage %}
+ {% endblock %}
+ </div>
+ </div>
+ </div>
+<footer>
+ <p>&copy; FOSSEE group, IIT Bombay</p>
+</footer>
+
+ </div> <!-- /container -->
+
+
+{% endblock content %}