menu.hbs
4.45 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<div class="leftpanel">
<div class="media profile-left">
<a class="pull-left profile-thumb" href="profile.html">
<img class="img-circle" src="/images/photos/profile.png" alt="">
</a>
<div class="media-body">
<h4 class="media-heading">{{current_user.username}}</h4>
<small class="text-muted">yoho-ci</small>
</div>
</div>
<!-- media -->
<h5 class="leftpanel-title">Navigation</h5>
<ul class="nav nav-pills nav-stacked nav-menu">
<li class="active"><a href="/projects"><i class="fa fa-home"></i> <span>Dashboard</span></a></li>
{{#if is_business}}
<li><a href="/cdn_cache/query">CDN清理</a></li>
<li><a href="/files/page">活动上传</a></li>
{{/if}}
{{#if not_business}}
<li><a href="/projects"><i class="glyphicon glyphicon-th"></i> <span>项目</span></a></li>
{{!--<li class="parent"><a href=""><i class="glyphicon glyphicon-wrench"></i> <span>APP Hotfix</span></a>
<ul class="children">
<li><a href="/hotfix/Android">Android</a></li>
<li><a href="/hotfix/iOS">iOS</a></li>
</ul>
</li>--}}
<li class="parent"><a href=""><i class="fa fa-eye"></i> <span>监控中心</span></a>
<ul class="children">
<li><a href="/monitor/log">实时日志</a></li>
</ul>
</li>
<li class="parent"><a href=""><i class="fa fa-history"></i> <span>缓存管理</span></a>
<ul class="children">
<li><a href="/page_cache/query">PageCahe清理</a></li>
<li><a href="/cdn_cache/query">CDN清理</a></li>
<li><a href="/product_cache/query">商品清理</a></li>
<li><a href="/api_cache">Memcached</a></li>
</ul>
</li>
{{#if is_master}}
<li class="parent"><a href=""><i class="fa fa-gears"></i> <span>系统管理</span></a>
<ul class="children">
<li><a href="/servers/setting">服务器配置</a></li>
<li><a href="/users/setting">用户管理</a></li>
<li><a href="/operation/log">操作记录</a></li>
</ul>
</li>
{{/if}}
<li><a href="/degrade"><i class="fa fa-hand-o-down"></i> <span>降级配置</span></a></li>
<li class="parent"><a><i class="fa fa-shield"></i> <span>滥用防护</span></a>
<ul class="children">
<li><a href="/crawler_black/ip">IP黑名单</a></li>
<li><a href="/crawler_white/ip">IP白名单</a></li>
<li><a href="/crawler_black/ua">UA黑名单</a></li>
<li><a href="/crawler_white/ua">UA白名单</a></li>
<li>
<a href="/abuse_protection/abuse_protection">
<span>滥用防护</span>
</a>
</li>
</ul>
</li>
<li class="parent"><a><i class="fa fa-list"></i> <span>静态资源</span></a>
<ul class="children">
<li><a href="/check/list">代码检查</a></li>
<li><a href="/files/page">活动上传</a></li>
<li><a href="/files/single-file">单文件上传</a></li>
</ul>
</li>
<li class="parent"><a><i class="fa fa-list"></i> <span>SEO管理</span></a>
<ul class="children">
<li><a href="/seo/rootwords"> <span>词根管理</span></a></li>
<li><a href="/keywords/expand"> <span>关键词管理</span></a></li>
<li><a href="/seo/tdk"><span>TDK管理</span></a></li>
<li><a href="/seo/category"><span>品类描述管理</span></a></li>
<li><a href="/seo/friendlink"><span>友链管理</span></a></li>
<li><a href="/seo/task"><span>定时任务管理</span></a></li>
</ul>
</li>
<li class="parent"><a><i class="fa fa-list"></i> <span>性能统计</span></a>
<ul class="children">
<li><a href="/profile/sort_client"> <span>浏览器排行榜</span></a></li>
<li><a href="/profile/sort_route"> <span>服务器路由排行榜</span></a></li>
<li><a href="/profile/sort_api"> <span>api排行榜</span></a></li>
<li><a href="/profile/error"> <span>错误信息统计</span></a></li>
</ul>
</li>
{{/if}}
</ul>
</div>