Added imagery timeline view for telemetry sources and placeholder template for displaying historical imagery

This commit is contained in:
Preston Crowe 2017-06-21 12:15:36 -07:00 committed by Pete Richards
parent 2aa2d9d4bb
commit 05290593e9
3 changed files with 39 additions and 2 deletions

View File

@ -30,10 +30,14 @@
<script>
var THIRTY_MINUTES = 30 * 60 * 1000;
require(['openmct'], function (openmct) {
require([
'openmct',
'platform/features/imagery-timeline/bundle'
], function (openmct) {
[
'example/eventGenerator',
'example/styleguide'
'example/styleguide',
'platform/features/imagery-timeline'
].forEach(
openmct.legacyRegistry.enable.bind(openmct.legacyRegistry)
);

View File

@ -0,0 +1,28 @@
define([
'openmct'
], function (
openmct
) {
openmct.legacyRegistry.register("platform/features/imagery-timeline", {
"name" : "Imagery Timeline",
"description": "Provides a timeline view of imagery telemetry.",
"extensions": {
"views": [
{
"name": "Imagery Timeline",
"key": "imagery.timeline",
"cssClass": "icon-image",
"templateUrl": "templates/timeline.html",
"needs": [ "telemetry" ],
"delegation": true
}
],
"stylesheets": [
{
"stylesheetUrl": "css/timeline.css"
}
]
}
})
});

View File

@ -0,0 +1,5 @@
<div class="imagery-timeline">
<img class="timeline-img"
src="https://www.jpl.nasa.gov/images/msl/20140203/pia17931-640.jpg"
ng-repeat="n in [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]">
</div>