define loading screen markup in js
This commit is contained in:
parent
118b83c420
commit
e86ef209a8
@ -262,6 +262,20 @@ define([
|
|||||||
.concat(indexContent());
|
.concat(indexContent());
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var loadingScreen = function () {
|
||||||
|
return h('div#loading',
|
||||||
|
h('div.loadingContainer', [
|
||||||
|
h('img.cryptofist', {
|
||||||
|
src: '/customize/cryptofist_small.png'
|
||||||
|
}),
|
||||||
|
h('div.spinnerContainer',
|
||||||
|
h('span.fa.fa-spinner.fa-pulse.fa-4x.fa-fw')),
|
||||||
|
h('p', Msg.loading)
|
||||||
|
])
|
||||||
|
);
|
||||||
|
};
|
||||||
|
loadingScreen = loadingScreen; // TODO use this
|
||||||
|
|
||||||
Pages['/settings/'] = Pages['/settings/index.html'] = function () {
|
Pages['/settings/'] = Pages['/settings/index.html'] = function () {
|
||||||
return h('div#container');
|
return h('div#container');
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user