1
0
mirror of https://github.com/flarum/core.git synced 2025-08-08 01:16:52 +02:00

Add a loading indicator before the Ember app boots

This commit is contained in:
Toby Zerner
2015-03-23 12:06:55 +10:30
parent 976d97877b
commit 42e6bb1d7f
3 changed files with 19 additions and 1 deletions

View File

@@ -13,4 +13,6 @@ var App = Ember.Application.extend({
loadInitializers(App, config.modulePrefix);
export default App;
Ember.$('#assets-loading').remove();
export default App;

View File

@@ -10,6 +10,11 @@ body {
overflow-x: hidden;
min-height: 100vh;
}
#assets-loading {
color: @fl-body-muted-color;
font-size: 16px;
padding: 20px;
}
// ------------------------------------
// Page Toolbar