diff options
author | Prabhu Ramachandran | 2017-02-23 11:55:53 +0530 |
---|---|---|
committer | GitHub | 2017-02-23 11:55:53 +0530 |
commit | b001bc98db69e1ef1926b0f2103bf5a291682f93 (patch) | |
tree | 1e5327b9b7434e0e36fd5b70bf9469e9b71c5919 /yaksh/templates | |
parent | b3a47d8d4b90b4540876d3dbd1aa0c9c334d84e8 (diff) | |
parent | a8392a2a9e62264af8ea096a4a5e99be6cd1b289 (diff) | |
download | online_test-b001bc98db69e1ef1926b0f2103bf5a291682f93.tar.gz online_test-b001bc98db69e1ef1926b0f2103bf5a291682f93.tar.bz2 online_test-b001bc98db69e1ef1926b0f2103bf5a291682f93.zip |
Merge pull request #227 from ankitjavalkar/fix-dashboard-logout
Add a new view for logout
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/manage.html | 2 | ||||
-rw-r--r-- | yaksh/templates/user.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html index 9744594..c9025d2 100644 --- a/yaksh/templates/manage.html +++ b/yaksh/templates/manage.html @@ -19,7 +19,7 @@ <li><a href="{{ URL_ROOT }}/exam/viewprofile">My Profile</a></li> <li><a href="{{ URL_ROOT }}/exam/changepassword">Change Password</a></li> <li><a href="{{ URL_ROOT }}/exam/manage/grader"> Grader </a></li> - <li><a style='cursor:pointer' onClick='location.replace("{{URL_ROOT}}/exam/complete/");'>Log out</a></li> + <li><a style='cursor:pointer' onClick='location.replace("{{URL_ROOT}}/exam/logout/");'>Log out</a></li> </ul> </div><!-- /.navbar --> </div><!-- /.container --> diff --git a/yaksh/templates/user.html b/yaksh/templates/user.html index 6f879fe..1707305 100644 --- a/yaksh/templates/user.html +++ b/yaksh/templates/user.html @@ -16,7 +16,7 @@ <div class= "collapse navbar-collapse" id="navbar"> <ul class="nav navbar-nav navbar-right"> <li><a href="{{ URL_ROOT }}/exam/viewprofile"> {{ user.get_full_name.title }} </a></li> - <li><a style='cursor:pointer' onClick='location.replace("{{URL_ROOT}}/exam/complete/");'> <span class="glyphicon glyphicon-log-out">Logout </span></a></li> + <li><a style='cursor:pointer' onClick='location.replace("{{URL_ROOT}}/exam/logout/");'> <span class="glyphicon glyphicon-log-out">Logout </span></a></li> </ul> </div><!-- /.navbar --> </div><!-- /.container --> |