openmct/platform/features/layout/res/templates/elements/telemetry.html
Victor Woeltjen 41a013d198 [Fixed Position] Add button to show/hide telemetry name
Add button to show/hide name of telemetry elements in
fixed position view, WTD-881.
2015-02-23 19:25:33 -08:00

10 lines
479 B
HTML

<div ng-style="{ background: ngModel.fill(), border: '1px solid ' + ngModel.stroke(), color: ngModel.color() }"
style="width: 100%; height: 100%;">
<div style="position: absolute; left: 0px; top: 0px; bottom: 0px; width: 50%; overflow: hidden;"
ng-show="ngModel.element.titled">
{{ngModel.name}}
</div>
<div style="position: absolute; right: 0px; top: 0px; bottom: 0px; width: 50%; overflow: hidden;">
{{ngModel.value}}
</div>
</div>