summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradityacp2017-08-17 10:45:38 +0530
committeradityacp2017-08-17 10:45:38 +0530
commit8c1d2ffb0670998c35bd963d5458d245ac97c5fd (patch)
treed181cd6a7c729c01ed9637267e036fa69b5f407b
parentca630cd1a3464bc665f06ade7c6e78efa27e93cb (diff)
downloadonline_test-8c1d2ffb0670998c35bd963d5458d245ac97c5fd.tar.gz
online_test-8c1d2ffb0670998c35bd963d5458d245ac97c5fd.tar.bz2
online_test-8c1d2ffb0670998c35bd963d5458d245ac97c5fd.zip
Course Detail Template change
- Change input html tag to textarea for email subject - Change confussing variable name from template
-rw-r--r--yaksh/templates/yaksh/course_detail.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/yaksh/templates/yaksh/course_detail.html b/yaksh/templates/yaksh/course_detail.html
index 4ff380e..1f0e894 100644
--- a/yaksh/templates/yaksh/course_detail.html
+++ b/yaksh/templates/yaksh/course_detail.html
@@ -10,8 +10,7 @@
<script src="https://code.jquery.com/ui/1.9.1/jquery-ui.js"></script>
{% endblock %}
{% block css %}
-<link rel="stylesheet" href="//code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css">
-<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
+<link rel="stylesheet" href="https://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.5.1/css/froala_editor.min.css" rel="stylesheet" type="text/css" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.5.1/css/froala_style.min.css" rel="stylesheet" type="text/css" />
{% endblock %}
@@ -21,7 +20,7 @@
<div class="row">
<div class="col-sm-3 col-md-2 sidebar">
<ul class="nav nav-sidebar">
- {% if msg == 'mail'%}
+ {% if status == 'mail'%}
<li><a href="{{URL_ROOT}}/exam/manage/course_detail/{{course.id}}/">
Go to Course Details</a></li>
{% else %}
@@ -56,7 +55,7 @@
</center>
</div>
{% endif %}
- {% if msg == 'mail' %}
+ {% if status == 'mail' %}
<div id="enrolled-students">
<center><b><u>Send Mails to Students</u></b></center><br>
{% if course.get_enrolled %}
@@ -85,7 +84,7 @@
{% endfor %}
</table>
<br>
- <input type="text" name="subject" id="subject" placeholder="Email Subject">
+ <textarea name="subject" id="subject" placeholder="Email Subject" cols="50"></textarea>
<br><br>
<textarea name="body" id="email_body"></textarea><br>
Attachments: <input type="file" name="email_attach" multiple="">