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
+ + + {% 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 -
- -
-
-
-
-

- 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