2012-01-13 17:34:42 +00:00
|
|
|
{% extends "base.html" %}
|
2012-03-13 20:57:42 +00:00
|
|
|
{% block extra_js %}
|
|
|
|
<script type="text/javascript" src="/static/js/jquery.cookie.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
var $j = jQuery.noConflict();
|
|
|
|
function getQueryVariable(variable) {
|
|
|
|
var query = window.location.search.substring(1);
|
|
|
|
var vars = query.split("&");
|
|
|
|
for (var i = 0; i < vars.length; i++) {
|
|
|
|
var pair = vars[i].split("=");
|
|
|
|
if (pair[0] == variable) {
|
|
|
|
return pair[1];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
$j(document).ready(function() {
|
|
|
|
var next = getQueryVariable('next');
|
|
|
|
var saved_next = $j.cookie('next');
|
|
|
|
if(next!=null) {
|
2012-03-14 04:32:20 +00:00
|
|
|
next = next.replace(/[\x22\x27\x3c\x3e]/g,'');
|
2012-03-13 20:57:42 +00:00
|
|
|
$j.cookie('next', next, {path: '/'});
|
|
|
|
} else if(saved_next!=null){
|
|
|
|
$j('#link-to-next').html("<a href='"+saved_next+"'> Click to continue after logging in...</a>");
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{% endblock %}
|
2012-01-13 17:34:42 +00:00
|
|
|
|
|
|
|
{% block extra_head %}
|
|
|
|
<link href="/static/css/documentation.css" rel="stylesheet" type="text/css" />
|
|
|
|
{% block extra_extra_head %}
|
|
|
|
<link type="text/css" rel="stylesheet" href="/static/css/registration.css" />
|
|
|
|
{% endblock %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div id="registration">
|
2012-01-13 21:24:34 +00:00
|
|
|
<div id="login_centerer">
|
|
|
|
<div id="login">
|
2012-01-13 17:34:42 +00:00
|
|
|
{% block doccontent %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
2012-01-13 21:24:34 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2012-01-13 17:34:42 +00:00
|
|
|
<div class="spacer"></div>
|
|
|
|
{% endblock %}
|