diff options
author | hardythe1 | 2012-02-28 12:09:28 +0530 |
---|---|---|
committer | hardythe1 | 2012-02-28 12:09:28 +0530 |
commit | b7ad768a6cc4fe5c8a05e20b1968f13a678c22cc (patch) | |
tree | 8fc6855f0a16929b5ca42fd89daa458129d98ff9 /testapp/templates/base.html | |
parent | b1fbf5b02280de5b78b0249e777a179e34b50b98 (diff) | |
download | online_test-b7ad768a6cc4fe5c8a05e20b1968f13a678c22cc.tar.gz online_test-b7ad768a6cc4fe5c8a05e20b1968f13a678c22cc.tar.bz2 online_test-b7ad768a6cc4fe5c8a05e20b1968f13a678c22cc.zip |
changes to remove the inline css from every page
Diffstat (limited to 'testapp/templates/base.html')
-rw-r--r-- | testapp/templates/base.html | 78 |
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>© FOSSEE group, IIT Bombay</p> + </footer> + </div> </body> </html> |