mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 14:18:16 +00:00
Merge pull request #821 from nasa/show-selected-color
[Control] Color input shows selected color
This commit is contained in:
@ -27,6 +27,14 @@
|
|||||||
<span class="l-click-area" ng-click="toggle.toggle()"></span>
|
<span class="l-click-area" ng-click="toggle.toggle()"></span>
|
||||||
|
|
||||||
<span class="ui-symbol icon">{{structure.glyph}}</span>
|
<span class="ui-symbol icon">{{structure.glyph}}</span>
|
||||||
|
<span ng-style="{
|
||||||
|
background: ngModel[field],
|
||||||
|
display: 'inline-block',
|
||||||
|
height: '11px',
|
||||||
|
width: '11px',
|
||||||
|
}"
|
||||||
|
ng-show="ngModel[field]">
|
||||||
|
</span>
|
||||||
<span class="title-label" ng-if="structure.text">
|
<span class="title-label" ng-if="structure.text">
|
||||||
{{structure.text}}
|
{{structure.text}}
|
||||||
</span>
|
</span>
|
||||||
|
Reference in New Issue
Block a user