mirror of
https://github.com/nasa/openmct.git
synced 2025-04-13 22:23:13 +00:00
Merge pull request #821 from nasa/show-selected-color
[Control] Color input shows selected color
This commit is contained in:
commit
e87280aa15
@ -27,6 +27,14 @@
|
||||
<span class="l-click-area" ng-click="toggle.toggle()"></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">
|
||||
{{structure.text}}
|
||||
</span>
|
||||
@ -62,4 +70,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user