|
@@ -4,7 +4,7 @@
|
|
<meta charset="utf-8">
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>管理后台 - ${siteName!}</title>
|
|
<title>管理后台 - ${siteName!}</title>
|
|
-<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
|
|
|
|
|
+<!--<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">-->
|
|
<!-- bootstrap - css -->
|
|
<!-- bootstrap - css -->
|
|
<link href="${ctxPath}/static/BJUI/themes/css/bootstrap.css" rel="stylesheet">
|
|
<link href="${ctxPath}/static/BJUI/themes/css/bootstrap.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="${ctxPath}/static/BJUI/themes/css/datepicker.css" /><!-- 日期框 -->
|
|
<link rel="stylesheet" href="${ctxPath}/static/BJUI/themes/css/datepicker.css" /><!-- 日期框 -->
|
|
@@ -124,25 +124,25 @@ $(function() {
|
|
debug : true, // [可选]调试模式 [true|false,默认false]
|
|
debug : true, // [可选]调试模式 [true|false,默认false]
|
|
theme : 'orange' // 若有Cookie['bjui_theme'],优先选择Cookie['bjui_theme']。皮肤[五种皮肤:default, orange, purple, blue, red, green]
|
|
theme : 'orange' // 若有Cookie['bjui_theme'],优先选择Cookie['bjui_theme']。皮肤[五种皮肤:default, orange, purple, blue, red, green]
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
// main - menu
|
|
// main - menu
|
|
$('#bjui-accordionmenu')
|
|
$('#bjui-accordionmenu')
|
|
.collapse()
|
|
.collapse()
|
|
.on('hidden.bs.collapse', function(e) {
|
|
.on('hidden.bs.collapse', function(e) {
|
|
$(this).find('> .panel > .panel-heading').each(function() {
|
|
$(this).find('> .panel > .panel-heading').each(function() {
|
|
var $heading = $(this), $a = $heading.find('> h4 > a')
|
|
var $heading = $(this), $a = $heading.find('> h4 > a')
|
|
-
|
|
|
|
|
|
+
|
|
if ($a.hasClass('collapsed')) $heading.removeClass('active')
|
|
if ($a.hasClass('collapsed')) $heading.removeClass('active')
|
|
})
|
|
})
|
|
})
|
|
})
|
|
.on('shown.bs.collapse', function (e) {
|
|
.on('shown.bs.collapse', function (e) {
|
|
$(this).find('> .panel > .panel-heading').each(function() {
|
|
$(this).find('> .panel > .panel-heading').each(function() {
|
|
var $heading = $(this), $a = $heading.find('> h4 > a')
|
|
var $heading = $(this), $a = $heading.find('> h4 > a')
|
|
-
|
|
|
|
|
|
+
|
|
if (!$a.hasClass('collapsed')) $heading.addClass('active')
|
|
if (!$a.hasClass('collapsed')) $heading.addClass('active')
|
|
})
|
|
})
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
$(document).on('click', 'ul.menu-items > li > a', function(e) {
|
|
$(document).on('click', 'ul.menu-items > li > a', function(e) {
|
|
var $a = $(this), $li = $a.parent(), options = $a.data('options').toObj()
|
|
var $a = $(this), $li = $a.parent(), options = $a.data('options').toObj()
|
|
var onClose = function() {
|
|
var onClose = function() {
|
|
@@ -152,23 +152,23 @@ $(function() {
|
|
$('#bjui-accordionmenu').find('ul.menu-items > li').removeClass('switch')
|
|
$('#bjui-accordionmenu').find('ul.menu-items > li').removeClass('switch')
|
|
$li.addClass('switch')
|
|
$li.addClass('switch')
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
$li.addClass('active')
|
|
$li.addClass('active')
|
|
if (options) {
|
|
if (options) {
|
|
options.url = $a.attr('href')
|
|
options.url = $a.attr('href')
|
|
options.onClose = onClose
|
|
options.onClose = onClose
|
|
options.onSwitch = onSwitch
|
|
options.onSwitch = onSwitch
|
|
if (!options.title) options.title = $a.text()
|
|
if (!options.title) options.title = $a.text()
|
|
-
|
|
|
|
|
|
+
|
|
if (!options.target)
|
|
if (!options.target)
|
|
$a.navtab(options)
|
|
$a.navtab(options)
|
|
else
|
|
else
|
|
$a.dialog(options)
|
|
$a.dialog(options)
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
e.preventDefault()
|
|
e.preventDefault()
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
//时钟
|
|
//时钟
|
|
var today = new Date(), time = today.getTime()
|
|
var today = new Date(), time = today.getTime()
|
|
$('#bjui-date').html(today.formatDate('yyyy/MM/dd'))
|
|
$('#bjui-date').html(today.formatDate('yyyy/MM/dd'))
|
|
@@ -181,14 +181,14 @@ $(function() {
|
|
//菜单-事件
|
|
//菜单-事件
|
|
function MainMenuClick(event, treeId, treeNode) {
|
|
function MainMenuClick(event, treeId, treeNode) {
|
|
event.preventDefault()
|
|
event.preventDefault()
|
|
-
|
|
|
|
|
|
+
|
|
if (treeNode.isParent) {
|
|
if (treeNode.isParent) {
|
|
var zTree = $.fn.zTree.getZTreeObj(treeId)
|
|
var zTree = $.fn.zTree.getZTreeObj(treeId)
|
|
-
|
|
|
|
|
|
+
|
|
zTree.expandNode(treeNode, !treeNode.open, false, true, true)
|
|
zTree.expandNode(treeNode, !treeNode.open, false, true, true)
|
|
return
|
|
return
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
if (treeNode.target && treeNode.target == 'dialog')
|
|
if (treeNode.target && treeNode.target == 'dialog')
|
|
$(event.target).dialog({id:treeNode.tabid, url:treeNode.url, title:treeNode.name})
|
|
$(event.target).dialog({id:treeNode.tabid, url:treeNode.url, title:treeNode.name})
|
|
else
|
|
else
|
|
@@ -213,7 +213,7 @@ function MainMenuClick(event, treeId, treeNode) {
|
|
<ul class="bjui-navbar-right">
|
|
<ul class="bjui-navbar-right">
|
|
<li class="datetime"><div><span id="bjui-date"></span> <span id="bjui-clock"></span></div></li>
|
|
<li class="datetime"><div><span id="bjui-date"></span> <span id="bjui-clock"></span></div></li>
|
|
<li><a>你好,${session.SysUser.username!}</a></li>
|
|
<li><a>你好,${session.SysUser.username!}</a></li>
|
|
- <li><a target="_blank" href="${ctxPath}/rdjt/${session.SysUser.siteId!}" data-id="siteInfo"><span class="glyphicon glyphicon-home"></span> ${session.SysUser.siteId==1?"前台首页":session.SysUser.siteName!}</a></li>
|
|
|
|
|
|
+ <li><a target="_blank" href="${ctxPath}/xczxw/${session.SysUser.siteId!}" data-id="siteInfo"><span class="glyphicon glyphicon-home"></span> ${session.SysUser.siteId==1?"前台首页":session.SysUser.siteName!}</a></li>
|
|
<li><a target="_blank" href="${ctxPath}/system/cache/clear/all" data-toggle="doajax" data-confirm-msg="清理缓存"><span class="glyphicon glyphicon-refresh"></span> 清理缓存</a></li>
|
|
<li><a target="_blank" href="${ctxPath}/system/cache/clear/all" data-toggle="doajax" data-confirm-msg="清理缓存"><span class="glyphicon glyphicon-refresh"></span> 清理缓存</a></li>
|
|
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">我的账户 <span class="caret"></span></a>
|
|
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">我的账户 <span class="caret"></span></a>
|
|
<ul class="dropdown-menu" role="menu">
|
|
<ul class="dropdown-menu" role="menu">
|
|
@@ -352,8 +352,8 @@ function MainMenuClick(event, treeId, treeNode) {
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<footer id="bjui-footer" >
|
|
<footer id="bjui-footer" >
|
|
- © 2020 sookaCMS <span class="heartbeat"></span><a href="#" target="_blank"></a>
|
|
|
|
|
|
+ © 2023 sookaCMS <span class="heartbeat"></span><a href="#" target="_blank"></a>
|
|
</footer>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</body>
|
|
-</html>
|
|
|
|
|
|
+</html>
|