add loading screen markup to register and login

pull/1/head
ansuz 7 years ago
parent 352d504944
commit a6eb1444df

@ -437,7 +437,7 @@ define([
];
};
var loadingScreen = function () {
var loadingScreen = Pages.loadingScreen = function () {
return h('div#loading',
h('div.loadingContainer', [
h('img.cryptofist', {
@ -450,6 +450,12 @@ define([
);
};
var hiddenLoader = function () {
var loader = loadingScreen();
loader.style.display = 'none';
return loader;
};
Pages['/user/'] = Pages['/user/index.html'] = function () {
return h('div#container');
};
@ -525,6 +531,7 @@ define([
]),
infopageFooter(),
hiddenLoader(),
])];
};
@ -558,6 +565,7 @@ define([
]),
]),
infopageFooter(),
hiddenLoader(),
])];
};

Loading…
Cancel
Save