Skip to content

Instantly share code, notes, and snippets.

@scottswezey
Created July 25, 2010 21:05
Show Gist options
  • Save scottswezey/489884 to your computer and use it in GitHub Desktop.
Save scottswezey/489884 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Starting StaticAssetTest App</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$.ajax({
url: '/status',
success: function(data) {
window.location.replace('/home')
}
});
$('#loading')
.hide()
.delay(1000)
.fadeIn();
});
</script>
</head>
<body>
<div id="loading">
<h1>Starting Application...</h1>
Please wait while the application is started...<br />
Or click here if this is taking too long: <a href="/home">Home</a>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment