mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 14:07:50 +00:00
d304cc4343
Bring in scrolling list view from the sandbox branch in preparation for clean up, testing, and integration to complete transition of scrolling list views, WTD-534.
26 lines
1013 B
HTML
26 lines
1013 B
HTML
<div class="w1" ng-controller="TelemetryController as telemetry">
|
|
<!-- Dynamically set height based on number of rows desired. In current CSS, each row occupies 18px -->
|
|
<div class="w2"
|
|
ng-style="{ height: rows.length * 18 + 'px' }"
|
|
ng-controller="ScrollingListController">
|
|
<div class="tabular">
|
|
|
|
<div class="tr header">
|
|
<!-- Enable sorting by binding click handlers to the <em> element in each <th>. Note that CSS classes must be added dynamically to the current <th> that is sorting. For example, if sorting by ID: <div class="th sort asc"> or <div class="th sort desc">. -->
|
|
<div class="th" ng-repeat="header in headers">
|
|
<em>{{header}}</em>{{header}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tr" ng-repeat="row in rows">
|
|
<div class="td" ng-repeat="cell in row">
|
|
{{cell}}
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|