summaryrefslogtreecommitdiff
path: root/testapp/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/templates/base.html')
-rw-r--r--testapp/templates/base.html78
1 files changed, 19 insertions, 59 deletions
diff --git a/testapp/templates/base.html b/testapp/templates/base.html
index 49fc7ce..fed3939 100644
--- a/testapp/templates/base.html
+++ b/testapp/templates/base.html
@@ -13,62 +13,9 @@
<meta name="description" content="">
<meta name="author" content="">
{% endblock %}
-
- <link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/base.css" type="text/css" />
-
+
+ <link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/base.css" type="text/css" />
{% block css %}
- <style type="text/css">
-
- html, body
- {
- background-color: #eee;
- }
- body
- {
- padding-top: 9px;
- }
- .container > footer p
- {
- text-align: center;
- }
- .container
- {
- width: 820px;
- }
- .container > .content
- {
- background-color: #fff;
- padding: 20px;
- margin: 0 -20px;
- -webkit-border-radius: 0 0 6px 6px;
- -moz-border-radius: 0 0 6px 6px;
- border-radius: 0 0 6px 6px;
- -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
- -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
- box-shadow: 0 1px 2px rgba(0,0,0,.15);
- }
- .page-header
- {
- background-color: #f5f5f5;
- padding: 20px 20px 10px;
- margin: -20px -20px 20px;
- }
- .content .span10,
- .content .span14
- {
- min-height: 500px;
- }
- .content .span4
- {
- margin-left: 0;
- padding-left: 19px;
- border-left: 1px solid #eee;
- }
- .topbar .btn
- {
- border: 0;
- }
- </style>
{% endblock %}
{% block script %}
@@ -76,9 +23,22 @@
</head>
<body {% block onload %}{% endblock %}>
- <div class=box>
- {% block content %}
- {% endblock %}
- </div>
+ <div class="container">
+ <div class="content">
+ <div class="page-header">
+ <h1><Strong><center>{% block pagetitle %} {% endblock pagetitle %}</center></strong></h1>
+ </div>
+ <div class=row>
+ <div class=span14>
+ <h3><center>{% block formtitle %} {% endblock formtitle %}</center></h3><br>
+ {% block content %}
+ {% endblock %}
+ </div>
+ </div>
+ </div>
+ <footer>
+ <p>&copy; FOSSEE group, IIT Bombay</p>
+ </footer>
+ </div>
</body>
</html>