summaryrefslogtreecommitdiff
path: root/testapp/exam/templates/user.html
diff options
context:
space:
mode:
authorprathamesh2014-07-11 14:14:19 +0530
committerprathamesh2014-07-11 14:14:19 +0530
commit0143710e78ae01bae78a3b760fc8410bc86a3b2b (patch)
tree59fbd9e0abd47b04e20727c502d8d7a509f9495e /testapp/exam/templates/user.html
parente89f0b0e3a74195b3bce0f68c337ead9dc18a11e (diff)
downloadonline_test-0143710e78ae01bae78a3b760fc8410bc86a3b2b.tar.gz
online_test-0143710e78ae01bae78a3b760fc8410bc86a3b2b.tar.bz2
online_test-0143710e78ae01bae78a3b760fc8410bc86a3b2b.zip
Moved templates and static inside the app.
Diffstat (limited to 'testapp/exam/templates/user.html')
-rw-r--r--testapp/exam/templates/user.html58
1 files changed, 58 insertions, 0 deletions
diff --git a/testapp/exam/templates/user.html b/testapp/exam/templates/user.html
new file mode 100644
index 0000000..22a9fac
--- /dev/null
+++ b/testapp/exam/templates/user.html
@@ -0,0 +1,58 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <title>
+ {% block title %}
+ {% endblock %}
+ </title>
+
+ {% block meta %}
+ <meta charset="utf-8">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ {% endblock %}
+
+ <link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/base.css" type="text/css" />
+ {% block css %}
+ {% endblock %}
+
+ {% block script %}
+ {% endblock %}
+ </head>
+
+<body {% block onload %}{% endblock %}>
+<div class="topbar">
+ <div class="fill">
+ <div class="container">
+ <h3 class="brand"><strong>Online Test</h3></strong>
+ <ul>
+ <li><a href="{{ URL_ROOT }}/exam/quizzes">Quizzes</a></li>
+ <li><a href="{{ URL_ROOT }}/exam/results">Results</a></li>
+ </ul>
+ <ul style="float:right;">
+ <li><strong><a style='cursor:pointer' onClick='location.replace("{{URL_ROOT}}/exam/complete/");'>Log out</a></strong></li>
+ </ul>
+ </div>
+ </div>
+</div>
+ <div class="container">
+ <div class="content">
+ <div class="page-header">
+ <h3><center>{% block subtitle %}Welcome {{ user.first_name.title }} {{user.last_name.title}} {% endblock %}</center></h3><br>
+ </div>
+ <div class=row>
+ <div class=span14>
+ {% block manage %}
+ {% endblock %}
+ </div>
+ </div>
+ </div>
+ <footer>
+ <p>&copy; FOSSEE group, IIT Bombay</p>
+ </footer>
+ </div>
+
+</body>
+</html>