mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 06:52:24 +00:00
448b535de0
WTD-610 CSS and markup mods principally focused on selects, checkboxes and composite controls; Cleaned up positioning and formatting in .l-result area of query form bottom; Removed display of view type when only a single view available for an object in switcher.html Conflicts: platform/commonUI/general/res/css/theme-espresso.css vista/query/res/templates/channel-query.html vista/query/res/templates/channel-selector.html vista/query/res/templates/evr-query.html
34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
<span ng-controller="ViewSwitcherController">
|
|
|
|
<div class="menu-element btn icon-btn very-subtle btn-menu dropdown click-invoke"
|
|
ng-if="view.length > 1"
|
|
ng-controller="ClickAwayController as toggle">
|
|
|
|
<span ng-click="toggle.toggle()">
|
|
<span class="ui-symbol icon type-icon">{{ngModel.selected.glyph}}</span>
|
|
<span>{{ngModel.selected.name}}</span>
|
|
<span class='ui-symbol icon invoke-menu'>v</span>
|
|
</span>
|
|
|
|
<div class="menu dropdown" ng-show="toggle.isActive()">
|
|
<ul>
|
|
<li ng-repeat="option in view">
|
|
<a href="" ng-click="ngModel.selected = option; toggle.setState(false)">
|
|
<span class="ui-symbol type-icon icon">
|
|
{{option.glyph}}
|
|
</span>
|
|
{{option.name}}
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- CH commented out 2/24/15 - really don't think we need this. Single view is what it is. -->
|
|
<!--span class="btn"
|
|
ng-if="view.length === 1">
|
|
<span class="ui-symbol icon type-icon">{{ngModel.selected.glyph}}</span>
|
|
<span>{{ngModel.selected.name}}</span>
|
|
</span-->
|
|
|
|
</span> |