diff options
Diffstat (limited to 'testapp/templates/base.html')
-rw-r--r-- | testapp/templates/base.html | 135 |
1 files changed, 67 insertions, 68 deletions
diff --git a/testapp/templates/base.html b/testapp/templates/base.html index 54a2035..49fc7ce 100644 --- a/testapp/templates/base.html +++ b/testapp/templates/base.html @@ -2,84 +2,83 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head> + <head> + <title> + {% block title %} + {% endblock %} + </title> -<title> -{% block title %} -{% endblock %} -</title> + {% block meta %} + <meta charset="utf-8"> + <meta name="description" content=""> + <meta name="author" content=""> + {% endblock %} -{% 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 %} -<style type="text/css"> - - html, body { - background-color: #eee; - } - body { - padding-top: 9px; - } - .container > footer p { - text-align: center; - } - .container { - width: 820px; - } + <link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/base.css" type="text/css" /> + {% block css %} + <style type="text/css"> - .container > .content { - background-color: #fff; - padding: 20px; - margin: 0 -20px; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; + 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); + -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; - } + } + .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 %} - .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 %} -{% endblock %} -</head> + {% block script %} + {% endblock %} + </head> <body {% block onload %}{% endblock %}> <div class=box> -{% block content %} -{% endblock %} + {% block content %} + {% endblock %} </div> - </body> </html> |