diff --git a/platform/features/timeline/bundle.js b/platform/features/timeline/bundle.js index eec6113054..b97d80adc7 100644 --- a/platform/features/timeline/bundle.js +++ b/platform/features/timeline/bundle.js @@ -38,6 +38,7 @@ define([ "./src/capabilities/CostCapability", "./src/directives/MCTSwimlaneDrop", "./src/directives/MCTSwimlaneDrag", + "./src/directives/MCTResourceGraphDrop", "./src/services/ObjectLoader", "./src/chart/MCTTimelineChart", "text!./res/templates/values.html", @@ -69,6 +70,7 @@ define([ CostCapability, MCTSwimlaneDrop, MCTSwimlaneDrag, + MCTResourceGraphDrop, ObjectLoader, MCTTimelineChart, valuesTemplate, @@ -577,6 +579,13 @@ define([ "$interval", "$log" ] + }, + { + "key": "mctResourceGraphDrop", + "implementation": MCTResourceGraphDrop, + "depends": [ + "dndService" + ] } ], "services": [ diff --git a/platform/features/timeline/res/sass/_timelines.scss b/platform/features/timeline/res/sass/_timelines.scss index 0ad22dba21..06e3492f2c 100644 --- a/platform/features/timeline/res/sass/_timelines.scss +++ b/platform/features/timeline/res/sass/_timelines.scss @@ -38,6 +38,10 @@ .l-timeline-pane { @include absPosDefault(); + &.drop-over { + background-color: lighten($colorEditAreaBg, 5%); + } + .l-width-control { position: relative; } diff --git a/platform/features/timeline/res/templates/timeline.html b/platform/features/timeline/res/templates/timeline.html index af71962bca..8f92c7a1dc 100644 --- a/platform/features/timeline/res/templates/timeline.html +++ b/platform/features/timeline/res/templates/timeline.html @@ -77,7 +77,8 @@ -
+
{{ngModel.title}}Resource Graph Legend