define loading screen markup in js

pull/1/head
ansuz 8 years ago
parent 118b83c420
commit e86ef209a8

@ -262,6 +262,20 @@ define([
.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 () {
return h('div#container');
};

Loading…
Cancel
Save