mirror of
https://gitee.com/BDWare/router-frontend
synced 2025-01-09 17:34:00 +00:00
chore: update .gitignore
update .gitignore; optimize the style of some files
This commit is contained in:
parent
5e7ebcacae
commit
ce4d24a32d
2
.gitignore
vendored
2
.gitignore
vendored
@ -78,3 +78,5 @@ typings/
|
||||
|
||||
# DynamoDB Local files
|
||||
.dynamodb/
|
||||
|
||||
.idea/
|
@ -1,4 +1,4 @@
|
||||
<html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="Cache-Control" content="no-cache"/>
|
||||
@ -32,9 +32,9 @@
|
||||
<script src="./js/nodeslistman.js"></script>
|
||||
<script src="./js/auditlog.js"></script>
|
||||
<script src="./js/contractAuthManage.js"></script>
|
||||
<script src="./js/contractlist.js"></script>
|
||||
<script src="./js/contractlist.js"></script>
|
||||
|
||||
<script src="./js/ncconfig.js"></script>
|
||||
<script src="./js/ncconfig.js"></script>
|
||||
<script src="./js/echarts.min.js"></script>
|
||||
<script src="./js/echartsTheme.js"></script>
|
||||
<script src="./js/echarts-gl.min.js"></script>
|
||||
@ -385,7 +385,7 @@
|
||||
<label class="input-group-text"
|
||||
for="inputGroupSelect01">选择节点</label>
|
||||
</div>
|
||||
<select class="selectpicker " data-style="custom-file "
|
||||
<select class="selectpicker" data-style="custom-file "
|
||||
multiple data-live-search="true" id="selectTrustUnitNodes">
|
||||
</select>
|
||||
|
||||
@ -460,37 +460,37 @@
|
||||
<div class="card ">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">合约分类统计</h5>
|
||||
<div id="contractStatusPieDiv">
|
||||
<div class="d-flex justify-content-center">
|
||||
<div class="spinner-border text-primary"
|
||||
style="width: 4rem; height: 4rem;" role="status">
|
||||
<span class="sr-only">Loading...</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="contractStatusPieDiv">
|
||||
<div class="d-flex justify-content-center">
|
||||
<div class="spinner-border text-primary"
|
||||
style="width: 4rem; height: 4rem;" role="status">
|
||||
<span class="sr-only">Loading...</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" style="margin-top: 30px">
|
||||
<div class="col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">合约列表</h5>
|
||||
<div class="card-body" id="contractListTabDiv">
|
||||
<div class="d-flex justify-content-center">
|
||||
<div class="spinner-border text-primary"
|
||||
style="width: 4rem; height: 4rem;" role="status">
|
||||
<span class="sr-only">Loading...</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" style="margin-top: 30px">
|
||||
<div class="col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">合约列表</h5>
|
||||
<div class="card-body" id="contractListTabDiv">
|
||||
<div class="d-flex justify-content-center">
|
||||
<div class="spinner-border text-primary"
|
||||
style="width: 4rem; height: 4rem;" role="status">
|
||||
<span class="sr-only">Loading...</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 日志管理 对应的DIV -->
|
||||
@ -730,7 +730,8 @@
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text" id="ncFile">证书文件地址:</span>
|
||||
</div>
|
||||
<input type="text" class="form-control" id="ncFileInput" placeholder="请配置所有准入中心一致的证书并且确保路径准确!">
|
||||
<input type="text" class="form-control" id="ncFileInput"
|
||||
placeholder="请配置所有准入中心一致的证书并且确保路径准确!">
|
||||
<div class='input-group-append'>
|
||||
<button class='btn btn-outline-secondary' type='button'
|
||||
id='changeNCFile' onclick='changeNCFile()'>修改
|
||||
@ -1001,16 +1002,15 @@
|
||||
|
||||
|
||||
<script>
|
||||
var h = document.body.clientHeight
|
||||
- $("header").css("height").replace("px", "")
|
||||
- $("footer").css("height").replace("px", "");
|
||||
$("#main").css("height", h + "px");
|
||||
/* $('select').selectpicker(); */
|
||||
var h = document.body.clientHeight
|
||||
- $("header").css("height").replace("px", "")
|
||||
- $("footer").css("height").replace("px", "");
|
||||
$("#main").css("height", h + "px");
|
||||
/* $('select').selectpicker(); */
|
||||
|
||||
init();
|
||||
|
||||
//initWSocket();
|
||||
init();
|
||||
|
||||
//initWSocket();
|
||||
|
||||
|
||||
</script>
|
||||
|
19
src/LHS.html
19
src/LHS.html
@ -1,4 +1,4 @@
|
||||
<html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="Cache-Control" content="no-cache"/>
|
||||
@ -28,7 +28,7 @@
|
||||
<script src="js/locallhs/behaviour.js"></script>
|
||||
<script src="js/locallhs/doAndRepoCount.js"></script>
|
||||
|
||||
<script src="./js/ncconfig.js"></script>
|
||||
<script src="./js/ncconfig.js"></script>
|
||||
<script src="./js/echarts.min.js"></script>
|
||||
<script src="./js/echartsTheme.js"></script>
|
||||
<script src="./js/echarts-gl.min.js"></script>
|
||||
@ -121,7 +121,7 @@
|
||||
<h5 class="card-title" style="float:left">DO标识列表</h5>
|
||||
<div class="input-group mb-2" style="float:right;width:30%">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">总数</span>
|
||||
<span class="input-group-text">总数</span>
|
||||
</div>
|
||||
<input type="text" class="form-control" id="DOCount">
|
||||
|
||||
@ -175,7 +175,6 @@
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- Flexbox container for aligning the toasts -->
|
||||
<div aria-live="polite" aria-atomic="true"
|
||||
class="d-flex justify-content-center align-items-center"
|
||||
@ -231,13 +230,13 @@
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
var h = document.body.clientHeight
|
||||
- $("header").css("height").replace("px", "")
|
||||
- $("footer").css("height").replace("px", "");
|
||||
$("#main").css("height", h + "px");
|
||||
/* $('select').selectpicker(); */
|
||||
var h = document.body.clientHeight
|
||||
- $("header").css("height").replace("px", "")
|
||||
- $("footer").css("height").replace("px", "");
|
||||
$("#main").css("height", h + "px");
|
||||
/* $('select').selectpicker(); */
|
||||
|
||||
initLoad();
|
||||
initLoad();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<html>
|
||||
<html lang="zh">
|
||||
<header>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="Cache-Control" content="no-cache"/>
|
||||
@ -6,10 +6,10 @@
|
||||
</header>
|
||||
<body style="background: #2E324C; color: white;">
|
||||
<script>
|
||||
jumpTo = function(addr) {
|
||||
document.location.href = addr;
|
||||
};
|
||||
jumpTo("./CenterPortal.html");
|
||||
jumpTo = function (addr) {
|
||||
document.location.href = addr;
|
||||
};
|
||||
jumpTo("./CenterPortal.html");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -1,24 +1,26 @@
|
||||
var updateResultDisplay = function (obj) {
|
||||
function updateResultDisplay(obj) {
|
||||
obj_label = document.getElementById("result");
|
||||
var jsonData = JSON.stringify(obj);// 转成JSON格式
|
||||
// var result = $.parseJSON(jsonData);// 转成JSON对象
|
||||
obj_label.innerHTML = jsonData;
|
||||
};
|
||||
var showDialog = function (title, cb) {
|
||||
}
|
||||
|
||||
function showDialog(title, cb) {
|
||||
$("#dialogTitleH5").html(title);
|
||||
$("#dialogConfimBtn").off("click").on("click", cb);
|
||||
$("#dialog").modal("show");
|
||||
};
|
||||
}
|
||||
|
||||
var updateResultDisplayStr = function (str) {
|
||||
function updateResultDisplayStr(str) {
|
||||
obj_label = document.getElementById("result");
|
||||
obj_label.innerHTML = str;
|
||||
};
|
||||
}
|
||||
|
||||
var alertNoPermission = function (message, title) {
|
||||
if ($("#nopermissionSpan").length > 0) {
|
||||
function alertNoPermission(message, title) {
|
||||
const noPermissionSpan = $("#nopermissionSpan");
|
||||
if (noPermissionSpan.length > 0) {
|
||||
console.log(message + " status:" + $("#dialog")[0].getAttribute("class"));
|
||||
$("#nopermissionSpan").append("<br/>" + message);
|
||||
noPermissionSpan.append("<br/>" + message);
|
||||
} else {
|
||||
var body = "<div class='row'><div class='col-sm-12'><span id='nopermissionSpan'>";
|
||||
body += message;
|
||||
@ -28,5 +30,4 @@ var alertNoPermission = function (message, title) {
|
||||
$("#dialogBodyDiv").html("");
|
||||
});
|
||||
}
|
||||
return;
|
||||
};
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
<html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="Cache-Control" content="no-cache"/>
|
||||
@ -27,7 +27,7 @@
|
||||
<script src="js/locallhs/initLocalLHS.js"></script>
|
||||
<script src="js/locallhs/behaviour.js"></script>
|
||||
|
||||
<script src="./js/ncconfig.js"></script>
|
||||
<script src="./js/ncconfig.js"></script>
|
||||
<script src="./js/echarts.min.js"></script>
|
||||
<script src="./js/echartsTheme.js"></script>
|
||||
<script src="./js/echarts-gl.min.js"></script>
|
||||
@ -59,22 +59,22 @@
|
||||
<div class="row" style="padding-top: 30px">
|
||||
<div class="col-sm-12">
|
||||
<div class="card">
|
||||
<!-- <div class="card-body">-->
|
||||
<!-- <h5 class="card-title">解析</h5>-->
|
||||
<!-- <div class="card-body" id="analysisbody">-->
|
||||
<!-- <div class="d-flex justify-content-center">-->
|
||||
<!-- <div class='input-group mb-2'>-->
|
||||
<!-- <input type='text' class='form-control' placeholder="请输入标识"-->
|
||||
<!-- id='analysisInput'>-->
|
||||
<!-- <div class='input-group-append'>-->
|
||||
<!-- <button class='btn btn-outline-secondary' type='button'-->
|
||||
<!-- id='analysisButton' onclick='analysis()'>解析-->
|
||||
<!-- </button>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="card-body">-->
|
||||
<!-- <h5 class="card-title">解析</h5>-->
|
||||
<!-- <div class="card-body" id="analysisbody">-->
|
||||
<!-- <div class="d-flex justify-content-center">-->
|
||||
<!-- <div class='input-group mb-2'>-->
|
||||
<!-- <input type='text' class='form-control' placeholder="请输入标识"-->
|
||||
<!-- id='analysisInput'>-->
|
||||
<!-- <div class='input-group-append'>-->
|
||||
<!-- <button class='btn btn-outline-secondary' type='button'-->
|
||||
<!-- id='analysisButton' onclick='analysis()'>解析-->
|
||||
<!-- </button>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<div class="card-body" id="handleRecordBody">
|
||||
|
||||
</div>
|
||||
@ -89,7 +89,6 @@
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- Flexbox container for aligning the toasts -->
|
||||
<div aria-live="polite" aria-atomic="true"
|
||||
class="d-flex justify-content-center align-items-center"
|
||||
@ -145,13 +144,13 @@
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
var h = document.body.clientHeight
|
||||
- $("header").css("height").replace("px", "")
|
||||
- $("footer").css("height").replace("px", "");
|
||||
$("#main").css("height", h + "px");
|
||||
/* $('select').selectpicker(); */
|
||||
var h = document.body.clientHeight
|
||||
- $("header").css("height").replace("px", "")
|
||||
- $("footer").css("height").replace("px", "");
|
||||
$("#main").css("height", h + "px");
|
||||
/* $('select').selectpicker(); */
|
||||
|
||||
queryIdentifierInit();
|
||||
queryIdentifierInit();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user