Browse Source

菜单

tags/6.2.0
xushubieli 1 year ago
parent
commit
097a964cd2
3 changed files with 44 additions and 95 deletions
  1. +1
    -1
      src/admin/css/frame.css
  2. +0
    -49
      src/admin/templets/index.htm
  3. +43
    -45
      src/admin/templets/index_menu.htm

+ 1
- 1
src/admin/css/frame.css View File

@@ -1 +1 @@
*{margin:0;padding:0;letter-spacing:.4px;box-sizing:border-box}body{line-height:1.5;font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;overflow:hidden}body.hidemenu{background:none}a,a:hover{text-decoration:none}ul,li{list-style:none}input[type=text]{padding:.2rem;width:140px;height:20px;line-height:20px;font-size:12px;border-width:1px;border-style:solid;border-color:#fff;background:#fff;vertical-align:middle}input[type=text]:focus{box-shadow:none;outline:none}.head{position:relative;width:100%;height:90px;overflow:hidden;z-index:8}.top{width:100%;height:50px;background:linear-gradient(45deg,#008e38,#57960f 50%);overflow:hidden;clear:both}.top .top_logo{float:left;margin-left:30px}.top .top_dedebiz a{float:left;height:50px;line-height:50px;font-size:18px;font-weight:600;color:#fff}.top .top_version{float:left;margin-top:16px;margin-left:10px;color:#fff}.top .btn-primary{float:left;margin-top:14px;margin-left:10px;padding:1px 2px;line-height:12px;font-size:12px;color:#fff}.top .btn-warning{float:left;margin-top:14px;margin-left:10px;padding:1px 2px;line-height:12px;font-size:12px;color:#fff}.top .top_link{float:right;height:50px;line-height:50px;margin-right:30px}.top .top_link ul li.welcome img{margin-right:10px;width:30px;height:30px;border-radius:50%;vertical-align:middle}.top .top_link ul li{float:left}.top .top_link ul li a{padding-left:20px;color:#fff}.top .top_link ul li a:hover{color:#dee2e6}.topnav{width:100%;height:40px;line-height:40px;background:#424b51;overflow:hidden}.topnav .menuact{float:left;padding-left:30px;overflow:hidden}.topnav .menuact a{padding-right:10px;color:#dee2e6}.topnav .menuact a:hover{color:#fff}.sysmsg{float:right;padding-right:30px;overflow:hidden}.scroll a{padding-left:10px;color:#dee2e6}body.showmenu .left{display:block}body.hidemenu .left{display:none}body.showmenu .right{left:220px}body.hidemenu .right{left:0}.left{position:absolute;top:90px;width:220px;left:0;bottom:0;z-index:7}.menu{height:100%}.menu iframe{width:100%;height:100%;z-index:20}.right{position:absolute;right:0;top:90px;bottom:0;z-index:7}.main{height:100%}.main iframe{width:100%;height:100%;z-index:20}.qucikmenu{position:absolute;right:10px;top:30px;z-index:9;display:none}.qucikmenu ul{width:110px;background:#fff;border:1px solid #e6e6e6}.qucikmenu ul li{display:block;text-align:left}.qucikmenu ul li a{display:block;padding:0 10px;height:30px;line-height:30px;color:#424b51}.qucikmenu ul li a:hover{background:#f8f8f8}.pagemask{position:absolute;display:none;width:100%;height:100%;background:#cdcdcd;opacity:.6;z-index:100}.iframemask{position:absolute;display:none;z-index:80;top:0;left:0;width:100%;height:100%;background:#fff;border:none;opacity:0}.allmenu{position:absolute;display:none;margin-left:-400px;padding:10px;width:800px;top:90px;left:50%;background:#fff;border-radius:.2rem;z-index:999}.allmenu .allmenu-box{margin:0 auto;text-align:left;overflow:hidden;padding-left:2px}.maptop{margin-left:-1px;padding-right:6px;padding-left:6px;float:left;width:130px;overflow:hidden}.maptop dt.bigitem{padding:6px 10px;line-height:18px;color:#fff;background:#424b51}.mapitem dt{line-height:30px;text-indent:10px;background:#EFF1F1}.mapitem ul{margin-top:10px;margin-bottom:10px}.mapitem ul li{line-height:26px;text-indent:20px;background:url(../../static/web/img/arrr.gif)0 8px no-repeat}.allmenu a{color:#424b51}.allmenu a:hover{color:#dc3545}#login .theme{margin-top:20px;padding:10px;width:70%;clear:both}#login .theme li{margin:10px 0;overflow:hidden}#login .theme span{display:inline-block;float:left;width:150px;line-height:26px;color:#424b51;text-align:right}.allsearch{border:1px solid #fff;border-radius:.2rem}.np{margin-left:10px;width:40px;height:20px;line-height:20px;font-size:12px;color:#fff;background:#57960f;border-radius:.2rem;border:0;cursor:pointer}
*{margin:0;padding:0;letter-spacing:.4px;box-sizing:border-box}body{line-height:1.5;font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;overflow:hidden}body.hidemenu{background:none}a,a:hover{text-decoration:none}ul,li{list-style:none}input[type=text]{padding:.2rem;width:140px;height:20px;line-height:20px;font-size:12px;border-width:1px;border-style:solid;border-color:#fff;background:#fff;vertical-align:middle}input[type=text]:focus{box-shadow:none;outline:none}.head{position:relative;width:100%;height:90px;overflow:hidden;z-index:8}.top{width:100%;height:50px;background:linear-gradient(45deg,#008e38,#57960f 50%);overflow:hidden;clear:both}.top .top_logo{float:left;margin-left:30px}.top .top_dedebiz a{float:left;height:50px;line-height:50px;font-size:18px;font-weight:600;color:#fff}.top .top_version{float:left;margin-top:16px;margin-left:10px;color:#fff}.top .btn-primary{float:left;margin-top:14px;margin-left:10px;padding:1px 2px;line-height:12px;font-size:12px;color:#fff}.top .btn-warning{float:left;margin-top:14px;margin-left:10px;padding:1px 2px;line-height:12px;font-size:12px;color:#fff}.top .top_link{float:right;height:50px;line-height:50px;margin-right:30px}.top .top_link ul li.welcome img{margin-right:10px;width:30px;height:30px;border-radius:50%;vertical-align:middle}.top .top_link ul li{float:left}.top .top_link ul li a{padding-left:20px;color:#fff}.top .top_link ul li a:hover{color:#dee2e6}.topnav{width:100%;height:40px;line-height:40px;background:#424b51;overflow:hidden}.topnav .menuact{float:left;padding-left:30px;overflow:hidden}.topnav .menuact a{padding-right:10px;color:#dee2e6}.topnav .menuact a:hover{color:#fff}.sysmsg{float:right;padding-right:30px;overflow:hidden}.scroll a{padding-left:10px;color:#dee2e6}body.showmenu .left{display:block}body.hidemenu .left{display:none}body.showmenu .right{left:250px}body.hidemenu .right{left:0}.left{position:absolute;top:90px;width:250px;left:0;bottom:0;z-index:7}.menu{height:100%}.menu iframe{width:100%;height:100%;z-index:20}.right{position:absolute;right:0;top:90px;bottom:0;z-index:7}.main{height:100%}.main iframe{width:100%;height:100%;z-index:20}.qucikmenu{position:absolute;right:10px;top:30px;z-index:9;display:none}.qucikmenu ul{width:110px;background:#fff;border:1px solid #e6e6e6}.qucikmenu ul li{display:block;text-align:left}.qucikmenu ul li a{display:block;padding:0 10px;height:30px;line-height:30px;color:#424b51}.qucikmenu ul li a:hover{background:#f8f8f8}.pagemask{position:absolute;display:none;width:100%;height:100%;background:#cdcdcd;opacity:.6;z-index:100}.iframemask{position:absolute;display:none;z-index:80;top:0;left:0;width:100%;height:100%;background:#fff;border:none;opacity:0}.allmenu{position:absolute;display:none;margin-left:-400px;padding:10px;width:800px;top:90px;left:50%;background:#fff;border-radius:.2rem;z-index:999}.allmenu .allmenu-box{margin:0 auto;text-align:left;overflow:hidden;padding-left:2px}.maptop{margin-left:-1px;padding-right:6px;padding-left:6px;float:left;width:130px;overflow:hidden}.maptop dt.bigitem{padding:6px 10px;line-height:18px;color:#fff;background:#424b51}.mapitem dt{line-height:30px;text-indent:10px;background:#EFF1F1}.mapitem ul{margin-top:10px;margin-bottom:10px}.mapitem ul li{line-height:26px;text-indent:20px;background:url(../../static/web/img/arrr.gif)0 8px no-repeat}.allmenu a{color:#424b51}.allmenu a:hover{color:#dc3545}#login .theme{margin-top:20px;padding:10px;width:70%;clear:both}#login .theme li{margin:10px 0;overflow:hidden}#login .theme span{display:inline-block;float:left;width:150px;line-height:26px;color:#424b51;text-align:right}.allsearch{border:1px solid #fff;border-radius:.2rem}.np{margin-left:10px;width:40px;height:20px;line-height:20px;font-size:12px;color:#fff;background:#57960f;border-radius:.2rem;border:0;cursor:pointer}

+ 0
- 49
src/admin/templets/index.htm View File

@@ -11,55 +11,6 @@
<link rel="stylesheet" href="css/frame.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="js/frame.js"></script>
<style>
#skinlist {
display: block;
height: 10px;
margin-top: 10px;
overflow: hidden;
width: 86px
}
#skin div {
float: left
}
#skin li {
float: left;
width: 14px;
height: 10px;
cursor: pointer
}
#def div,
#s1 div,
#s2 div,
#s3 div,
#s4 div {
background-image: url(images/skinbutton.png)no-repeat
}
#s1 div {
background-position: 0 0px
}
#s2 div {
background-position: 0 -11px
}
#s3 div {
background-position: 0 -22px
}
#s4 div {
background-position: 0 -33px
}
#s1 div.sel {
background: url(images/skinbutton.png)no-repeat scroll -14px top transparent
}
#s2 div.sel {
background: url(images/skinbutton.png)no-repeat scroll -14px -11px transparent
}
#s3 div.sel {
background: url(images/skinbutton.png)no-repeat scroll -14px -22px transparent
}
#s4 div.sel {
background: url(images/skinbutton.png)no-repeat scroll -14px -33px transparent
}
</style>
</head>
<body class="showmenu">
<?php


