From e86ef209a82c3bcb1ed9201ed091d71c70ca8baf Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 22 Jun 2017 11:04:21 +0200 Subject: [PATCH] define loading screen markup in js --- customize.dist/pages.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/customize.dist/pages.js b/customize.dist/pages.js index 445a3822a..4f77432be 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -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'); };