summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yaksh/admin.py3
-rw-r--r--yaksh/templates/user.html2
-rw-r--r--yaksh/templates/yaksh/complete.html2
3 files changed, 4 insertions, 3 deletions
diff --git a/yaksh/admin.py b/yaksh/admin.py
index c31b99b..2ce3ac4 100644
--- a/yaksh/admin.py
+++ b/yaksh/admin.py
@@ -1,5 +1,5 @@
from yaksh.models import Question, Quiz
-from yaksh.models import TestCase, StandardTestCase, StdoutBasedTestCase
+from yaksh.models import TestCase, StandardTestCase, StdoutBasedTestCase, Course
from django.contrib import admin
admin.site.register(Question)
@@ -7,3 +7,4 @@ admin.site.register(TestCase)
admin.site.register(StandardTestCase)
admin.site.register(StdoutBasedTestCase)
admin.site.register(Quiz)
+admin.site.register(Course)
diff --git a/yaksh/templates/user.html b/yaksh/templates/user.html
index 4074656..009dd2f 100644
--- a/yaksh/templates/user.html
+++ b/yaksh/templates/user.html
@@ -34,7 +34,7 @@
<li><a href="{{ URL_ROOT }}/exam/changepassword">Change Password</a></li>
</ul>
<ul style="float:right;">
- <li><strong><a style='cursor:pointer' onClick='location.replace("{{URL_ROOT}}/exam/complete/");'>Log out</a></strong></li>
+ <li><strong><a style='cursor:pointer' onClick='location.replace("{{URL_ROOT}}/exam/complete/");' id='logout'>Log out</a></strong></li>
</ul>
</div>
</div>
diff --git a/yaksh/templates/yaksh/complete.html b/yaksh/templates/yaksh/complete.html
index 07cbf3a..98adf9b 100644
--- a/yaksh/templates/yaksh/complete.html
+++ b/yaksh/templates/yaksh/complete.html
@@ -29,5 +29,5 @@
<center><h2> Good bye! </h2></center>
<center><h4> {{message}} </h4></center>
<br><center><h4>You may now close the browser.</h4></center><br>
- <center><a href="{{URL_ROOT}}/exam/"> Login Again </a></center>
+ <center><a href="{{URL_ROOT}}/exam/" id="login_again"> Login Again </a></center>
{% endblock content %}