silverstripe-reports/templates/Includes/StatisticsAdmin_right.ss
Ingo Schommer 1b5c8ee6a8 qhoxie: basics of tabular data for stats
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41923 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 20:23:50 +00:00

32 lines
704 B
Scheme

<!-- <div class="title"><div>Statistics</div></div> -->
<% if EditForm %>
$EditForm
<% else %>
<form id="Form_EditForm" action="" method="post" enctype="multipart/form-data">
<p>Total users: $UserCount</p>
<% if UserTableRecords %>
<table class="sortable statstable" cellspacing="0">
<thead>
<tr><th class="nobg"></th><th>Email</th><th>Type</th></tr>
</thead>
<tbody>
<% control UserTableRecords %>
<tr><td class="id">$Iteration</td><td>$Email</td><td>$ClassName</td></tr>
<% end_control %>
</tbody>
</table>
<% else %>
<p>No tabular data available!</p>
<% end_if %>
</form>
<% end_if %>
<p id="statusMessage" style="visibility:hidden"></p>