teaPanel
This is a directive available under tea.directives. The teaPanel builds a custom panel using the nested elements as panel content.
Usage
<tea-panel class="span7" title="'Tomcat'" name="'Web Application'">
<table class="tea-table">
<thead>
<tr>
<th>Name</th>
<th>Url</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="webapp in webapps">
<td class="highlight"><a ng-click="goto(webapp)">{{webapp.name}}</a></td>
<td>{{webapp.config.path}}</td>
<td class="status"
ng-class="webapp.status.state == 'RUNNING' |conditional:'tea-status-ok':'tea-status-error'">
{{webapp.status.state|lowercase}}
</td>
</tr>
</tbody>
</table>
</tea-panel>
Directive Details
The directive creates a new scope.
Customization
Nested DirectivesThis directive supports the nested directive teaPanelActions.
<tea-panel-actions>
<a class="tea-action-btn" ng-click="openOperation('registerAgent')">Register</a>
</tea-panel-actions>
Copyright © Cloud Software Group, Inc. All Rights Reserved.