This commit is contained in:
Namhyeon Go 2020-11-04 16:40:01 +09:00
parent e44554f981
commit 1bc26285a2
4 changed files with 16 additions and 1 deletions

View File

@ -59,7 +59,8 @@
<link type="text/css" rel="stylesheet" href="app/style.css" /> <link type="text/css" rel="stylesheet" href="app/style.css" />
</head> </head>
<body> <body>
<div id="app">#app</div> <div id="loading"></div>
<div id="app"></div>
<script src="app.js" type="text/javascript" charset="utf-8"></script> <script src="app.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">//<!--<![CDATA[ <script type="text/javascript">//<!--<![CDATA[
init_window("webloader", [WELSONJS_WINDOW.commandLine], 800, 600); init_window("webloader", [WELSONJS_WINDOW.commandLine], 800, 600);

BIN
app/assets/img/loading.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View File

@ -17,3 +17,14 @@ input, textarea {
height: 100%; height: 100%;
overflow: hidden; overflow: hidden;
} }
#loading {
position: absolute;
left: 0;
right: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: url(assets/img/loading.gif) no-repeat 50% 50%;
z-index: 99;
}

View File

@ -86,6 +86,9 @@ exports.main = function(args) {
// start this app // start this app
OldBrowser.addScript("app/index.js"); OldBrowser.addScript("app/index.js");
// hide loading image
document.getElementById("loading").style.display = "none";
} }
}, function(el) { }, function(el) {
return window.jQuery.toast; return window.jQuery.toast;