From 5d92e6fac7901c9829a759aec539e603dfb66038 Mon Sep 17 00:00:00 2001 From: adityacp Date: Tue, 26 Apr 2016 19:00:01 +0530 Subject: rebase changes --- yaksh/templates/yaksh/addteacher.html | 57 ++++++++++++++++++++++++++++++++ yaksh/templates/yaksh/course_detail.html | 2 ++ yaksh/templates/yaksh/courses.html | 5 +++ yaksh/templates/yaksh/user_data.html | 2 +- yaksh/templates/yaksh/viewcourse.html | 51 ++++++++++++++++++++++++++++ 5 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 yaksh/templates/yaksh/addteacher.html create mode 100644 yaksh/templates/yaksh/viewcourse.html (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/addteacher.html b/yaksh/templates/yaksh/addteacher.html new file mode 100644 index 0000000..0ebbbbd --- /dev/null +++ b/yaksh/templates/yaksh/addteacher.html @@ -0,0 +1,57 @@ +{% extends "manage.html" %} + +{% block title %} Add teacher {% endblock title %} +{% block subtitle %} {{ course.name }} {% endblock %} + +{% block css %} + +{% endblock %} + +{% block manage %} +
Quiz(zes)
{% if course.get_quizzes %} diff --git a/yaksh/templates/yaksh/user_data.html b/yaksh/templates/yaksh/user_data.html index 3350763..22be3ed 100644 --- a/yaksh/templates/yaksh/user_data.html +++ b/yaksh/templates/yaksh/user_data.html @@ -82,7 +82,7 @@ User IP address: {{ paper.user_ip }} Monitor quiz {% else %} {% with data.papers.0 as paper %} -Monitor quiz +Monitor quiz {% endwith %} {% endif %} diff --git a/yaksh/templates/yaksh/viewcourse.html b/yaksh/templates/yaksh/viewcourse.html new file mode 100644 index 0000000..a3ef3e6 --- /dev/null +++ b/yaksh/templates/yaksh/viewcourse.html @@ -0,0 +1,51 @@ +{% extends "manage.html" %} + +{% block title %} Courses {% endblock title %} + +{% block subtitle %} Courses {% endblock %} + +{% block css %} + +{% endblock %} + +{% block manage %} ++ Course + {% if course.active %} + Active + {% else %} + Closed + {% endif %} +
+ {{ course.name }} + +Quiz(zes)
+ {% if course.get_quizzes %} + {% for quiz in course.get_quizzes %} + {{ quiz.description }}No quiz + {% endif %} +