mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 21:53:08 +00:00
6cd0cd8e3c
Refactor view switcher to simplify it; treat it as a representation of a domain object that modifies an ng-model. This simplifies reuse, e.g. in frames within a layout. WTD-535.
29 lines
954 B
HTML
29 lines
954 B
HTML
<span>
|
|
<div class="object-browse-bar bar abs">
|
|
|
|
<div class="items-select left abs">
|
|
<mct-representation key="'object-header'" mct-object="domainObject">
|
|
</mct-representation>
|
|
</div>
|
|
|
|
<div class="view-controls sort-controls btn-bar right abs">
|
|
|
|
<mct-representation key="'action-group'"
|
|
mct-object="domainObject"
|
|
parameters="{ category: 'view-control' }">
|
|
</mct-representation>
|
|
|
|
<mct-representation key="'switcher'"
|
|
mct-object="domainObject"
|
|
ng-model="representation">
|
|
</mct-representation>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='object-holder abs vscroll'>
|
|
<mct-representation key="representation.selected.key"
|
|
mct-object="domainObject">
|
|
</mct-representation>
|
|
</div>
|
|
</span> |