+ 43
- 45
src/admin/templets/index_menu.htm View File

@@ -10,33 +10,61 @@
<script src="../static/web/js/jquery.min.js"></script>
<?php echo "<script>var curopenItem = '$openitem';</script>"; ?>
<script src="js/leftmenu.js"></script>
<base target="main">
<style>
body {
margin: 0;
padding: 0 2px;
background: #f8f8f8;
padding-left: 6px;
overflow: scroll;
overflow-x: hidden
}
img {
margin-right: 0;
border-radius: 0;
vertical-align: top
.mleft {
padding-top: 12px
}
div {
margin: 0;
padding: 0
.mright {
padding-top: 12px;
width: 100%;
background: #fff;
border: 1px solid #dee2e6;
border-radius: 0 0 .2rem .2rem
}
a.mmac div {
margin-bottom: 2px;
padding: 8px 0;
width: 50px;
color: #fff;
background: #4f7632;
border-bottom: 1px solid #dee2e6;
border-radius: .2rem 0 0 .2rem;
text-align: center
}
a.mm div {
margin-bottom: 2px;
padding: 8px 0;
width: 50px;
color: #424b51;
background: #fff;
border-bottom: 1px solid #dee2e6;
border-radius: .2rem 0 0 .2rem;
text-align: center;
cursor: pointer
}
a.mm:hover div {
color: #fff;
background: #4f7632
}
dl.bitem {
margin: 0 0 2px 10px;
width: 140px;
background: url(../static/web/img/menunewbg.gif)repeat-x;
margin: 0 10px 10px 10px;
clear: both
}
dl.bitem dt {
padding-left: 30px;
height: 26px;
line-height: 26px;
background: #f6f6f6;
border-radius: .2rem;
border-bottom: 1px solid #dee2e6;
cursor: pointer
}
dl.bitem dd {
@@ -46,27 +74,6 @@
dl.bitem dt b {
color: #4f7632
}
a.mm div {
padding: 6px 4px 4px 10px;
height: 40px;
color: #424b51;
background: url(../static/web/img/leftmbg1.gif)no-repeat;
cursor: pointer
}
a.mm:hover div {
color: #4f7632;
background: url(../static/web/img/leftbg2.gif)no-repeat
}
a.mmac div {
padding: 6px 4px 4px 10px;
height: 40px;
color: #4f7632;
background: url(../static/web/img/leftbg2.gif)no-repeat
}
#mainct {
padding-top: 12px;
background: url(../static/web/img/idnbg1.gif)repeat-y
}
.sitemu li {
padding: 0 0 0 20px;
height: 26px;
@@ -86,12 +93,11 @@
color: #28a745
}
</style>
<base target="main">
</head>
<body target="main" onLoad="CheckOpenMenu();">
<body>
<table cellspacing="0" cellpadding="0">
<tr>
<td width="28" valign="top" style="padding-top:10px">
<td valign="top" class="mleft">
<a id="link1" class="mmac">
<div onClick="ShowMainMenu(1)"><b>运维<b></div>
</a>
@@ -117,12 +123,8 @@
}
?>
</td>
<td width="170" valign="top" id="mainct">
<div id="ct1">
<?php
GetMenus($cuserLogin->getUserRank(),'main');
?>
</div>
<td valign="top" class="mright">
<div id="ct1"><?php GetMenus($cuserLogin->getUserRank(),'main'); ?></div>
<div id="ct100"></div>
<div id="ct3"></div>
<div id="ct5"></div>
@@ -132,10 +134,6 @@
<div id="ct10"></div>
</td>
</tr>
<tr>
<td></td>
<td><img src="../static/web/img/idnbgfoot.gif"></td>
</tr>
</table>
<?php
if(!empty($openitem) && $openitem!=1)


Loading…
Cancel
Save