mirror of
https://github.com/nasa/openmct.git
synced 2025-05-06 18:48:27 +00:00
[Info Bubble] Continue breaking down templates
WTD-884.
This commit is contained in:
parent
c7b13b70d1
commit
ac8fbb289e
@ -17,6 +17,16 @@
|
|||||||
"key": "infobubble"
|
"key": "infobubble"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"templates": [
|
||||||
|
{
|
||||||
|
"key": "info-table",
|
||||||
|
"templateUrl": "info-table.html"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "info-bubble",
|
||||||
|
"templateUrl": "info-bubble.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
"containers": [
|
"containers": [
|
||||||
{
|
{
|
||||||
"key": "bubble",
|
"key": "bubble",
|
||||||
|
7
platform/commonUI/inspect/res/info-bubble.html
Normal file
7
platform/commonUI/inspect/res/info-bubble.html
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<mct-container key="bubble"
|
||||||
|
bubble-title="{{parameters.title}}"
|
||||||
|
bubble-layout="{{parameters.layout}}">
|
||||||
|
<mct-include key="info-table"
|
||||||
|
ng-model="ngModel">
|
||||||
|
</mct-include>
|
||||||
|
</mct-container>
|
@ -1,5 +1,5 @@
|
|||||||
<table>
|
<table>
|
||||||
<tr ng-repeat="property in parameters">
|
<tr ng-repeat="property in ngModel">
|
||||||
<td class="label">{{property.name}}</td>
|
<td class="label">{{property.name}}</td>
|
||||||
<td title="{{property.value}}" class="value align-{{property.align}}">
|
<td title="{{property.value}}" class="value align-{{property.align}}">
|
||||||
{{property.value}}
|
{{property.value}}
|
Loading…
x
Reference in New Issue
Block a user