Open topic with navigation

TIBCO® Enterprise Administrator 2.4.2

# 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

The following types are supported:

- fixed: If a directive is set to be fixed, you cannot resize or collapse the panel.
- titleLink: This attribute makes the title of a panel a hyperlink. You can provide the link in the value of the attribute.

Nested Directives

This directive supports the nested directive teaPanelActions.

    <tea-panel-actions>
        <a class="tea-action-btn" ng-click="openOperation('registerAgent')">Register</a>
    </tea-panel-actions>

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO® Enterprise Administrator

Copyright © 1996-2025. Cloud Software Group, Inc. All Rights Reserved.