summaryrefslogtreecommitdiff
path: root/yaksh/templates/yaksh/design_course_session.html
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates/yaksh/design_course_session.html')
-rw-r--r--yaksh/templates/yaksh/design_course_session.html30
1 files changed, 9 insertions, 21 deletions
diff --git a/yaksh/templates/yaksh/design_course_session.html b/yaksh/templates/yaksh/design_course_session.html
index a2d9b08..52895ed 100644
--- a/yaksh/templates/yaksh/design_course_session.html
+++ b/yaksh/templates/yaksh/design_course_session.html
@@ -1,30 +1,20 @@
-{% extends "manage.html" %}
-{% load custom_filters %}
-{% block title %}Design Course Session{% endblock %}
+{% load static %}
-{% block pagetitle %}Design Course Session{% endblock %}
+{% block title %} <center> <h3> Design Course Session </h3> </center>{% endblock %}
{% block script %}
-<script src="{{ URL_ROOT }}/static/yaksh/js/jquery-3.3.1.min.js"></script>
-<script src="{{ URL_ROOT }}/static/yaksh/js/design_course.js"></script>
+<script language="JavaScript" type="text/javascript" src="{% static 'yaksh/js/design_course.js' %}"></script>
{% endblock %}
{% block css %}
-<link rel="stylesheet" media="all" type="text/css" href="{{ URL_ROOT }}/static/yaksh/css/design_course.css" />
+<link rel="stylesheet" href="{% static 'yaksh/css/design_course.css' %}">
{% endblock %}
-{% block main %}
-<div class="yakshwell container">
-<a href="{{URL_ROOT}}/exam/manage/courses/" class="btn btn-primary">
- Back to Courses
-</a>
-<br/>
-<br/>
-<form action="{{URL_ROOT}}/exam/manage/courses/designcourse/{{course_id}}/" method="POST" id="design_course_form">
+<form action="{% url 'yaksh:design_course' course.id %}" method="POST" id="design_course_form">
{% csrf_token %}
- <div class="tab-pane active" id="available-lesson-quiz">
+ <div id="available-lesson-quiz">
<div class="row">
- <div class="col-md-8 col-md-offset-2 available-list">
+ <div class="col-md-12 available-list">
<div id="fixed-available-wrapper">
<p><u><b>Available Modules:</b></u></p>
<div id="fixed-available">
@@ -65,7 +55,7 @@
</center>
<br><br>
</div>
- <div class="col-md-8 col-md-offset-2">
+ <div class="col-md-12">
<div id="fixed-added-wrapper">
<p><u><b>Chosen Modules:</b></u></p>
<div id="fixed-added">
@@ -145,6 +135,4 @@
</div>
</div> <!-- /.row -->
</div>
-</form>
-</div>
-{% endblock %} \ No newline at end of file
+</form> \ No newline at end of file