blob: 33aae7fff5b7c1b7ec2923c324e5456ca2a9d845 [file] [log] [blame]
{%extends "admin_base.html"%}
{%block title1%}Data Store Upgrade{%endblock%}
{%block body%}
<h2>Data Store Upgrade</h2>
<div id="warning-message">
<p>If you really mean to upgrade your data store enter
<code>UPGRADE</code> into the box below.</p>
<p><b><i><font color="rd">
Once started, there is no going back from this operation.
</font></i></b></p>
</div>
<p id="active-message" style="display:none">
<font color="red"><blink>Upgrading... please wait ...</blink></font>
</p>
<form
name="upgrade_form"
method="POST"
action="{%url codereview.views.admin_datastore_upgrade%}">
<table>
{{form}}
<tr><td><input type="submit" value="Upgrade" /></td></tr>
</table>
</form>
<script type="text/javascript"><!--
if (document.upgrade_form.really.value == 'UPGRADE') {
var hide;
hide = document.getElementById('warning-message');
hide.style.display = 'none';
hide = document.getElementById('active-message');
hide.style.display = 'inline';
setTimeout('document.upgrade_form.submit()', 500);
}
// -->
</script>
{%endblock%}