mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 01:42:31 +00:00
Updated modes
This commit is contained in:
parent
0017b77439
commit
11caa8396a
@ -22,8 +22,8 @@
|
||||
<div class="contents">
|
||||
<div class="pane left menu-items">
|
||||
<ul>
|
||||
<li ng-repeat="option in ngModel.options"
|
||||
ng-click="ngModel.selected=option.key">
|
||||
<li ng-repeat="(selected, option) in ngModel.options"
|
||||
ng-click="ngModel.selected=selected">
|
||||
<a
|
||||
ng-mouseover="representation.activeMetadata = option"
|
||||
ng-mouseleave="representation.activeMetadata = undefined">
|
||||
|
@ -39,7 +39,7 @@
|
||||
<span ng-controller="ClickAwayController as modeController">
|
||||
<div class="s-menu-btn"
|
||||
ng-click="modeController.toggle()">
|
||||
<span class="title-label">{{ngModel.selected}}</span>
|
||||
<span class="title-label">{{ngModel.options[ngModel.selected].label}}</span>
|
||||
</div>
|
||||
<div class="menu super-menu mini mode-selector-menu"
|
||||
ng-show="modeController.isActive()">
|
||||
|
@ -62,26 +62,26 @@ define(
|
||||
|
||||
$scope.modeModel = {
|
||||
selected: 'fixed',
|
||||
options: [
|
||||
{
|
||||
key: 'fixed',
|
||||
options: {
|
||||
'fixed': {
|
||||
glyph: '\ue604',
|
||||
label: 'Fixed',
|
||||
name: 'Fixed Timespan Mode',
|
||||
description: 'Query and explore data that falls between two fixed datetimes.'
|
||||
},
|
||||
{
|
||||
key: 'realtime',
|
||||
'realtime': {
|
||||
glyph: '\u0043',
|
||||
label: 'Real-time',
|
||||
name: 'Real-time Mode',
|
||||
description: 'Monitor real-time streaming data as it comes in. The Time Conductor and displays will automatically advance themselves based on a UTC clock.'
|
||||
},
|
||||
{
|
||||
key: 'latest',
|
||||
'latest': {
|
||||
glyph: '\u0044',
|
||||
label: 'Latest',
|
||||
name: 'Latest Available Data Mode',
|
||||
description: 'Monitor real-time streaming data as it comes in. The Time Conductor and displays will only advance when data becomes available.'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user