mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-14 05:31:03 +00:00
fix
This commit is contained in:
parent
7809e8ef03
commit
cfc883aab6
|
@ -290,7 +290,10 @@ if (typeof(token) !== "undefined") {
|
||||||
OldBrowser.reload();
|
OldBrowser.reload();
|
||||||
};
|
};
|
||||||
|
|
||||||
//document.getElementById("btn_assign").onclick = assign;
|
document.getElementById("btn_close").onclick = function() {
|
||||||
|
OldBrowser.close();
|
||||||
|
};
|
||||||
|
|
||||||
assign();
|
assign();
|
||||||
} else {
|
} else {
|
||||||
OldBrowser.setContent(FILE.readFile("app\\login.html", "utf-8"));
|
OldBrowser.setContent(FILE.readFile("app\\login.html", "utf-8"));
|
||||||
|
|
|
@ -80,11 +80,12 @@
|
||||||
|
|
||||||
<div class="cell">
|
<div class="cell">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
|
<div class="float-left">
|
||||||
<button id="btn_logout" class="button" type="button">로그아웃</button>
|
<button id="btn_logout" class="button" type="button">로그아웃</button>
|
||||||
<button id="btn_refresh" class="button" type="button">새로고침</button>
|
<button id="btn_refresh" class="button" type="button">새로고침</button>
|
||||||
<!--
|
</div>
|
||||||
<button id="btn_pingtest" class="button" type="button">속도 재측정</button>
|
<div class="float-right">
|
||||||
<button id="btn_assign" class="button" type="button">IP 적용</button>
|
<button id="btn_close" class="button" type="button">닫기</button>
|
||||||
-->
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -232,3 +232,10 @@ exports.start = function(callback) {
|
||||||
exports.reload = function() {
|
exports.reload = function() {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////
|
||||||
|
// exports.close()
|
||||||
|
////////////////////////////////////////////////////////////////////////
|
||||||
|
exports.close = function() {
|
||||||
|
exit(0);
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user