From 6d3ece46b9a6569c711e20db2c3220e32a82751c Mon Sep 17 00:00:00 2001
From: adityacp
Date: Tue, 20 Sep 2016 14:53:01 +0530
Subject: changed manage and courses template
---
yaksh/templates/manage.html | 20 ++++++++++++++++
yaksh/templates/yaksh/courses.html | 47 --------------------------------------
2 files changed, 20 insertions(+), 47 deletions(-)
(limited to 'yaksh')
diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html
index b628a44..ea587df 100644
--- a/yaksh/templates/manage.html
+++ b/yaksh/templates/manage.html
@@ -77,6 +77,26 @@
Moderator's Dashboard!
Click on the button given below to add a new course.
+ Click on the button to Create a Demo course.
+ Help
+
+
+
+
+ - A Demo Course and Demo Quiz will be created (Click Courses link on nav bar to view courses).
+ - Some Demo Questions are also created for you (Click Questions link on nav bar to view questions).
+ - In Courses you can view Demo Quiz.
+ - Click on the Demo Quiz and Click on User Mode or God Mode to take the quiz.
+
+ - You can also edit Demo quiz.
+
+
+
+ Close
+
+ {% if msg %}
+ {{ msg }}
+ {% endif %}
{% if trial_paper %}
You have trial papers.
diff --git a/yaksh/templates/yaksh/courses.html b/yaksh/templates/yaksh/courses.html
index bfc3cd8..43f323b 100644
--- a/yaksh/templates/yaksh/courses.html
+++ b/yaksh/templates/yaksh/courses.html
@@ -155,52 +155,5 @@
{% endif %}
-{% if demo_course %}
-{% with demo_course as course %}
- Demo Course
- Help
-
-
-
- - This is a Demo Course
-
- - You will not be able to edit Demo course and Demo Quiz.
- - You can only take Demo Quiz by User Mode or God Mode.
- - This is for you to get familiar with the interface.
-
-
- Close
-
-
-
-
-
-
- Course
- {% if course.active %}
- Active
- {% else %}
- Closed
- {% endif %}
-
-
{{ course.name }}
-
-
-
-
Quiz(zes)
- {% if course.get_quizzes %}
- {% for quiz in course.get_quizzes %}
-
{{ quiz.description }}
- {% endfor %}
- {% else %}
-
No quiz
- {% endif %}
-
-
-
-
-{% endwith %}
-
-{% endif %}
{% endblock %}
--
cgit