summaryrefslogtreecommitdiff
path: root/yaksh/templates/user.html
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates/user.html')
-rw-r--r--yaksh/templates/user.html21
1 files changed, 8 insertions, 13 deletions
diff --git a/yaksh/templates/user.html b/yaksh/templates/user.html
index a50451e..987593f 100644
--- a/yaksh/templates/user.html
+++ b/yaksh/templates/user.html
@@ -11,12 +11,17 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <a class="navbar-brand" href="{{ URL_ROOT }}/exam/quizzes"> Yaksh </a>
+ <a class="navbar-brand navbar-left" href="{{ URL_ROOT }}/exam/manage/">
+ <img src="{{ URL_ROOT }}/static/yaksh/images/yaksh_banner.png" alt="YAKSH" style="margin-top: -3px; margin-left:-15px">
+ </img>
+ </a>
</div>
<div class= "collapse navbar-collapse" id="navbar">
<ul class="nav navbar-nav navbar-right">
+ <li><a href="{{ URL_ROOT }}/exam/quizzes/enrolled/"> Enrolled Courses </a></li>
+ <li><a href="{{ URL_ROOT }}/exam/reset/changepassword"> Change Password </a></li>
<li><a href="{{ URL_ROOT }}/exam/viewprofile"> {{ user.get_full_name.title }} </a></li>
- <li><a style='cursor:pointer' id='logout' onClick='location.replace("{{URL_ROOT}}/exam/logout/");'> <span class="glyphicon glyphicon-log-out">Logout </span></a></li>
+ <li><a href="{{URL_ROOT}}/exam/logout/" id="logout">Logout</a></li>
</ul>
</div><!-- /.navbar -->
</div><!-- /.container -->
@@ -24,16 +29,6 @@
{% endblock %}
{% block content %}
<div class="row">
- <div class="col-sm-3 col-md-2 sidebar">
- <ul class="nav nav-sidebar">
- <li><a href="{{ URL_ROOT }}/exam/quizzes"> Home </a></li>
- <li><a href="{{ URL_ROOT }}/exam/quizzes/enrolled/"> Enrolled Courses </a></li>
- <li><a href="{{ URL_ROOT }}/exam/viewprofile"> Profile </a></li>
- <li><a href="{{ URL_ROOT }}/exam/reset/changepassword"> Change Password </a></li>
- </ul>
- {% block usersidebar %}
- {% endblock %}
- </div>
<div class="col-sm-8 col-sm-offset-3 col-md-9 col-md-offset-2 main">
<div class="row">
{% block main %}
@@ -44,6 +39,6 @@
{% endblock %}
{% if user %}
{% block info %}
- <h5>{{user.get_full_name|title}}({{user.profile.roll_number}}) Logged in as {{user.username}}</h5>
+ <h5><b>{{user.get_full_name|title}}</b> with Roll no. <b>{{user.profile.roll_number}}</b> is logged in as <b>{{user.username}}</b></h5>
{% endblock %}
{% endif %}