提交 | 用户 | 时间
|
1ac2bc
|
1 |
@/* 框架顶部 */ |
懒 |
2 |
<div class="layui-header"> |
|
3 |
<div class="layui-logo"> |
|
4 |
<img src="${ctxPath}/assets/expand/images/favicon.ico"/> |
|
5 |
<!--<img src="${ctxPath}/assets/common/images/logo.png"/>--> |
|
6 |
<!--<i class="layui-icon layui-icon-component"></i>--> |
|
7 |
<cite> ${constants.getSystemName()} </cite> |
|
8 |
</div> |
|
9 |
<ul class="layui-nav layui-layout-left"> |
|
10 |
<li class="layui-nav-item" lay-unselect> |
|
11 |
<a ew-event="flexible" title="侧边伸缩"><i class="layui-icon layui-icon-shrink-right"></i></a> |
|
12 |
</li> |
|
13 |
<li class="layui-nav-item" lay-unselect> |
|
14 |
<a ew-event="refresh" title="刷新"><i class="layui-icon layui-icon-refresh-3"></i></a> |
|
15 |
</li> |
|
16 |
|
|
17 |
@var types = shiro.getUser().systemTypes; |
|
18 |
@if(tool.isNotEmpty(types)){ |
|
19 |
@for(type in types) { |
|
20 |
@if(typeLP.index == 1){ |
|
21 |
<li class="layui-nav-item layui-hide-xs layui-this" lay-unselect><a nav-bind="${type.code}">${type.name}</a></li> |
|
22 |
@}else{ |
|
23 |
<li class="layui-nav-item layui-hide-xs" lay-unselect><a nav-bind="${type.code}">${type.name}</a></li> |
|
24 |
@} |
|
25 |
@} |
|
26 |
@} |
|
27 |
|
|
28 |
@if(constants.getDefaultAdvert()){ |
|
29 |
<li class="layui-nav-item" lay-unselect> |
|
30 |
<a href="https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=p4kqz45e" target="_blank">阿里云5折优惠券,点我领取</a> |
|
31 |
</li> |
|
32 |
<li class="layui-nav-item" lay-unselect> |
|
33 |
<a style="color: #5FB878;" href="https://www.stylefeng.cn" target="_blank">Guns企业版,加群找群主买优惠</a> |
|
34 |
</li> |
|
35 |
<li class="layui-nav-item" lay-unselect> |
|
36 |
<a style="color: #fe7300;" href="https://gitee.com/stylefeng/guns" target="_blank">请star支持一下Guns</a> |
|
37 |
</li> |
|
38 |
@} |
|
39 |
|
|
40 |
</ul> |
|
41 |
<ul class="layui-nav layui-layout-right"> |
|
42 |
<li class="layui-nav-item layui-hide-xs" lay-unselect> |
|
43 |
<a ew-event="fullScreen" title="全屏"><i class="layui-icon layui-icon-screen-full"></i></a> |
|
44 |
</li> |
|
45 |
<li class="layui-nav-item layui-hide-xs" lay-unselect> |
|
46 |
<a ew-event="lockScreen" title="锁屏" data-url="${ctxPath}/system/lock"><i class="layui-icon layui-icon-password"></i></a> |
|
47 |
</li> |
|
48 |
<li class="layui-nav-item" lay-unselect> |
|
49 |
<a> |
|
50 |
<!-- <img src="${avatar!}" class="layui-nav-img">--> |
|
51 |
<cite>${name!"用户"}</cite> |
|
52 |
</a> |
|
53 |
<dl class="layui-nav-child"> |
|
54 |
<!-- <dd lay-unselect>--> |
|
55 |
<!-- <a ew-href="${ctxPath}/system/user_info">${lang.get("MENU_PERSONAL_INFO","个人中心")}</a>--> |
|
56 |
<!-- </dd>--> |
|
57 |
<dd lay-unselect> |
|
58 |
<a id="setPsw">${lang.get("MENU_CHANGE_PASSWORD","修改密码")}</a> |
|
59 |
</dd> |
|
60 |
<!-- <hr>--> |
|
61 |
<!-- <div id="languageDiv"></div>--> |
|
62 |
<!-- <hr>--> |
|
63 |
<dd lay-unselect> |
|
64 |
<a id="btnLogout">${lang.get("MENU_LOGOUT","退出")}</a> |
|
65 |
</dd> |
|
66 |
</dl> |
|
67 |
</li> |
|
68 |
<li class="layui-nav-item" lay-unselect> |
|
69 |
<a ew-event="theme" title="主题" data-url="${ctxPath}/system/theme"><i class="layui-icon layui-icon-more-vertical"></i></a> |
|
70 |
</li> |
|
71 |
</ul> |
|
72 |
</div> |