_leftnav.html
2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<script src="/notify/js/scripts.js"></script>
<div class="sidebar-left-info">
<div class=" search-field"></div>
<ul class="nav nav-pills nav-stacked side-navigation" id="nav">
<li class="active"><a href="/notify/index"><span>主页</span></a>
</li>
<!-- <li class="menu-list ">
<a href="javascript:;"><i class="fa fa-th-list"></i> <span>设备管理</span></a>
<ul class="child-list">
<li><a href="sb_lx.html">设备类型</a></li>
<li><a href="sb_lb.html">设备列表</a></li>
</ul>
</li> -->
<li class="menu-list {if $Request.controller=='Push'}active{/if}"><a href="javascript:;"><span>消息推送</span></a>
<ul class="child-list " >
<li><a href="/notify/push/voiceseting" onclick="iframe()">语音推送</a></li>
<li><a href="/notify/push/smsseting">短信推送</a></li>
<!--<li><a href="/notify/push/wxseting">微信推送</a></li>-->
<!--<li><a href="rule_app.html">APP推送</a></li>-->
<!--<li><a href="rule_ding.html">钉钉推送</a></li>-->
</ul>
</li>
<li class="menu-list {if $Request.action=='list'}active{/if}"><a href="javascript:;"><span>预警记录</span></a>
<ul class="child-list" >
<li><a href="/notify/index/list?type=voice">语音推送记录</a></li>
<li><a href="/notify/index/list?type=sms" >短信推送记录</a></li>
<li><a href="/notify/index/list?type=wechat" >微信推送记录</a></li>
<li><a href="/notify/index/list?type=app" >APP推送记录</a></li>
<li><a href="/notify/index/list?type=dingding">钉钉推送记录</a></li>
</ul>
</li>
</ul>
</div>
<!-- 导航展开 -->
<script type="text/javascript" src="/scripts/jquery.min.js"></script>
<script type='text/javascript'>
$(document).ready(function(){
$(".sidebar-left-info li").each(function(){
$(this).click(function(){
$(".sidebar-left-info .active").removeClass("active");
$(this).addClass("active");
});
});
$.fn.serializeObject = function() {
var o = {};
var a = this.serializeArray();
$.each(a, function() {
if (o[this.name]) {
if (!o[this.name].push) {
o[this.name] = [ o[this.name] ];
}
o[this.name].push(this.value || '');
} else {
o[this.name] = this.value || '';
}
});
return o;
};
});
</script>
<script>
$(function () {
$('#nav a').each(function () {
if ($($(this))[0].href == String(window.location))
$(this).addClass('active').attr('href', 'javascript:void(0);');
});
});
</script>
<style type="text/css" media="all">
.active{
background-color: #00559E;
}
</style>