swap chart and table

This commit is contained in:
Philip Häusler 2015-07-18 21:34:14 +02:00
parent d414c455a2
commit bae55f78fd
1 changed files with 6 additions and 6 deletions

View File

@ -94,11 +94,6 @@ function admin_arrive() {
'actions' => "" 'actions' => ""
), $users_matched), ), $users_matched),
heading(_("Arrival statistics"), 2), heading(_("Arrival statistics"), 2),
table(array(
'day' => _("Date"),
'count' => _("arrived"),
'sum' => _("arrived sum")
), $arrival_count),
'<canvas id="daily_arrives" style="width: 100%; height: 300px;"></canvas> '<canvas id="daily_arrives" style="width: 100%; height: 300px;"></canvas>
<script type="text/javascript"> <script type="text/javascript">
$(function(){ $(function(){
@ -119,7 +114,12 @@ function admin_arrive() {
) )
)) . ', {"responsive": true}); )) . ', {"responsive": true});
}); });
</script>' </script>',
table(array(
'day' => _("Date"),
'count' => _("arrived"),
'sum' => _("arrived sum")
), $arrival_count)
)); ));
} }
?> ?>