Skip to content

Commit

Permalink
Now dims icon for inactive pages in bs3 manage all pages (hierarchy t…
Browse files Browse the repository at this point in the history
…ree)
  • Loading branch information
dleffler committed Mar 27, 2015
1 parent 91a24e3 commit c8dbc5b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions external/jquery/addons/js/themes/default-dark/style.css
Expand Up @@ -1094,3 +1094,8 @@
background-image: url(../../../../../../framework/modules/navigation/assets/images/page_go.png);
background-repeat: no-repeat;
}

.jstree-default-dark i.jstree-icon.inactive {
background-color: grey;
opacity: 0.4;
}
5 changes: 5 additions & 0 deletions external/jquery/addons/js/themes/default/style.css
Expand Up @@ -1055,3 +1055,8 @@
background-image: url(../../../../../../framework/modules/navigation/assets/images/page_go.png);
background-repeat: no-repeat;
}

.jstree-default i.jstree-icon.inactive {
background-color: grey;
opacity: 0.4;
}
5 changes: 5 additions & 0 deletions external/jquery/addons/js/themes/proton/style.css
Expand Up @@ -1152,3 +1152,8 @@ filter: gray;
.jstree-proton-small .addsapage {
background-size: 16px, 16px;
}

.jstree-proton i.jstree-icon.inactive {
background-color: grey;
opacity: 0.4;
}
Expand Up @@ -767,6 +767,7 @@ public static function returnChildrenAsJSON2() {
$navs[$i]->parent = $nav->parent?$nav->parent:'#';
$navs[$i]->text = $nav->name;
$navs[$i]->icon = $icons[$nav->alias_type];
if (!$nav->active) $navs[$i]->icon .= ' inactive';
if (expPermissions::check('manage', expCore::makeLocation('navigation', '', $navs[$i]->id))) {
$navs[$i]->manage = 1;
$view = true;
Expand Down

0 comments on commit c8dbc5b

Please sign in to comment.