Compare commits

..

No commits in common. "b4dc742fedc388b113df8c99c321257fa584ead3" and "1a660364af6c3e047abf96e2c522a0eb0a42a860" have entirely different histories.

20 changed files with 12 additions and 142 deletions

View File

@ -44,6 +44,7 @@ class Index extends Backend
'dashboard' => 'hot',
'addon' => ['new', 'red', 'badge'],
'auth/rule' => __('Menu'),
'general' => ['new', 'purple'],
], $this->view->site['fixedpage']);
$action = $this->request->request('action');
if ($this->request->isPost()) {

View File

@ -1522,14 +1522,6 @@ table.table-nowrap thead > tr > th {
border-bottom: 1px solid #eee;
border-radius: 0;
}
.sidebar-menu li.active > a > .fa-angle-left,
.sidebar-menu li.active > a > .pull-right-container > .fa-angle-left {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
.sidebar-menu li.treeview-open > a > .fa-angle-left,
.sidebar-menu li.treeview-open > a > .pull-right-container > .fa-angle-left {
-webkit-transform: rotate(-90deg);

File diff suppressed because one or more lines are too long

View File

@ -2481,11 +2481,6 @@
background: transparent;
border-left-color: transparent;
}
.skin-black-blue .sidebar-menu li.treeview.active > a,
.skin-black-blue .sidebar-menu li.treeview.treeview-open > a {
background-color: #555299;
border-left-color: #555299;
}
.skin-black-blue .sidebar-menu .treeview-menu {
padding-left: 0;
}
@ -2722,11 +2717,6 @@
background: transparent;
border-left-color: transparent;
}
.skin-black-purple .sidebar-menu li.treeview.active > a,
.skin-black-purple .sidebar-menu li.treeview.treeview-open > a {
background-color: #555299;
border-left-color: #555299;
}
.skin-black-purple .sidebar-menu .treeview-menu {
padding-left: 0;
}
@ -2963,11 +2953,6 @@
background: transparent;
border-left-color: transparent;
}
.skin-black-green .sidebar-menu li.treeview.active > a,
.skin-black-green .sidebar-menu li.treeview.treeview-open > a {
background-color: #555299;
border-left-color: #555299;
}
.skin-black-green .sidebar-menu .treeview-menu {
padding-left: 0;
}
@ -3204,11 +3189,6 @@
background: transparent;
border-left-color: transparent;
}
.skin-black-red .sidebar-menu li.treeview.active > a,
.skin-black-red .sidebar-menu li.treeview.treeview-open > a {
background-color: #555299;
border-left-color: #555299;
}
.skin-black-red .sidebar-menu .treeview-menu {
padding-left: 0;
}
@ -3445,11 +3425,6 @@
background: transparent;
border-left-color: transparent;
}
.skin-black-yellow .sidebar-menu li.treeview.active > a,
.skin-black-yellow .sidebar-menu li.treeview.treeview-open > a {
background-color: #555299;
border-left-color: #555299;
}
.skin-black-yellow .sidebar-menu .treeview-menu {
padding-left: 0;
}
@ -3686,11 +3661,6 @@
background: transparent;
border-left-color: transparent;
}
.skin-black-pink .sidebar-menu li.treeview.active > a,
.skin-black-pink .sidebar-menu li.treeview.treeview-open > a {
background-color: #555299;
border-left-color: #555299;
}
.skin-black-pink .sidebar-menu .treeview-menu {
padding-left: 0;
}

View File

@ -198,11 +198,6 @@
background: transparent;
border-left-color: transparent;
}
.skin-black-blue .sidebar-menu li.treeview.active > a,
.skin-black-blue .sidebar-menu li.treeview.treeview-open > a {
background-color: #181f23;
border-left-color: #181f23;
}
.skin-black-blue .sidebar-menu .treeview-menu {
padding-left: 0;
}

View File

@ -198,11 +198,6 @@
background: transparent;
border-left-color: transparent;
}
.skin-black-green .sidebar-menu li.treeview.active > a,
.skin-black-green .sidebar-menu li.treeview.treeview-open > a {
background-color: #181f23;
border-left-color: #181f23;
}
.skin-black-green .sidebar-menu .treeview-menu {
padding-left: 0;
}

View File

@ -198,11 +198,6 @@
background: transparent;
border-left-color: transparent;
}
.skin-black-pink .sidebar-menu li.treeview.active > a,
.skin-black-pink .sidebar-menu li.treeview.treeview-open > a {
background-color: #181f23;
border-left-color: #181f23;
}
.skin-black-pink .sidebar-menu .treeview-menu {
padding-left: 0;
}

View File

@ -198,11 +198,6 @@
background: transparent;
border-left-color: transparent;
}
.skin-black-purple .sidebar-menu li.treeview.active > a,
.skin-black-purple .sidebar-menu li.treeview.treeview-open > a {
background-color: #181f23;
border-left-color: #181f23;
}
.skin-black-purple .sidebar-menu .treeview-menu {
padding-left: 0;
}

View File

@ -198,11 +198,6 @@
background: transparent;
border-left-color: transparent;
}
.skin-black-red .sidebar-menu li.treeview.active > a,
.skin-black-red .sidebar-menu li.treeview.treeview-open > a {
background-color: #181f23;
border-left-color: #181f23;
}
.skin-black-red .sidebar-menu .treeview-menu {
padding-left: 0;
}

