mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 01:42:31 +00:00
[Inspection] Begin decomposing bubble template
WTD-884.
This commit is contained in:
parent
4c6cad3e77
commit
c7b13b70d1
@ -16,6 +16,14 @@
|
||||
"type": "infobubble",
|
||||
"key": "infobubble"
|
||||
}
|
||||
],
|
||||
"containers": [
|
||||
{
|
||||
"key": "bubble",
|
||||
"templateUrl": "bubble.html",
|
||||
"attributes": [ "bubbleTitle", "bubbleLayout" ],
|
||||
"alias": "bubble"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
9
platform/commonUI/inspect/res/bubble.html
Normal file
9
platform/commonUI/inspect/res/bubble.html
Normal file
@ -0,0 +1,9 @@
|
||||
<div class="t-infobubble s-infobubble l-infobubble-wrapper {{bubble.bubbleLayout}}">
|
||||
<div class="l-infobubble">
|
||||
<div ng-show="bubble.mctTitle.length > 0"
|
||||
class="title">
|
||||
{{bubble.bubbleTitle}}
|
||||
</div>
|
||||
<ng-transclude></ng-transclude>
|
||||
</div>
|
||||
</div>
|
8
platform/commonUI/inspect/res/table.html
Normal file
8
platform/commonUI/inspect/res/table.html
Normal file
@ -0,0 +1,8 @@
|
||||
<table>
|
||||
<tr ng-repeat="property in parameters">
|
||||
<td class="label">{{property.name}}</td>
|
||||
<td title="{{property.value}}" class="value align-{{property.align}}">
|
||||
{{property.value}}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
Loading…
x
Reference in New Issue
Block a user