From 35c6ec27921137e31382ca1faa2c41d99550722a Mon Sep 17 00:00:00 2001 From: prathamesh Date: Tue, 1 Nov 2016 10:15:11 +0530 Subject: courses and question paper creation UI modified --- yaksh/templates/yaksh/course_detail.html | 25 +++++------ yaksh/templates/yaksh/courses.html | 60 +++++++++++-------------- yaksh/templates/yaksh/design_questionpaper.html | 3 +- yaksh/templates/yaksh/login.html | 4 +- 4 files changed, 39 insertions(+), 53 deletions(-) (limited to 'yaksh') diff --git a/yaksh/templates/yaksh/course_detail.html b/yaksh/templates/yaksh/course_detail.html index 94f29a3..c54f153 100644 --- a/yaksh/templates/yaksh/course_detail.html +++ b/yaksh/templates/yaksh/course_detail.html @@ -4,15 +4,12 @@ {% block subtitle %} {{ course.name }} {% endblock %} -{% block css %} - -{% endblock %} {% block script %} {% endblock %} {% block content %}
Course {% if course.active %} - Active + Active {% else %} - Closed + Closed {% endif %}
{{ course.name }} {% if user == course.creator %}Quiz(zes)
{% for quiz in course.get_quizzes %} {{ quiz.description }}Question Paper(s)
{% for quiz in course.get_quizzes %} {% if quiz.questionpaper_set.get %} Question Paper for {{ quiz.description }}No Question Paper - +
No Question Paper + Add
{% endif %} {% endfor %} @@ -88,7 +78,7 @@Course {% if course.active %} - Active + Active {% else %} - Closed + Closed {% endif %}
{{ course.name }}Quiz(zes)
{% if course.get_quizzes %} {% for quiz in course.get_quizzes %} @@ -154,7 +144,7 @@