summaryrefslogtreecommitdiff
path: root/yaksh/templates/user.html
diff options
context:
space:
mode:
authoradityacp2018-01-02 15:28:47 +0530
committeradityacp2018-01-02 15:28:47 +0530
commit8a062d48a0347ae43b1b9d5b1ca532387d8ad3d9 (patch)
treeefb9c6aa856157e1ff883631c96b636648445e07 /yaksh/templates/user.html
parentb44db042059e69df4c4a948d6dff73604c7abf83 (diff)
parent7f14d3ef8212b1cd88a9c96a134d2bd5321a4078 (diff)
downloadonline_test-8a062d48a0347ae43b1b9d5b1ca532387d8ad3d9.tar.gz
online_test-8a062d48a0347ae43b1b9d5b1ca532387d8ad3d9.tar.bz2
online_test-8a062d48a0347ae43b1b9d5b1ca532387d8ad3d9.zip
Update to latest changes
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 %}