[Inspection] Begin decomposing bubble template

WTD-884.
This commit is contained in:
Victor Woeltjen 2015-05-11 10:02:37 -07:00
parent 4c6cad3e77
commit c7b13b70d1
3 changed files with 25 additions and 0 deletions

View File

@ -16,6 +16,14 @@
"type": "infobubble",
"key": "infobubble"
}
],
"containers": [
{
"key": "bubble",
"templateUrl": "bubble.html",
"attributes": [ "bubbleTitle", "bubbleLayout" ],
"alias": "bubble"
}
]
}
}

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

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