diff options
author | ankitjavalkar | 2016-08-19 11:07:32 +0530 |
---|---|---|
committer | GitHub | 2016-08-19 11:07:32 +0530 |
commit | 9a9eb0d9d73cea1bdc6f8ff38631eb4bb664813b (patch) | |
tree | 6b7f4910da3f8d0dcd506cd9551804cc61ee443e /yaksh | |
parent | e1e299b671a19b65705fb256d282e1e802a4c051 (diff) | |
parent | 23ce8a47eeacba027ca35d6f0bcbd3ff78692913 (diff) | |
download | online_test-9a9eb0d9d73cea1bdc6f8ff38631eb4bb664813b.tar.gz online_test-9a9eb0d9d73cea1bdc6f8ff38631eb4bb664813b.tar.bz2 online_test-9a9eb0d9d73cea1bdc6f8ff38631eb4bb664813b.zip |
Merge pull request #125 from ankitjavalkar/minor-template-change-for-selenium
Minor Changes: admin.py and template changes
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/admin.py | 3 | ||||
-rw-r--r-- | yaksh/templates/user.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/complete.html | 2 |
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 %} |