View File

@ -198,11 +198,6 @@
background: transparent;
border-left-color: transparent;
}
.skin-black-yellow .sidebar-menu li.treeview.active > a,
.skin-black-yellow .sidebar-menu li.treeview.treeview-open > a {
background-color: #181f23;
border-left-color: #181f23;
}
.skin-black-yellow .sidebar-menu .treeview-menu {
padding-left: 0;
}

View File

@ -468,7 +468,7 @@ function _init() {
//Fix the layout in case the sidebar stretches over the height of the window
//_this.layout.fix();
});
// checkElement.parent("li").removeClass("active");
checkElement.parent("li").removeClass("active");
checkElement.parent("li").removeClass('treeview-open');
}
//If the menu is not visible

View File

@ -67,7 +67,6 @@ define(['jquery', 'bootstrap', 'backend', 'addtabs', 'adminlte', 'form'], functi
var visible = nextul.is(":visible");
if (nextul.length == 0) {
$(this).parents("li").addClass("active");
$(this).closest(".treeview").addClass("treeview-open");
} else {
}
e.stopPropagation();

View File

@ -61,10 +61,8 @@ define(['jquery', 'bootstrap', 'upload', 'validator', 'validator-lang'], functio
var msg = ret.hasOwnProperty("msg") && ret.msg !== "" ? ret.msg : __('Operation completed');
parent.Toastr.success(msg);
parent.$(".btn-refresh").trigger("click");
if (window.name) {
var index = parent.Layer.getFrameIndex(window.name);
parent.Layer.close(index);
}
var index = parent.Layer.getFrameIndex(window.name);
parent.Layer.close(index);
return false;
}, function (data, ret) {
that.holdSubmit(false);
@ -515,27 +513,13 @@ define(['jquery', 'bootstrap', 'upload', 'validator', 'validator-lang'], functio
var baseregex = /^([a-z0-9\_]+)([>|<|=|\!]=?)(.*)$/i, strregex = /^('|")(.*)('|")$/, regregex = /^regex:(.*)$/;
// @formatter:off
var operator_result = {
'>': function (a, b) {
return a > b;
},
'>=': function (a, b) {
return a >= b;
},
'<': function (a, b) {
return a < b;
},
'<=': function (a, b) {
return a <= b;
},
'==': function (a, b) {
return a == b;
},
'!=': function (a, b) {
return a != b;
},
'in': function (a, b) {
return b.split(/\,/).indexOf(a) > -1;
},
'>': function(a, b) { return a > b; },
'>=': function(a, b) { return a >= b; },
'<': function(a, b) { return a < b; },
'<=': function(a, b) { return a <= b; },
'==': function(a, b) { return a == b; },
'!=': function(a, b) { return a != b; },
'in': function(a, b) { return b.split(/\,/).indexOf(a) > -1; },
'regex': function (a, b) {
var regParts = b.match(/^\/(.*?)\/([gim]*)$/);
var regexp = regParts ? new RegExp(regParts[1], regParts[2]) : new RegExp(b);

View File

@ -1552,10 +1552,6 @@ table.table-nowrap {
}
}
.sidebar-menu li.active > a > .fa-angle-left, .sidebar-menu li.active > a > .pull-right-container > .fa-angle-left {
.rotate(0deg);
}
.sidebar-menu li.treeview-open > a > .fa-angle-left, .sidebar-menu li.treeview-open > a > .pull-right-container > .fa-angle-left {
.rotate(-90deg);
}

View File

@ -99,13 +99,6 @@
border-left-color: transparent;
}
li.treeview {
&.active > a,&.treeview-open > a {
background-color: @sidebar-dark-submenu-bg;
border-left-color: @sidebar-dark-submenu-bg;
}
}
.treeview-menu {
padding-left: 0;

View File

@ -99,13 +99,6 @@
border-left-color: transparent;
}
li.treeview {
&.active > a,&.treeview-open > a {
background-color: @sidebar-dark-submenu-bg;
border-left-color: @sidebar-dark-submenu-bg;
}
}
.treeview-menu {
padding-left: 0;

View File

@ -99,13 +99,6 @@
border-left-color: transparent;
}
li.treeview {
&.active > a,&.treeview-open > a {
background-color: @sidebar-dark-submenu-bg;
border-left-color: @sidebar-dark-submenu-bg;
}
}
.treeview-menu {
padding-left: 0;

View File

@ -99,13 +99,6 @@
border-left-color: transparent;
}
li.treeview {
&.active > a,&.treeview-open > a {
background-color: @sidebar-dark-submenu-bg;
border-left-color: @sidebar-dark-submenu-bg;
}
}
.treeview-menu {
padding-left: 0;

View File

@ -99,13 +99,6 @@
border-left-color: transparent;
}
li.treeview {
&.active > a,&.treeview-open > a {
background-color: @sidebar-dark-submenu-bg;
border-left-color: @sidebar-dark-submenu-bg;
}
}
.treeview-menu {
padding-left: 0;

View File

@ -99,13 +99,6 @@
border-left-color: transparent;
}
li.treeview {
&.active > a,&.treeview-open > a {
background-color: @sidebar-dark-submenu-bg;
border-left-color: @sidebar-dark-submenu-bg;
}
}
.treeview-menu {
padding-left: 0;