Back

Template Source: base.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title>{{settings.SITE_TITLE}}</title> <!-- CSS --> <link type="text/css" href="/static/css/smoothness/jquery-ui-1.8.16.custom.css" rel="Stylesheet" /> <link rel="stylesheet" href="/static/css/blueprint/screen.css" type="text/css" media="screen, projection" /> <link rel="stylesheet" href="/static/css/blueprint/print.css" type="text/css" media="print" /> <link rel="stylesheet" href="/static/css/blueprint/plugins/tabs/screen.css" type="text/css" media="screen,projection"> <link rel="stylesheet" href="/static/css/blueprint/plugins/buttons/screen.css" type="text/css" media="screen,projection"> <link rel="stylesheet" href="/static/css/blueprint/plugins/silksprite/sprite.css" type="text/css" media="screen,projection"> <link rel="stylesheet" href="/static/css/style.css?id=1" type="text/css" /> {# FIXME #} <!--[if lt IE 8]> <link rel="stylesheet" href="/static/css/blueprint/ie.css" type="text/css" media="screen, projection" /> <![endif]--> <link rel="stylesheet" href="/static/css/blueprint/plugins/fancy-type/screen.css" type="text/css" media="screen, projection" /> <!-- JavaScript --> <script type="text/javascript" src="/static/js/jquery-1.6.4.min.js"></script> <script type="text/javascript" src="/static/js/jquery-ui-1.8.16.custom.min.js"></script> <script type="text/javascript" src="/static/js/scripts.js?id=2"></script> {# FIXME #} <script type="text/javascript"> {# FIXME #} $("a[method=post]").live('click', function(event) { action = $(this).attr("href"); $(this).wrap('<form method="post" action="'+action+'" />'); $(this).after("{% csrf_token %}"); //TODO $(this).parents('form').submit(); return false; }); </script> </head> <body> {% block body %} {% endblock %} </body> </html>