mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 07:21:43 +00:00
fix
This commit is contained in:
parent
e44554f981
commit
1bc26285a2
3
app.hta
3
app.hta
|
@ -59,7 +59,8 @@
|
|||
<link type="text/css" rel="stylesheet" href="app/style.css" />
|
||||
</head>
|
||||
<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 type="text/javascript">//<!--<![CDATA[
|
||||
init_window("webloader", [WELSONJS_WINDOW.commandLine], 800, 600);
|
||||
|
|
BIN
app/assets/img/loading.gif
Normal file
BIN
app/assets/img/loading.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 76 KiB |
|
@ -17,3 +17,14 @@ input, textarea {
|
|||
height: 100%;
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -86,6 +86,9 @@ exports.main = function(args) {
|
|||
|
||||
// start this app
|
||||
OldBrowser.addScript("app/index.js");
|
||||
|
||||
// hide loading image
|
||||
document.getElementById("loading").style.display = "none";
|
||||
}
|
||||
}, function(el) {
|
||||
return window.jQuery.toast;
|
||||
|
|
Loading…
Reference in New Issue
Block a user