summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authoradityacp2016-04-29 14:40:50 +0530
committeradityacp2016-04-29 14:40:50 +0530
commitd2affe68e84da54dc99d9876ab359ad448aa6828 (patch)
treece1062f424930806acce1a940dd14eb41b9077b7 /yaksh/templates
parent3438ca95172897b594c216967d51cf5771d75f73 (diff)
downloadonline_test-d2affe68e84da54dc99d9876ab359ad448aa6828.tar.gz
online_test-d2affe68e84da54dc99d9876ab359ad448aa6828.tar.bz2
online_test-d2affe68e84da54dc99d9876ab359ad448aa6828.zip
changes for adding teachers
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/addteacher.html25
1 files changed, 5 insertions, 20 deletions
diff --git a/yaksh/templates/yaksh/addteacher.html b/yaksh/templates/yaksh/addteacher.html
index 6bb5c9a..7e04f71 100644
--- a/yaksh/templates/yaksh/addteacher.html
+++ b/yaksh/templates/yaksh/addteacher.html
@@ -54,17 +54,17 @@
{% endif %}
{% endif %}
</form>
-{% if status == True and teachers_added or teachers_rejected %}
-<center>
-<h4>Teacher(s) without profile are rejected</h4>
+{% if status == True %}
<div class="row">
- <div class="span6 wrap">
+ <div class="span6 offset4 wrap">
<center><b><u>Teacher(s) Added</u></b></center><br>
{% if teachers_added %}
{% for teacher in teachers_added %}
<div class="well">
<div class="row">
- <h5>{{ teacher.get_full_name }}</h5>
+ <div class="span3" style="width: auto;">
+ <h5>{{ teacher.get_full_name }}</h5>
+ </div>
</div>
</div>
{% endfor %}
@@ -72,21 +72,6 @@
<center><b>No Teacher(s) Added</b></center>
{% endif %}
</div>
- <div class="span6 wrap">
- <center><b><u>Teacher(s) Rejected</u></b></center><br>
- {% if teachers_rejected %}
- {% for teacher in teachers_rejected %}
- <div class="well">
- <div class="row">
- <h5>{{ teacher.get_full_name }}</h5>
- </div>
- </div>
- {% endfor %}
- {% else %}
- <center><b>No Teacher(s) Rejected</b></center>
- {% endif %}
- </div>
</div>
-</center>
{% endif %}
{% endblock %}