Simon Hunt

ONOS-2850 : Continuing Topology Programmable Dialog box --- WIP.

Change-Id: Id82c74c2acec633b38595975ed605adb81d9ec90
...@@ -34,6 +34,10 @@ ...@@ -34,6 +34,10 @@
34 border-radius: 6px; 34 border-radius: 6px;
35 } 35 }
36 36
37 +.floatpanel.dialog {
38 + top: 180px;
39 +}
40 +
37 html[data-platform='iPad'] .floatpanel { 41 html[data-platform='iPad'] .floatpanel {
38 top: 80px; 42 top: 80px;
39 } 43 }
......
...@@ -171,7 +171,10 @@ ...@@ -171,7 +171,10 @@
171 } 171 }
172 172
173 angular.module('onosLayer') 173 angular.module('onosLayer')
174 - .factory('PanelService', ['$log', 'FnService', function (_$log_, _fs_) { 174 + .factory('PanelService',
175 + ['$log', '$window', 'FnService',
176 +
177 + function (_$log_, _$window_, _fs_) {
175 $log = _$log_; 178 $log = _$log_;
176 fs = _fs_; 179 fs = _fs_;
177 180
...@@ -210,5 +213,4 @@ ...@@ -210,5 +213,4 @@
210 destroyPanel: destroyPanel 213 destroyPanel: destroyPanel
211 }; 214 };
212 }]); 215 }]);
213 -
214 }()); 216 }());
......
...@@ -26,10 +26,11 @@ ...@@ -26,10 +26,11 @@
26 var $log, $window, $rootScope, fs, ps, bns; 26 var $log, $window, $rootScope, fs, ps, bns;
27 27
28 // constants 28 // constants
29 - var pCls = 'topo-p', 29 + var pCls = 'topo-p dialog',
30 idDialog = 'topo-p-dialog', 30 idDialog = 'topo-p-dialog',
31 panelOpts = { 31 panelOpts = {
32 - width: 300 32 + width: 300,
33 + edge: 'left'
33 }; 34 };
34 35
35 // internal state 36 // internal state
......