2 ================================================================================
4 ================================================================================
5 Copyright (C) 2017 AT&T Intellectual Property
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ================================================================================
20 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
21 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
22 <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
24 <link rel="stylesheet" type="text/css" href="static/fusion/sample/css/scribble.css" />
26 <link rel="stylesheet" type="text/css" href="static/fusion/sample/css/welcome.css" />
28 <script src="static/js/jquery-1.10.2.js"></script>
29 <script src="app/fusion/external/angular-ui/ui-bootstrap-tpls-1.1.2.min.js"></script>
31 <!-- <script src="static/fusion/js/jquery.resize.js"></script> -->
32 <link rel="stylesheet" href="static/fusion/css/att_angular_gridster/ui-gridster.css"/>
33 <link rel="stylesheet" href="static/fusion/css/att_angular_gridster/sandbox-gridster.css"/>
34 <script src="static/fusion/js/att_angular_gridster/ui-gridster-tpls.js"></script>
35 <script src="static/fusion/js/att_angular_gridster/angular-gridster.js"></script>
36 <script src="app/fusion/external/ebz/sandbox/att-abs-tpls.js" type="text/javascript"></script>
38 <!--for line Chart and Area Chart-->
39 <script src="static/fusion/d3/js/d3.v3.min.js"></script>
40 <script src="static/fusion/d3/js/nv.d3.min.js"></script>
41 <script src="static/fusion/d3/js/models/axis.min.js"></script>
43 <!-- Style for line Chart and area chart -->
44 <link rel="stylesheet" type="text/css" href="static/fusion/d3/css/nv.d3.css">
47 <script type="text/javascript" src="static/fusion/sample/js/FusionCharts.js"></script> <!-- Charts -->
48 <script type="text/javascript" src="static/fusion/sample/js/charts.js"></script> <!-- Charts -->
49 <script type="text/javascript" src="static/fusion/sample/js/scribble.js"></script> <!-- Scribble -->
51 <!-- Data for Line and Area Charts -->
53 historicalBarChart=[{"type":"line","key":"AP_CPU","yAxis":"1","values":[{"x":1388552400000,"y":2.13},{"x":1388552400000,"y":5.0},{"x":1388552400000,"y":2.36},{"x":1388552400000,"y":10.0},{"x":1391230800000,"y":3.15},{"x":1391230800000,"y":2.88},{"x":1391230800000,"y":3.0},{"x":1391230800000,"y":4.0},{"x":1393650000000,"y":8.0},{"x":1393650000000,"y":3.93},{"x":1393650000000,"y":4.27},{"x":1393650000000,"y":4.0},{"x":1396324800000,"y":4.25},{"x":1396324800000,"y":5.35},{"x":1396324800000,"y":5.92},{"x":1396324800000,"y":12.0},{"x":1398916800000,"y":5.55},{"x":1398916800000,"y":4.89},{"x":1398916800000,"y":5.01},{"x":1398916800000,"y":3.27},{"x":1401595200000,"y":6.27},{"x":1401595200000,"y":9.17},{"x":1401595200000,"y":9.31},{"x":1401595200000,"y":6.07},{"x":1404187200000,"y":8.37},{"x":1404187200000,"y":8.11},{"x":1404187200000,"y":8.84},{"x":1404187200000,"y":8.93},{"x":1406865600000,"y":11.79},{"x":1406865600000,"y":12.22},{"x":1406865600000,"y":12.6},{"x":1406865600000,"y":11.61},{"x":1409544000000,"y":15.27},{"x":1409544000000,"y":19.09},{"x":1409544000000,"y":16.09},{"x":1409544000000,"y":18.66},{"x":1412136000000,"y":18.4},{"x":1412136000000,"y":22.05},{"x":1412136000000,"y":21.66},{"x":1412136000000,"y":19.04},{"x":1414814400000,"y":19.13},{"x":1414814400000,"y":19.61},{"x":1414814400000,"y":17.61},{"x":1414814400000,"y":17.5},{"x":1417410000000,"y":19.0},{"x":1417410000000,"y":15.73},{"x":1420088400000,"y":9.67},{"x":1420088400000,"y":15.19},{"x":1420088400000,"y":15.02},{"x":1420088400000,"y":9.62333333333333},{"x":1422766800000,"y":16.95},{"x":1422766800000,"y":14.29},{"x":1425186000000,"y":12.9},{"x":1425186000000,"y":16.1166666666667}]},{"type":"line","key":"ROUTER_CPU","yAxis":"1","values":[{"x":1388552400000,"y":3.0},{"x":1388552400000,"y":4.0},{"x":1388552400000,"y":4.89},{"x":1388552400000,"y":7.0},{"x":1391230800000,"y":4.57},{"x":1391230800000,"y":4.0},{"x":1391230800000,"y":4.0},{"x":1391230800000,"y":7.0},{"x":1393650000000,"y":7.0},{"x":1393650000000,"y":4.18},{"x":1393650000000,"y":5.0},{"x":1393650000000,"y":5.0},{"x":1396324800000,"y":5.0},{"x":1396324800000,"y":5.0},{"x":1396324800000,"y":5.06},{"x":1396324800000,"y":6.0},{"x":1398916800000,"y":5.0},{"x":1398916800000,"y":5.0},{"x":1398916800000,"y":5.0},{"x":1398916800000,"y":5.0},{"x":1401595200000,"y":6.0},{"x":1401595200000,"y":6.09},{"x":1401595200000,"y":6.0},{"x":1401595200000,"y":6.0},{"x":1404187200000,"y":6.36},{"x":1404187200000,"y":7.0},{"x":1404187200000,"y":7.0},{"x":1404187200000,"y":7.0},{"x":1406865600000,"y":7.0},{"x":1406865600000,"y":7.02},{"x":1406865600000,"y":7.24},{"x":1406865600000,"y":7.0},{"x":1409544000000,"y":8.23},{"x":1409544000000,"y":8.11},{"x":1409544000000,"y":8.12},{"x":1409544000000,"y":8.03},{"x":1412136000000,"y":9.0},{"x":1412136000000,"y":8.93},{"x":1412136000000,"y":8.57},{"x":1412136000000,"y":9.0},{"x":1414814400000,"y":5.97},{"x":1414814400000,"y":6.0},{"x":1414814400000,"y":9.0},{"x":1414814400000,"y":9.0},{"x":1417410000000,"y":9.0},{"x":1417410000000,"y":8.78},{"x":1420088400000,"y":3.0},{"x":1420088400000,"y":2.01},{"x":1420088400000,"y":3.0},{"x":1420088400000,"y":3.01},{"x":1422766800000,"y":2.67},{"x":1422766800000,"y":2.0},{"x":1425186000000,"y":2.8},{"x":1425186000000,"y":3.63333333333333}]},{"type":"line","key":"SCTP_CPU","yAxis":"1","values":[{"x":1388552400000,"y":7.0},{"x":1388552400000,"y":10.0},{"x":1388552400000,"y":8.27},{"x":1388552400000,"y":8.0},{"x":1391230800000,"y":10.02},{"x":1391230800000,"y":8.04},{"x":1391230800000,"y":9.0},{"x":1391230800000,"y":10.0},{"x":1393650000000,"y":12.0},{"x":1393650000000,"y":10.04},{"x":1393650000000,"y":11.16},{"x":1393650000000,"y":10.0},{"x":1396324800000,"y":10.7},{"x":1396324800000,"y":13.31},{"x":1396324800000,"y":12.73},{"x":1396324800000,"y":9.0},{"x":1398916800000,"y":12.41},{"x":1398916800000,"y":11.95},{"x":1398916800000,"y":12.82},{"x":1398916800000,"y":9.58},{"x":1401595200000,"y":11.28},{"x":1401595200000,"y":14.01},{"x":1401595200000,"y":14.63},{"x":1401595200000,"y":11.83},{"x":1404187200000,"y":14.06},{"x":1404187200000,"y":13.96},{"x":1404187200000,"y":14.66},{"x":1404187200000,"y":14.36},{"x":1406865600000,"y":16.6},{"x":1406865600000,"y":16.95},{"x":1406865600000,"y":17.11},{"x":1406865600000,"y":15.94},{"x":1409544000000,"y":19.86},{"x":1409544000000,"y":22.97},{"x":1409544000000,"y":21.56},{"x":1409544000000,"y":24.55},{"x":1412136000000,"y":22.66},{"x":1412136000000,"y":26.79},{"x":1412136000000,"y":26.54},{"x":1412136000000,"y":25.35},{"x":1414814400000,"y":21.0},{"x":1414814400000,"y":20.35},{"x":1414814400000,"y":21.93},{"x":1414814400000,"y":23.63},{"x":1417410000000,"y":24.0},{"x":1417410000000,"y":21.43},{"x":1420088400000,"y":12.63},{"x":1420088400000,"y":25.14},{"x":1420088400000,"y":21.85},{"x":1420088400000,"y":12.5766666666667},{"x":1422766800000,"y":26.3},{"x":1422766800000,"y":24.4},{"x":1425186000000,"y":23.3833333333333},{"x":1425186000000,"y":24.5833333333333}]},{"type":"line","key":"DP_CPU","yAxis":"1","values":[{"x":1388552400000,"y":2.0},{"x":1388552400000,"y":5.0},{"x":1388552400000,"y":2.17},{"x":1388552400000,"y":2.0},{"x":1391230800000,"y":3.01},{"x":1391230800000,"y":2.56},{"x":1391230800000,"y":3.0},{"x":1391230800000,"y":9.0},{"x":1393650000000,"y":10.0},{"x":1393650000000,"y":3.64},{"x":1393650000000,"y":4.06},{"x":1393650000000,"y":4.0},{"x":1396324800000,"y":4.04},{"x":1396324800000,"y":5.11},{"x":1396324800000,"y":5.9},{"x":1396324800000,"y":8.0},{"x":1398916800000,"y":5.08},{"x":1398916800000,"y":4.65},{"x":1398916800000,"y":4.74},{"x":1398916800000,"y":2.98},{"x":1401595200000,"y":6.13},{"x":1401595200000,"y":8.98},{"x":1401595200000,"y":9.22},{"x":1401595200000,"y":5.84},{"x":1404187200000,"y":8.12},{"x":1404187200000,"y":7.89},{"x":1404187200000,"y":8.41},{"x":1404187200000,"y":8.47},{"x":1406865600000,"y":11.06},{"x":1406865600000,"y":11.84},{"x":1406865600000,"y":11.92},{"x":1406865600000,"y":10.8},{"x":1409544000000,"y":14.58},{"x":1409544000000,"y":18.39},{"x":1409544000000,"y":15.5},{"x":1409544000000,"y":18.33},{"x":1412136000000,"y":18.01},{"x":1412136000000,"y":21.3},{"x":1412136000000,"y":21.11},{"x":1412136000000,"y":18.37},{"x":1414814400000,"y":18.59},{"x":1414814400000,"y":18.81},{"x":1414814400000,"y":17.13},{"x":1414814400000,"y":16.92},{"x":1417410000000,"y":18.0},{"x":1417410000000,"y":15.18},{"x":1420088400000,"y":9.16},{"x":1420088400000,"y":12.13},{"x":1420088400000,"y":11.76},{"x":1420088400000,"y":9.31},{"x":1422766800000,"y":13.47},{"x":1422766800000,"y":13.41},{"x":1425186000000,"y":12.2333333333333},{"x":1425186000000,"y":12.4}]}];
60 /* area chart and line chart titles */
61 d3.select("#areaChart svg").append("text").attr("x", 200).attr("y", 15)
62 .attr("text-anchor", "middle").style("font-size", "16px").text(
63 "Data Usage in NJ Locations");
65 d3.select("#lineChart svg").append("text").attr("x", 200).attr("y", 15)
66 .attr("text-anchor", "middle").style("font-size", "16px").text(
67 "Data Usage in NJ Locations");
71 <div ng-controller="welcomeController">
72 <fmt:message key="general.home" var="title" />
74 <span style="font-weight:bold;font-size:11pt;">Welcome ${sessionScope.user.firstName} ${sessionScope.user.lastName}</span>
75 (Last Login: <fmt:formatDate value="${sessionScope.user.lastLoginDate}" type="date" pattern="dd MMM yyyy hh:mma zzz" var="lastLogin" /> ${lastLogin})
78 <div id="gridDiv" class="center">
79 <div class="gridster-container">
80 <div att-gridster att-gridster-options='gridsterOpts'>
81 <div att-gridster-item='item' ng-repeat="item in standardItems">
82 <div att-gridster-item-header
83 header-text={{item.headerText}}
84 sub-header-text={{item.subHeaderText}}>
85 <!--ICON BUTTONS PLACEHOLDER START-->
86 <div class="tileMinMaxBtn" ng-click="toggleMinMax($index,'')">
87 <span class="tileMinMaxIcon">
88 <i class="ion-chevron-up" style="color:gray" ng-show="item.max"></i>
89 <i class="ion-chevron-down" style="color:gray" ng-hide="item.max"></i>
92 <!--ICON BUTTONS PLACEHOLDER END-->
94 <div att-gridster-item-body >
95 <!--ACTUAL BODY CONTENT START-->
96 <div align="center" style="margin-top:10px;">
97 <div align="left" ng-if="item.headerText=='Dashboard' && item.max">
98 <label> Sample Charts</label><BR>
99 <iframe scrolling="no" frameBorder="0" style="width: 430px; height: 360px;" src="static/fusion/sample/html/wordcloud.html"></iframe>
101 <div ng-if="item.headerText=='Donut Chart' && item.max">
102 <iframe scrolling="no" frameBorder="0" style="width: 310px; height: 210px;" src="static/fusion/sample/html/donut_d3.html"></iframe>
104 <div ng-if="item.headerText=='Area Chart' && item.max">
106 <div> <svg></svg> </div>
107 <script src="static/fusion/sample/html/js/area_chart.min.js"></script>
109 <!-- <iframe scrolling="no" frameBorder="0" style="width: 310px; height: 210px;" src="static/fusion/sample/html/area_chart.html"></iframe> -->
111 <div ng-if="item.headerText=='Pie Chart' && item.max">
112 <iframe scrolling="no" frameBorder="0" style="width: 310px; height: 210px;" src="static/fusion/sample/html/pie_chart.html"></iframe>
114 <div ng-if="item.headerText=='Line Chart' && item.max">
116 <div> <svg></svg> </div>
117 <script src="static/fusion/sample/html/js/line_chart.min.js"></script>
120 <!-- <iframe scrolling="no" frameBorder="0" style="width: 310px; height: 210px;" src="static/fusion/sample/html/line_chart.html"></iframe> -->
122 <div ng-if="item.headerText=='Gauges' && item.max">
123 <iframe scrolling="no" frameBorder="0" style="width: 310pxx; height: 210px;" src="static/fusion/sample/html/d3_gauges_demo.html"></iframe>
126 <div align="left" ng-if="item.headerText=='Traffic distribution by day of week' && item.max">
127 <div id = "selectedTrafficDay">
129 <li ng-repeat="Daytab in selectedTrafficDay"
130 ng-class="{active1:isActiveTab1(Daytab.url)}"
131 ng-click="onClickTab1(Daytab)">{{Daytab.title}}</li>
133 <div id = "SelectedTrafficeDayView">
134 <div ng-include="currentSelectedDayTab"></div>
136 <script type="text/ng-template" id="#Monday">
137 <div id="Monday" align="centers"><img src="static/fusion/sample/images/tunnels/1_mon.png" width=100% height=100% alt="Monday"></div>
139 <script type="text/ng-template" id="#Tuesday">
140 <div id="Tuesday" align="center"><img src="static/fusion/sample/images/tunnels/2_tue.png" width=100% height=100% alt="Tuesday"></div>
142 <script type="text/ng-template" id="#Wednesday">
143 <div id="Wednesday" align="center"><img src="static/fusion/sample/images/tunnels/3_wed.png" width=100% height=100% alt="Wednesday"></div>
145 <script type="text/ng-template" id="#Thursday">
146 <div id="Thursday" align="center"><img src="static/fusion/sample/images/tunnels/4_thu.png" width=100% height=100% alt="Thursday"></div>
148 <script type="text/ng-template" id="#Friday">
149 <div id="Friday" align="center"><img src="static/fusion/sample/images/tunnels/5_fri.png" width=100% height=100% alt="Friday"></div>
151 <script type="text/ng-template" id="#Saturday">
152 <div id="Saturday" align="center"><img src="static/fusion/sample/images/tunnels/6_sat.png" width=100% height=100% alt="Saturday"></div>
154 <script type="text/ng-template" id="#Sunday">
155 <div id="Sunday" align="center"><img src="static/fusion/sample/images/tunnels/7_sun.png" width=100% height=100% alt="Sunday"></div>
160 <div align="left" ng-if="item.headerText=='Busy hour traffic analysis by day of week' && item.max">
161 <div id = "BusyHourTraffic">
163 <li ng-repeat="TrafficTab in BusyHourTraffic"
164 ng-class="{active2:isActiveTab2(TrafficTab.url)}"
165 ng-click="onClickTab2(TrafficTab)">{{TrafficTab.title}}</li>
167 <div id = "BusyHourTrafficView">
168 <div ng-include="currentSelectedBusyHourTraffic"></div>
170 <script type="text/ng-template" id="#Incoming">
171 <div id="Incoming" align="left"><img src="static/fusion/sample/images/tunnels/BH_DLSTX_IN.png" width=100% height=100%></div>
173 <script type="text/ng-template" id="#Outgoing">
174 <div id="Outgoing" align="center"><img src="static/fusion/sample/images/tunnels/BH_DLSTX_OUT.png" width=100% height=100%></div>
176 <script type="text/ng-template" id="#Default">
177 <div id="Default" align="center"><img src="static/fusion/sample/images/tunnels/BH_Nat_Def.png" width=100% height=100%></div>
179 <script type="text/ng-template" id="#Priority">
180 <div id="Priority" align="center"><img src="static/fusion/sample/images/tunnels/BH_Nat_Priority.png" width=100% height=100%></div>
182 <script type="text/ng-template" id="#BHNational">
183 <div id="BHNational" align="center"><img src="static/fusion/sample/images/tunnels/BH_Nat.png" width=100% height=100%></div>
188 <div align="left" ng-if="item.headerText=='Additional Samples' && item.max">
189 <label> Quick Links</label>
194 <td att-table-body width="90%" ><a href="http://jquery.com" target="_blank">JQuery</a></td>
195 <td att-table-body width="10%">
196 <a ng-click="removeRole();" ><img src="static/fusion/sample/images/deleteicon.gif"></a>
201 <td att-table-body width="90%" ><a href="sample_heat_map.htm" target="">Heat Map</a></td>
202 <td att-table-body width="10%">
203 <a ng-click="removeRole();" ><img src="static/fusion/sample/images/deleteicon.gif"></a>
207 <td att-table-body width="90%" ><a href="leafletMap.htm" target="">Animated Map</a></td>
208 <td att-table-body width="10%">
209 <a ng-click="removeRole();" ><img src="static/fusion/sample/images/deleteicon.gif"></a>
213 <td att-table-body width="90%" ><a href="collaborate_list.htm">Chat Session</a></td>
214 <td att-table-body width="10%">
215 <a ng-click="removeRole();" ><img src="static/fusion/sample/images/deleteicon.gif"></a>
220 <div ng-if="item.headerText=='Sticky Notes' && item.max">
221 <div style="width:100%; height:400px" id="scribble-pad"><pre id="scribble" contenteditable="true" onkeyup="storeUserScribble(this.id);"></pre></div>
224 <div ng-if="item.headerText=='Service Configuration' && item.max">
225 <accordion close-others="true" css="att-accordion">
226 <accordion-group heading="Service Configuration" is-open="group11.open">
227 <iframe style="overflow:auto" frameBorder="0" align="center" width="100%" height="400px" src="static/fusion/sample/org_chart/example.html" ></iframe>
229 <accordion-group heading="VSP Service Configuration" is-open="group12.open">
230 <iframe style="overflow:auto" frameBorder="0" align="center" width="100%" height="400px" src="static/fusion/sample/org_chart/example_vsp.html" ></iframe>
238 <!--ACTUAL BODY CONTENT END-->
244 </div> <!-- End gridDiv -->
249 $(document).ready(function() {
250 $("#rightIcon").hide();
251 $("#leftIcon").show();
254 app.controller('welcomeController',function($scope, modalService, $modal) {
255 $scope.gridsterOpts = {
256 columns : 3, // the width of the grid, in columns
257 pushing : true, // whether to push other items out of the way on move or resize
258 floating : true, // whether to automatically float items up so they stack (you can temporarily disable if you are adding unsorted items with ng-repeat)
259 width : 'auto', // can be an integer or 'auto'. 'auto' scales gridster to be the full width of its containing element
260 colWidth : 'auto', // can be an integer or 'auto'. 'auto' uses the pixel width of the element divided by 'columns'
261 rowHeight : 60, // can be an integer or 'match'. Match uses the colWidth, giving you square widgets.
262 margins : [ 10, 10 ], // the pixel distance between each widget
263 outerMargin : true, // whether margins apply to outer edges of the grid
266 enabled : true, // whether dragging items is supported
267 stop: function(event, uiWidget, $element) {$scope.setCookie();} // optional callback fired when item is finished dragging
272 /* $scope.gridsterOpts = {
284 $scope.toggleMinMax = function(index, tileName) {
285 if (tileName == '') {
286 $scope.standardItems[index].max = !$scope.standardItems[index].max;
287 if ($scope.standardItems[index].max)
288 $scope.standardItems[index].sizeY = $scope.standardItems[index].maxHeight;
290 $scope.standardItems[index].sizeY = 0;
292 $scope.tileTemp = $scope.$eval(tileName);
293 var tileMax = $parse(tileName + '.max');
294 tileMax.assign($scope,!$scope.$eval(tileName).max);
295 var tileSizeY = $parse(tileName + '.sizeY');
296 if ($scope.tileTemp.max)
297 tileSizeY.assign($scope,$scope.tileTemp.maxHeight);
299 tileSizeY.assign($scope, 0);
305 // These map directly to gridsterItem options
306 // IMPORTANT: Items should be placed in the grid in the order in which
307 // they should appear.
308 // In most cases the sorting should be by row ASC, col ASC
309 $scope.standardItems = [{
315 headerText : 'Dashboard',
325 headerText : 'Donut Chart',
335 headerText : 'Area Chart',
344 headerText : 'Pie Chart',
353 headerText : 'Line Chart',
362 headerText : 'Gauges',
371 headerText : 'Traffic distribution by day of week',
380 headerText : 'Busy hour traffic analysis by day of week',
389 headerText : 'Additional Samples',
398 headerText : 'Sticky Notes',
407 headerText : 'Service Configuration',
411 $.each($scope.standardItems, function(i, a) {
412 $scope.toggleMinMax(i, '');
414 $scope.activeTabId = 'Monday';
417 $scope.selectedTrafficDay = [{
440 $scope.currentSelectedDayTab = '#Monday';
442 $scope.onClickTab1 = function (Daytab) {
443 $scope.currentSelectedDayTab = Daytab.url;
446 $scope.isActiveTab1 = function(tabUrl) {
447 return tabUrl == $scope.currentSelectedDayTab;
487 $scope.BusyHourTraffic = [ {
488 title : 'BH SNRC DLSTX - Incoming',
491 title : 'BH SNRC DLSTX - Outgoing',
494 title : 'BH National - Default',
497 title : 'BH National - Priority',
500 title : 'BH National',
506 $scope.currentSelectedBusyHourTraffic = '#Incoming';
508 $scope.onClickTab2 = function (TrafficTab) {
509 $scope.currentSelectedBusyHourTraffic = TrafficTab.url;
512 $scope.isActiveTab2 = function(tabUrl) {
513 return tabUrl == $scope.currentSelectedBusyHourTraffic;
517 $scope.activeTabId2 = 'Incoming';
520 title : 'BH SNRC DLSTX - Incoming',
525 title : 'BH SNRC DLSTX - Outgoing',
529 title : 'BH National - Default',
533 title : 'BH National - Priority',
537 title : 'BH National',
543 $scope.activeTabId3 = 'Incoming';
546 title : 'BH SNRC DLSTX - Incoming',
551 title : 'BH SNRC DLSTX - Outgoing',
555 title : 'BH National - Default',
559 title : 'BH National - Priority',
563 title : 'BH National',
569 /* $scope.$watch('activeTabId', function(newVal) {
571 $('#'+newval).show();
574 $scope.toggleEastToWest = function() {
575 $("#toggle").toggle('slide');
576 if ($("#leftIcon").is(":visible")) {
577 $("#rightIcon").show();
578 $("#leftIcon").hide();
580 else if ($("#rightIcon").is(":visible")) {
581 $("#rightIcon").hide();
582 $("#leftIcon").show();
628 <!-- Select the Slider control by default -->
629 <script>$('input[name=viewer]:eq(1)').click();</script>