Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
222b254f07 | ||
|
949572c5c3 | ||
|
99cb28eb95 | ||
839972f77a | |||
|
62fa349507 | ||
|
d0dc3f4e0b | ||
|
fe13a53e19 | ||
|
38e24d67f5 | ||
|
3871b35652 | ||
|
1797f006a7 | ||
|
05ad562f1f | ||
|
e973ba53f7 |
@ -2,14 +2,12 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta http-equiv="Cache-Control" content="no-cache" />
|
<meta http-equiv="Cache-Control" content="no-cache" />
|
||||||
<title>数瑞客户端</title>
|
<title>数瑞浏览器</title>
|
||||||
|
|
||||||
<script src="./js/createWS.js"></script>
|
<script src="./js/createWS.js"></script>
|
||||||
<script src="./js/cryptico.js"></script>
|
<script src="./js/cryptico.js"></script>
|
||||||
<script src="./js/jquery-2.1.4.js"></script>
|
<script src="./js/jquery-2.1.4.js"></script>
|
||||||
<script src="./js/bootstrap.min.js"></script>
|
<script src="./js/bootstrap.min.js"></script>
|
||||||
<script src="./js/commonutil.js"></script>
|
<script src="./js/commonutil.js"></script>
|
||||||
|
|
||||||
<link href="./css/common.css" rel="stylesheet">
|
<link href="./css/common.css" rel="stylesheet">
|
||||||
<link href="./css/bootstrap.min.css" rel="stylesheet">
|
<link href="./css/bootstrap.min.css" rel="stylesheet">
|
||||||
<script src="./js/vue.js"></script>
|
<script src="./js/vue.js"></script>
|
||||||
@ -24,7 +22,7 @@
|
|||||||
<a class="navbar-brand" href="#"> <img alt="Brand"
|
<a class="navbar-brand" href="#"> <img alt="Brand"
|
||||||
src="./img/logo-1.png" style="height: 30px">
|
src="./img/logo-1.png" style="height: 30px">
|
||||||
</a><a class="navbar-brand">数瑞浏览器 </a> <input id="urlInput"
|
</a><a class="navbar-brand">数瑞浏览器 </a> <input id="urlInput"
|
||||||
type="text" class="form-control" placeholder="输入地址" style="display: none;">
|
type="text" class="form-control" placeho=lder="输入地址" style="display: none;">
|
||||||
|
|
||||||
<button class="btn btn-outline-secondary" type="button"
|
<button class="btn btn-outline-secondary" type="button"
|
||||||
onclick="connectNode()" style="display: none;">GO</button>
|
onclick="connectNode()" style="display: none;">GO</button>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta http-equiv="Cache-Control" content="no-cache"/>
|
<meta http-equiv="Cache-Control" content="no-cache"/>
|
||||||
<title>数瑞客户端</title>
|
<title>数瑞浏览器</title>
|
||||||
<script src="./js/createWS.js"></script>
|
<script src="./js/createWS.js"></script>
|
||||||
<script src="./js/cryptico.js"></script>
|
<script src="./js/cryptico.js"></script>
|
||||||
<script src="./js/jquery-2.1.4.js"></script>
|
<script src="./js/jquery-2.1.4.js"></script>
|
||||||
|
0
img/logo-1.png
Normal file → Executable file
0
img/logo-1.png
Normal file → Executable file
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
@ -313,6 +313,7 @@ function displayOutput(obj) {
|
|||||||
|
|
||||||
function initWSocket() {
|
function initWSocket() {
|
||||||
let host = $("#urlInput")[0].value;
|
let host = $("#urlInput")[0].value;
|
||||||
|
document.title = `数瑞浏览器(${host})`
|
||||||
if (!host.startsWith("ws")) {
|
if (!host.startsWith("ws")) {
|
||||||
if (location.href.startsWith("https")) {
|
if (location.href.startsWith("https")) {
|
||||||
host = "wss://" + host;
|
host = "wss://" + host;
|
||||||
@ -375,6 +376,7 @@ function changeApp() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log(global.currentContract);
|
console.log(global.currentContract);
|
||||||
|
document.title = `数瑞浏览器(${global.currentContract.name} - ${$("#urlInput")[0].value})`
|
||||||
changeAppInternal(needRender(global.currentContract));
|
changeAppInternal(needRender(global.currentContract));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -824,6 +826,8 @@ function getRequestParameters() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function changeRender() {
|
function changeRender() {
|
||||||
if (global.urlparam["noRender"] === "true") {
|
if (global.urlparam["noRender"] === "true") {
|
||||||
global.urlparam["noRender"] = undefined;
|
global.urlparam["noRender"] = undefined;
|
||||||
|
@ -49,9 +49,15 @@ var initVue = function () {
|
|||||||
newKey.id = this.sm2KeyList.length;
|
newKey.id = this.sm2KeyList.length;
|
||||||
newKey.title = headerVue.shortName;
|
newKey.title = headerVue.shortName;
|
||||||
newKey.sm2Key = this.sm2KeyStr;
|
newKey.sm2Key = this.sm2KeyStr;
|
||||||
|
var exist = false;
|
||||||
|
for (var i=0;i<this.sm2KeyList.length;i++){
|
||||||
|
var iterKey = this.sm2KeyList[i];
|
||||||
|
if (iterKey.sm2Key==newKey.sm2Key)
|
||||||
|
exist = true;
|
||||||
|
}
|
||||||
|
if (!exist)
|
||||||
this.sm2KeyList.push(newKey);
|
this.sm2KeyList.push(newKey);
|
||||||
localStorage.setItem("PrivKeyList", JSON.stringify(this.sm2KeyList));
|
localStorage.setItem("PrivKeyList", JSON.stringify(this.sm2KeyList));
|
||||||
|
|
||||||
getSession();
|
getSession();
|
||||||
listProjects("priv");
|
listProjects("priv");
|
||||||
}
|
}
|
||||||
|
9214
js/jquery-2.1.4.js
vendored
9214
js/jquery-2.1.4.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user