mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 09:41:36 +02:00
25 lines
656 B
Scheme
25 lines
656 B
Scheme
<% require css(sapphire/thirdparty/jquery-ui-themes/smoothness/jquery-ui.css) %>
|
|
<% require css(sapphire/css/DataGrid.css) %>
|
|
|
|
<div class="ss-datagrid ui-state-default">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<% control Headers %>
|
|
<th class="<% if FirstLast %>ss-datagrid-{$FirstLast}<% end_if %><% if IsSortable %> ss-datagrid-sortable<% end_if %><% if IsSorted %> ss-datagrid-sorted ss-datagrid-{$SortedDirection}<% end_if %>">
|
|
$Title <span class="ui-icon"></span></th>
|
|
<% end_control %>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<% control Items %>
|
|
<% include DataGrid_Item %>
|
|
<% end_control %>
|
|
</tbody>
|
|
|
|
<tfoot>
|
|
|
|
</tfoot>
|
|
</table>
|
|
</div> |