Commit 246c2c659ebe809e1eac2bf03cbfe79097f685c3
1 parent
1ddc894a
adding alert for upcoming new changes in cb
Showing
2 changed files
with
31 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -203,7 +203,10 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A |
203 | 203 | { |
204 | 204 | if(loginStatus=='False') |
205 | 205 | { |
206 | - $rootScope.LogoutUserSession(); | |
206 | + $rootScope.LogoutUserSession(); | |
207 | + //remove after CB deployment | |
208 | + $("#upcomingAlertModal").modal('show'); | |
209 | + $(".modal-backdrop").css("opacity", ".5"); | |
207 | 210 | } |
208 | 211 | else |
209 | 212 | { |
... | ... | @@ -221,6 +224,12 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A |
221 | 224 | }); |
222 | 225 | |
223 | 226 | } |
227 | + else | |
228 | + { | |
229 | + //remove after CB deployment | |
230 | + $("#upcomingAlertModal").modal('show'); | |
231 | + $(".modal-backdrop").css("opacity", ".5"); | |
232 | + } | |
224 | 233 | |
225 | 234 | var isRememberChecked = $rootScope.getLocalStorageValue('isRememberMeChecked'); |
226 | 235 | ... | ... |
400-SOURCECODE/AIAHTML5.Web/index.aspx
... | ... | @@ -1286,6 +1286,27 @@ |
1286 | 1286 | </div> |
1287 | 1287 | </div> |
1288 | 1288 | |
1289 | + <!--AIA Upcoming changes alert message--> | |
1290 | + <div class=" fade ui-draggable in" data-keyboard="false" data-backdrop="static" id="upcomingAlertModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" style="padding-left: 17px; display: none; z-index: 1200002; position: fixed; top: 0; overflow-x: hidden; overflow-y: auto; width:100% ;height:100%"> | |
1291 | + <div class="modal-dialog" role="document" style="width:500px"> | |
1292 | + <div class="modal-content"> | |
1293 | + <div class="modal-header ui-draggable-handle " style="background-color: #ec6798; border-color: #007ab3;cursor:default; padding:5px"> | |
1294 | + <button type="button" class="close" data-dismiss="modal" aria-label="Close" style="font-size: 30px;"><span aria-hidden="true">×</span></button> | |
1295 | + <h4 style="color:#fff; float: left;">Alert!</h4> | |
1296 | + </div> | |
1297 | + <div class="modal-body" style=" height: 160px; overflow-x: auto;"> | |
1298 | + <div class="panel-body"> | |
1299 | + <div style="font-size: 15px;float: left;text-align: left;color:red"> | |
1300 | + We will be performing a product deployment upgrading the Curriculum Builder resource beginning Friday December 18, 2020, 11:00pm EST, ending Saturday December 19, 2020, 01:00am EST. During this time, you may experience a service disruption for this product. | |
1301 | + </div> | |
1302 | + </div> | |
1303 | + </div> | |
1304 | + <div class="modal-footer ui-draggable-handle" style="background-color: #f1e8e8;"> | |
1305 | + <button type="button" class="btn btn-primary btn" data-dismiss="modal" style="float:right;">OK</button></div> | |
1306 | + </div> | |
1307 | + </div> | |
1308 | + </div> | |
1309 | + | |
1289 | 1310 | <!--Admin Form (Under Process)--> |
1290 | 1311 | |
1291 | 1312 | ... | ... |