Commit c9c94e8a384b31c7b3e3c3628df7c48833f7e492
1 parent
97ede35d
Committing 'Disable Pending Modules' code
Showing
2 changed files
with
9 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html
@@ -26,7 +26,7 @@ | @@ -26,7 +26,7 @@ | ||
26 | <div class="sidebar pull-left mCustomScrollbar _mCS_1 mCS-autoHide "> | 26 | <div class="sidebar pull-left mCustomScrollbar _mCS_1 mCS-autoHide "> |
27 | <!--{{name}}--> | 27 | <!--{{name}}--> |
28 | <ul class="nav nav-sidebar" ng-init="hideScrollbar()"> | 28 | <ul class="nav nav-sidebar" ng-init="hideScrollbar()"> |
29 | - <li ng-repeat="module in userModules"><a id="{{module.slug}}" href="{{module.slug}}" ng-click="IsVisible();getModuleScrollPosition()" data-ng-bind="module.name" ng-class="HightLightModuleSelection('{{module.slug}}')"><!--{{module.name}}--></a></li> | 29 | + <li ng-repeat="module in userModules" ng-disabled="module.id==7|| module.id==8 || module.id==10"><a id="{{module.slug}}" href="{{module.slug}}" ng-click="IsVisible();getModuleScrollPosition()" data-ng-bind="module.name" ng-class="HightLightModuleSelection('{{module.slug}}')" ng-disabled="module.id==7|| module.id==8 || module.id==10"><!--{{module.name}}--></a></li> |
30 | </ul> | 30 | </ul> |
31 | </div> | 31 | </div> |
32 | 32 |
400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css
@@ -1093,4 +1093,11 @@ color:#ffffff !important; | @@ -1093,4 +1093,11 @@ color:#ffffff !important; | ||
1093 | 1093 | ||
1094 | width : 400px !important; | 1094 | width : 400px !important; |
1095 | 1095 | ||
1096 | - } | ||
1097 | \ No newline at end of file | 1096 | \ No newline at end of file |
1097 | + } | ||
1098 | + | ||
1099 | +li[disabled], a[disabled] { | ||
1100 | + pointer-events: none; | ||
1101 | +} | ||
1102 | +a[disabled] { | ||
1103 | + color: #aaa !important; | ||
1104 | +} | ||
1098 | \ No newline at end of file | 1105 | \ No newline at end of file |