Commit d41b5699a875dec6c3f4f7afcbacda5cadb52114

Authored by Utkarsh Singh
1 parent 34fb900d

Committed code. Refs : #12581

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -84,6 +84,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
84 84 $rootScope.userModules;
85 85 $rootScope.errorMesaage;
86 86 $rootScope.isVisibleLogin;
  87 + $rootScope.disableFileMenuLinks = "disableFileMenuLinks";
87 88 var isfilloptionChecked = "";
88 89 var isOutlineOptionChecked = "";
89 90 $rootScope.initializeAIA = function () {
... ...
400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html
... ... @@ -3,22 +3,22 @@
3 3 <li class="dropdown">
4 4 <a href="#" class="dropdown-toggle" data-toggle="dropdown" id="fileMenuAnchor" role="button" aria-haspopup="true" aria-expanded="false">File<span class="caret"></span></a>
5 5 <ul class="dropdown-menu">
6   - <li><a href="#">Open Resources</a></li>
7   - <li><a href="#">Open My Pictures</a></li>
8   - <li><a href="#">Open My Animations</a></li>
  6 + <li ng-class="disableFileMenuLinks"><a href="#">Open Resources</a></li>
  7 + <li ng-class="disableFileMenuLinks"><a href="#">Open My Pictures</a></li>
  8 + <li ng-class="disableFileMenuLinks"><a href="#">Open My Animations</a></li>
9 9 <li role="separator" class="divider"></li>
10   - <li><a href="#">Test Creator</a></li>
11   - <li><a href="#">Open Test</a></li>
12   - <li><a href="#">Save Test As</a></li>
  10 + <li ng-class="disableFileMenuLinks"><a href="#">Test Creator</a></li>
  11 + <li ng-class="disableFileMenuLinks"><a href="#">Open Test</a></li>
  12 + <li ng-class="disableFileMenuLinks"><a href="#">Save Test As</a></li>
13 13 <li role="separator" class="divider"></li>
14   - <li><a href="#">New Curriculum</a></li>
15   - <li><a href="#">Open Existing Curriculum</a></li>
16   - <li><a href="#">Save Curriculum As</a></li>
  14 + <li ng-class="disableFileMenuLinks"><a href="#">New Curriculum</a></li>
  15 + <li ng-class="disableFileMenuLinks"><a href="#">Open Existing Curriculum</a></li>
  16 + <li ng-class="disableFileMenuLinks"><a href="#">Save Curriculum As</a></li>
17 17 <li role="separator" class="divider"></li>
18 18 <li><a href="" id="exportImageAnchor" data-toggle="modal" ng-click="ShowExportImageWindow()">Export Image</a></li>
19 19 <li role="separator" class="divider"></li>
20 20 <li><a href="" id="printAVAnchor" data-toggle="modal" ng-click="ShowPrintWindow()">Print Active Viewer</a></li>
21   - <li><a href="#">Print All Open Viewers</a></li>
  21 + <li ng-class="disableFileMenuLinks"><a href="#">Print All Open Viewers</a></li>
22 22 <li><a href="" id="printPreviewAnchor" data-toggle="modal" ng-click="ShowPrintPreviewWindow()">Print Preview</a></li>
23 23 </ul>
24 24 </li>
... ...
400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css
... ... @@ -916,6 +916,10 @@ cursor:pointer;
916 916 pointer-events: none;
917 917 opacity: 0.6;
918 918 }
  919 +.disableFileMenuLinks {
  920 + pointer-events: none;
  921 + opacity: 0.6;
  922 +}
919 923  
920 924 .blankshapediv
921 925 {
... ... @@ -986,4 +990,5 @@ background-size:cover;
986 990 border-top: none;
987 991 padding: 20px 10px;
988 992 text-align:center;
989   - }
990 993 \ No newline at end of file
  994 + }
  995 +
991 996 \ No newline at end of file
... ...