Reversed from flot/plot back to high charts. Cleaned up the index.

This commit is contained in:
James Cole
2014-09-10 20:54:01 +02:00
parent 3068a8d58d
commit 5788db9f07
5 changed files with 310 additions and 52 deletions

View File

@@ -71,14 +71,6 @@ class HomeController extends BaseController
}
}
if (count($transactions) % 2 == 0) {
$transactions = array_chunk($transactions, 2);
} elseif (count($transactions) == 1) {
$transactions = array_chunk($transactions, 3);
} else {
$transactions = array_chunk($transactions, 3);
}
// build the home screen:
return View::make('index')->with('count', $count)->with('transactions', $transactions)->with('title', 'Firefly')
->with('subTitle', 'What\'s playing?');