[Info Bubble] Continue breaking down templates

WTD-884.
This commit is contained in:
Victor Woeltjen 2015-05-21 21:25:50 -07:00
parent c7b13b70d1
commit ac8fbb289e
3 changed files with 18 additions and 1 deletions

View File

@ -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",

View 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>

View File

@ -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}}