summaryrefslogtreecommitdiff
path: root/yaksh/templates/manage.html
diff options
context:
space:
mode:
authorankitjavalkar2018-10-01 18:41:45 +0530
committerankitjavalkar2018-10-09 16:46:46 +0530
commit28edb315ce60a1ad95b7a608301a67ee8ba3e9d6 (patch)
tree66081612a5d754d8beeb36b6caf857b819adf333 /yaksh/templates/manage.html
parentbdd20668da9631396866e8a1942bcb8b2e623396 (diff)
downloadonline_test-28edb315ce60a1ad95b7a608301a67ee8ba3e9d6.tar.gz
online_test-28edb315ce60a1ad95b7a608301a67ee8ba3e9d6.tar.bz2
online_test-28edb315ce60a1ad95b7a608301a67ee8ba3e9d6.zip
Minor UI changes and selenium test fixes
Diffstat (limited to 'yaksh/templates/manage.html')
-rw-r--r--yaksh/templates/manage.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html
index 3ba2817..fbd4c64 100644
--- a/yaksh/templates/manage.html
+++ b/yaksh/templates/manage.html
@@ -18,19 +18,20 @@
<li class="nav-item"><a class="nav-link" href="{{ URL_ROOT }}/exam/manage/gradeuser">Grade User</a></li>
<li class="nav-item"><a class="nav-link" href="{{ url_root }}/exam/manage/grader"> Regrade </a></li>
<li class="nav-item dropdown">
- <a class="dropdown-toggle nav-link" data-toggle="dropdown" href="#"> {{user.get_full_name|title}}</a>
+ <a class="dropdown-toggle nav-link" id="user_dropdown" data-toggle="dropdown" href="#"> {{user.get_full_name|title}}</a>
<div class="dropdown-menu">
<a class="dropdown-item" href="{{ URL_ROOT }}/exam/viewprofile/"><i class="fa fa-user"></i> My Profile</a>
<div class="dropdown-divider"></div>
- <a class="dropdown-item" href="{{ URL_ROOT }}/exam/reset/changepassword/"><i class="fa fa-key"></i> Change Password</a>
- <div class="dropdown-divider"></div>
- <a class="dropdown-item" href="{{URL_ROOT}}/exam/logout/"><i class="fa fa-sign-out"></i> Logout</a>
- <div class="dropdown-divider"></div>
{% if user.profile.is_moderator %}
<a class="dropdown-item" href="{{URL_ROOT}}/exam/toggle_moderator/"><i class="fa fa-exchange"></i>
Switch To Student
</a>
+ <div class="dropdown-divider"></div>
{% endif %}
+ <a class="dropdown-item" href="{{ URL_ROOT }}/exam/reset/changepassword/"><i class="fa fa-key"></i> Change Password</a>
+ <div class="dropdown-divider"></div>
+ <a class="dropdown-item" id="user_logout" href="{{URL_ROOT}}/exam/logout/"><i class="fa fa-sign-out"></i> Logout</a>
+ <div class="dropdown-divider"></div>
</div>
</ul>
</div>