Create user message for delayed compilation of assets

This commit is contained in:
Chris Blanchard 2016-04-01 14:25:37 +01:00
parent ea4078914f
commit f19b664917
2 changed files with 32 additions and 2 deletions

View file

@ -1,2 +1,24 @@
<div id="app-body"></div>
<div id="app-body">
<div>
<div style="minHeight:750px">
<div className="container-fluid">
<div className="row" id="authenticating">
<div className="col-lg-6 col-lg-offset-3">
<div className="add-top jumbotron jumbo-auth text-center">
<div>
<img src="/ensl_logo.png" className="jumbo-img" alt="ENSL Logo" />
</div>
<br />
<h3>Loading page</h3>
<br />
<div>
<img src="/spinner.svg" className="spinner" alt="Loading" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{{>foot}}

View file

@ -1 +1,9 @@
<script>require("javascripts/app")(document.getElementById("app-body"));</script>
<script>
if (require) {
require("javascripts/app")(document.getElementById("app-body"));
} else {
setTimeout(function () {
window.location.reload(true);
}, 5000);
}
</script>