{% extends "jumpstart/base.html" %}

{% block content %}
<div id="wait">
    <h2>Now configuring your PANDA...</h2>

    <p>Please enjoy some Rush while we set things up for you!</p>

    <iframe width="420" height="315" src="http://www.youtube.com/embed/KNZru4JG_Uo" frameborder="0" allowfullscreen></iframe>

    <div class="checking">This page will automatically update when your PANDA is ready.</div>
    <div class="ready">
        <h2>Your PANDA is ready!<br />
            <a href="javascript:location.reload(true)">Go to your PANDA &raquo;</a>
        </h2>
        Or, <a href="/admin/settings">visit the admin settings page to configure email and set a domain name</a> (you can always do this later).
    </div>

    <script type="text/javascript">
        var timer_id = null;

        window.check_finished = function() {
            $.getJSON("/api/1.0/", null, function() {
                $(".checking").hide();
                $(".ready").show();
                clearInterval(timer_id);
            });
        }

        timer_id = setInterval(check_finished, 2500);
    </script>
</div>
{% endblock %}

{% extends "jumpstart/base.html" %}

{% block content %}
<div id="wait">
    <h2>Now configuring your PANDA...</h2>

    <p>Please enjoy some Rush while we set things up for you!</p>

    <iframe width="420" height="315" src="http://www.youtube.com/embed/KNZru4JG_Uo" frameborder="0" allowfullscreen></iframe>

    <div class="checking">This page will automatically update when your PANDA is ready.</div>
    <div class="ready">
        <h2>Your PANDA is ready!<br />
            <a href="/">Go to your PANDA &raquo;</a>
        </h2>
        Or, <a href="/admin/settings">visit the admin settings page to configure email and set a domain name</a> (you can always do this later).
    </div>

    <script type="text/javascript">
        var timer_id = null;

        window.check_finished = function() {
            $.getJSON("/api/1.0/", null, function() {
                $(".checking").hide();
                $(".ready").show();
                clearInterval(timer_id);
            });
        }

        timer_id = setInterval(check_finished, 2500);
    </script>
</div>
{% endblock %}

Fix go to PANDA link.
Fix go to PANDA link.
