mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-12-03 07:20:16 +08:00
优化 首页菜单与结构
This commit is contained in:
parent
6b9c16565a
commit
49cd3c6059
@ -1,5 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
|
||||
@ -27,11 +28,11 @@
|
||||
<![endif]-->
|
||||
</head>
|
||||
<!--
|
||||
__ ___ __ ___
|
||||
/ |/ /____________ ______ _____ _____ / |/ /___ _____ ____ _____ ____ _____
|
||||
/ /|_/ / ___/ ___/ _ \/ ___/ | / / _ \/ ___/ / /|_/ / __ `/ __ \/ __ `/ __ `/ _ \/ ___/
|
||||
/ / / / /__(__ ) __/ / | |/ / __/ / / / / / /_/ / / / / /_/ / /_/ / __/ /
|
||||
/_/ /_/\___/____/\___/_/ |___/\___/_/ /_/ /_/\__,_/_/ /_/\__,_/\__, /\___/_/
|
||||
______ _______________________ ___
|
||||
___ |/ /_ ____/_ ___/__ |/ /_____ _____________ _______ _____________
|
||||
__ /|_/ /_ / _____ \__ /|_/ /_ __ /_ __ \ __ /_ __ / _ \_ ___/
|
||||
_ / / / / /___ ____/ /_ / / / / /_/ /_ / / / /_/ /_ /_/ // __/ /
|
||||
/_/ /_/ \____/ /____/ /_/ /_/ \__,_/ /_/ /_/\__,_/ _\__, / \___//_/
|
||||
/____/
|
||||
-->
|
||||
|
||||
@ -43,8 +44,6 @@
|
||||
<img src="common/logo.png" width="160px" height="100%" />
|
||||
</div>
|
||||
<div id="SideColMenuInfo">
|
||||
Mcserver Manager
|
||||
<br />
|
||||
<div id="websocket2">
|
||||
<div v-if="is"><span class="color-green">在线: </span>{{ MCSERVER.username }}</div>
|
||||
<div v-else>offline (离线)</div>
|
||||
@ -52,7 +51,8 @@
|
||||
</div>
|
||||
<div id="SideColFor">
|
||||
<!--如果您想更改菜单名或功能,请查看 common/js/meum.js 文件-->
|
||||
<a href="javascript:void(0);" v-for="item of items" :class="{ MeumSelect: item.select }" v-on:click="onRedirect(item.link,item.api,item)">
|
||||
<a href="javascript:void(0);" v-for="item of items" :class="{ MeumSelect: item.select }"
|
||||
v-on:click="onRedirect(item.link,item.api,item)">
|
||||
<span class="glyphicon" :class="item.class" aria-hidden="true"></span>
|
||||
<span v-text="item.name"></span>
|
||||
</a>
|
||||
@ -92,7 +92,8 @@
|
||||
<!--页面加载进度条-->
|
||||
<div class="Toolscon" id="ToolsPageLoading">
|
||||
<div class="progress" style="height: 4px; line-height: 4px; background-color: inherit; border: 0px">
|
||||
<div id="ToolsLoading" class="progress-bar progress-bar-success progress-bar-striped active" style="width: 0%; height: 4px"></div>
|
||||
<div id="ToolsLoading" class="progress-bar progress-bar-success progress-bar-striped active"
|
||||
style="width: 0%; height: 4px"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -116,12 +117,11 @@
|
||||
<div id="SidebarButton" v-on:click="operate()">
|
||||
<div class="SidebarButtonWapper">
|
||||
<!-- <span class="glyphicon " :class="!isExpand?'glyphicon-th-list':'glyphicon-list'" aria-hidden="true"></span> -->
|
||||
<svg t="1583817080960" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="941" width="24" height="46">
|
||||
<svg t="1583817080960" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
p-id="941" width="24" height="46">
|
||||
<path
|
||||
d="M393 475.7H176.5c-44.9 0-81.5-36.6-81.5-81.5V182.5c0-44.9 36.6-81.5 81.5-81.5H393c44.9 0 81.5 36.6 81.5 81.5v211.7c0 45-36.5 81.5-81.5 81.5zM176.5 155.4c-15 0-27.2 12.2-27.2 27.2v211.7c0 15 12.2 27.2 27.2 27.2H393c15 0 27.2-12.2 27.2-27.2V182.5c0-15-12.2-27.2-27.2-27.2l-216.5 0.1zM846.5 469.9H629.9c-44.9 0-81.5-36.6-81.5-81.5V176.7c0-44.9 36.6-81.5 81.5-81.5h216.6c44.9 0 81.5 36.6 81.5 81.5v211.7c0 44.9-36.6 81.5-81.5 81.5zM629.9 149.5c-15 0-27.2 12.2-27.2 27.2v211.7c0 15 12.2 27.2 27.2 27.2h216.6c15 0 27.2-12.2 27.2-27.2V176.7c0-15-12.2-27.2-27.2-27.2H629.9zM393 928.2H176.5c-44.9 0-81.5-36.6-81.5-81.5V635c0-44.9 36.6-81.5 81.5-81.5H393c44.9 0 81.5 36.6 81.5 81.5v211.7c0 45-36.5 81.5-81.5 81.5zM176.5 607.9c-15 0-27.2 12.2-27.2 27.2v211.7c0 15 12.2 27.2 27.2 27.2H393c15 0 27.2-12.2 27.2-27.2V635c0-15-12.2-27.2-27.2-27.2H176.5v0.1zM846.5 922.4H629.9c-44.9 0-81.5-36.6-81.5-81.5V629.2c0-44.9 36.6-81.5 81.5-81.5h216.6c44.9 0 81.5 36.6 81.5 81.5v211.7c0 44.9-36.6 81.5-81.5 81.5zM629.9 602c-15 0-27.2 12.2-27.2 27.2v211.7c0 15 12.2 27.2 27.2 27.2h216.6c15 0 27.2-12.2 27.2-27.2V629.2c0-15-12.2-27.2-27.2-27.2H629.9z"
|
||||
fill="#ffffff"
|
||||
p-id="942"
|
||||
></path>
|
||||
fill="#ffffff" p-id="942"></path>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
@ -136,17 +136,8 @@
|
||||
<div id="WebTerminalControl">
|
||||
<div class="input-group input-group-sm">
|
||||
<span class="input-group-addon">/</span>
|
||||
<input
|
||||
type="text"
|
||||
id=""
|
||||
class="form-control"
|
||||
@keyup.enter="toCommand"
|
||||
v-model="command"
|
||||
type="text"
|
||||
autocomplete="off"
|
||||
placeholder="[命令输入框] 请输入您要执行的命令..."
|
||||
aria-describedby="sizing-addon3"
|
||||
/>
|
||||
<input type="text" id="" class="form-control" @keyup.enter="toCommand" v-model="command" type="text"
|
||||
autocomplete="off" placeholder="[命令输入框] 请输入您要执行的命令..." aria-describedby="sizing-addon3" />
|
||||
</div>
|
||||
<div class="PanelItemF" style="text-align: right">
|
||||
<div class="PanelItem mb0" v-on:click="toCommand">
|
||||
@ -199,9 +190,6 @@
|
||||
// 网络加载判断
|
||||
if (!window.$) alert("[文件加载失败] 网络不通畅,请检查您的网络状态!");
|
||||
|
||||
// // 动态背景色,稍后会继续改变
|
||||
// $('body').css('background-color', 'rgb(243, 243, 243);');
|
||||
|
||||
MCSERVER.website = {};
|
||||
|
||||
$(function () {
|
||||
@ -215,9 +203,6 @@
|
||||
history.pushState(null, null, document.URL);
|
||||
});
|
||||
|
||||
// 一般制约能力的防止被 iframe 嵌入,另外,HTTP返回了 X-Frame-Options: DENY
|
||||
// window.top.location !== window.location && (window.top.location = window.location); //已弃用
|
||||
|
||||
// echart 路径配置
|
||||
window.require.config({
|
||||
paths: {
|
||||
@ -297,7 +282,6 @@
|
||||
methods: {
|
||||
operate: function () {
|
||||
MCSERVER.colmSet(!MCSERVER.getColmStatus());
|
||||
// TOOLS.blackJumbotron(!this.isExpand)
|
||||
this.isExpand = !MCSERVER.getColmStatus();
|
||||
}
|
||||
}
|
||||
@ -307,4 +291,5 @@
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user