summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authorprathamesh2017-01-03 10:08:13 +0530
committerprathamesh2017-01-03 10:08:13 +0530
commit43f2313d75e24a8c11855fb9718e48c1c06fb26f (patch)
tree1f5abc992430cc669ae4d34d689882482c393062 /yaksh/templates
parent011ca73b4c1042ceb208974e57c11474ecea65f2 (diff)
downloadonline_test-43f2313d75e24a8c11855fb9718e48c1c06fb26f.tar.gz
online_test-43f2313d75e24a8c11855fb9718e48c1c06fb26f.tar.bz2
online_test-43f2313d75e24a8c11855fb9718e48c1c06fb26f.zip
navbar display was not proper in small devices. modified navabar.
Looks better in small devices as well.
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/base.html6
-rw-r--r--yaksh/templates/manage.html7
-rw-r--r--yaksh/templates/user.html7
3 files changed, 12 insertions, 8 deletions
diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html
index 1609121..aade07a 100644
--- a/yaksh/templates/base.html
+++ b/yaksh/templates/base.html
@@ -20,12 +20,6 @@
<link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/sticky-footer.css" type="text/css" />
- <style>
- body {
- padding-top: 20px;
- padding-bottom: 20px;
- }
- </style>
{% block meta %}
<meta charset="utf-8">
<meta name="description" content="">
diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html
index eae4dd4..807a54c 100644
--- a/yaksh/templates/manage.html
+++ b/yaksh/templates/manage.html
@@ -3,9 +3,14 @@
<nav class="navbar navbar-fixed-top navbar-inverse">
<div class="container">
<div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
<a class="navbar-brand" href="{{ URL_ROOT }}/exam/manage/"> Online Test </a>
</div>
- <div id="navbar">
+ <div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="{{ URL_ROOT }}/exam/manage/questions">Questions</a></li>
<li><a href="{{ URL_ROOT }}/exam/manage/gradeuser">Grade User</a></li>
diff --git a/yaksh/templates/user.html b/yaksh/templates/user.html
index c18013b..9745655 100644
--- a/yaksh/templates/user.html
+++ b/yaksh/templates/user.html
@@ -3,9 +3,14 @@
<nav class="navbar navbar-fixed-top navbar-inverse">
<div class="container">
<div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
<a class="navbar-brand" href="{{ URL_ROOT }}/exam/manage/"> Online Test </a>
</div>
- <div id="navbar">
+ <div class= "collapse navbar-collapse" id="navbar">
<ul class="nav navbar-nav">
<li><a href="{{ URL_ROOT }}/exam/quizzes">Quizzes</a></li>
<li><a href="{{ URL_ROOT }}/exam/results">Results</a></li>