|
@@ -18,6 +18,7 @@
|
|
|
<link rel="stylesheet" href="static/css/page6.css?v={{V}}">
|
|
<link rel="stylesheet" href="static/css/page6.css?v={{V}}">
|
|
|
<link rel="stylesheet" href="static/css/page7.css?v={{V}}">
|
|
<link rel="stylesheet" href="static/css/page7.css?v={{V}}">
|
|
|
<link rel="stylesheet" href="static/css/page8.css?v={{V}}">
|
|
<link rel="stylesheet" href="static/css/page8.css?v={{V}}">
|
|
|
|
|
+<link rel="stylesheet" href="static/css/jsondlg.css?v={{V}}">
|
|
|
</head>
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
<body>
|
|
@@ -40,6 +41,8 @@
|
|
|
<symbol id="i-disk" viewBox="0 0 24 24"><line x1="22" y1="12" x2="2" y2="12"/><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"/><line x1="6" y1="16" x2="6.01" y2="16"/><line x1="10" y1="16" x2="10.01" y2="16"/></symbol>
|
|
<symbol id="i-disk" viewBox="0 0 24 24"><line x1="22" y1="12" x2="2" y2="12"/><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"/><line x1="6" y1="16" x2="6.01" y2="16"/><line x1="10" y1="16" x2="10.01" y2="16"/></symbol>
|
|
|
<symbol id="i-trend" viewBox="0 0 24 24"><polyline points="23 6 13.5 15.5 8.5 10.5 1 18"/><polyline points="17 6 23 6 23 12"/></symbol>
|
|
<symbol id="i-trend" viewBox="0 0 24 24"><polyline points="23 6 13.5 15.5 8.5 10.5 1 18"/><polyline points="17 6 23 6 23 12"/></symbol>
|
|
|
<symbol id="i-refresh" viewBox="0 0 24 24"><polyline points="23 4 23 10 17 10"/><polyline points="1 20 1 14 7 14"/><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/></symbol>
|
|
<symbol id="i-refresh" viewBox="0 0 24 24"><polyline points="23 4 23 10 17 10"/><polyline points="1 20 1 14 7 14"/><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/></symbol>
|
|
|
|
|
+ <symbol id="i-unlock" viewBox="0 0 24 24"><rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0 1 9.9-1"/></symbol>
|
|
|
|
|
+ <symbol id="i-json-file" viewBox="0 0 24 24"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><path d="M14 2v6h6"/><path d="M11 11c-2 0-2 1-2 2v1c0 1-1 1-2 1 1 0 2 0 2 1v1c0 1 0 2 2 2M13 11c2 0 2 1 2 2v1c0 1 1 1 2 1-1 0-2 0-2 1v1c0 1 0 2-2 2"/></symbol>
|
|
|
</svg>
|
|
</svg>
|
|
|
|
|
|
|
|
<div id="loading-mask">
|
|
<div id="loading-mask">
|
|
@@ -48,8 +51,9 @@
|
|
|
<div class="loading-text">页面加载中,请稍微...</div>
|
|
<div class="loading-text">页面加载中,请稍微...</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+
|
|
|
<div class="app">
|
|
<div class="app">
|
|
|
- <header class="topbar">
|
|
|
|
|
|
|
+ <header class="topbar">
|
|
|
<div class="device">
|
|
<div class="device">
|
|
|
<span class="icon-box"><svg class="icon"><use href="#i-logo"/></svg></span>
|
|
<span class="icon-box"><svg class="icon"><use href="#i-logo"/></svg></span>
|
|
|
<div class="device-info">
|
|
<div class="device-info">
|
|
@@ -93,12 +97,27 @@
|
|
|
</main>
|
|
</main>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+
|
|
|
|
|
+<!-- JSON查看弹窗 -->
|
|
|
|
|
+<div class="jsondlg" id="jsondlg">
|
|
|
|
|
+ <div class="jsondlg-dialog">
|
|
|
|
|
+ <div class="jsondlg-header">
|
|
|
|
|
+ <h2 id="jsondlg-title">配置查看</h2>
|
|
|
|
|
+ <button class="jsondlg-close" type="button" title="关闭" onclick="closeJsonDlg()">×</button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="jsondlg-body">
|
|
|
|
|
+ <pre id="jsondlg-content"></pre>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+</div>
|
|
|
|
|
+
|
|
|
<!-- 兼容层:顺序不可调换(fetch 依赖 Promise),且须在业务 JS 之前 -->
|
|
<!-- 兼容层:顺序不可调换(fetch 依赖 Promise),且须在业务 JS 之前 -->
|
|
|
<script src="static/js/promise.min.js?v={{V}}"></script>
|
|
<script src="static/js/promise.min.js?v={{V}}"></script>
|
|
|
<script src="static/js/fetch.min.js?v={{V}}"></script>
|
|
<script src="static/js/fetch.min.js?v={{V}}"></script>
|
|
|
<script src="static/js/eventsource.min.js?v={{V}}"></script>
|
|
<script src="static/js/eventsource.min.js?v={{V}}"></script>
|
|
|
<script src="static/js/compat.js?v={{V}}"></script>
|
|
<script src="static/js/compat.js?v={{V}}"></script>
|
|
|
<script src="static/js/util.js?v={{V}}"></script>
|
|
<script src="static/js/util.js?v={{V}}"></script>
|
|
|
|
|
+<script src="static/js/jsondlg.js?v={{V}}"></script>
|
|
|
<script src="static/js/echarts.min.js?v={{V}}"></script>
|
|
<script src="static/js/echarts.min.js?v={{V}}"></script>
|
|
|
<script src="static/js/xterm.js?v={{V}}"></script>
|
|
<script src="static/js/xterm.js?v={{V}}"></script>
|
|
|
<script src="static/js/xterm-addon-fit.js?v={{V}}"></script>
|
|
<script src="static/js/xterm-addon-fit.js?v={{V}}"></script>
|