Skip to content

Firefly III: a personal finances manager

Place holder for reports.

James Cole78e80530d3f4
diff --git a/app/controllers/ReportController.php b/app/controllers/ReportController.php
index d8dad8db18..a313d89564 100644
--- a/app/controllers/ReportController.php
+++ b/app/controllers/ReportController.php
@@ -12,7 +12,7 @@ class ReportController extends BaseController
*/
public function index()
{
-
+ return View::make('reports.index')->with('title','Reports')->with('mainTitleIcon','fa-line-chart');
}
}
\ No newline at end of file
diff --git a/app/views/partials/menu.blade.php b/app/views/partials/menu.blade.php
index 77f0ec1940..8bbbbae2bc 100644
--- a/app/views/partials/menu.blade.php
+++ b/app/views/partials/menu.blade.php
@@ -137,8 +137,12 @@
<li>
<a href="#"><i class="fa fa-tags fa-fw"></i> Tags</a>
</li>
- <li>
- <a href="#"><i class="fa fa-line-chart fa-fw"></i> Reports</a>
+ <li
+ @if(!(strpos($r,'reports') === false))
+ class="active"
+ @endif
+ >
+ <a href="{{route('reports.index')}}"><i class="fa fa-line-chart fa-fw"></i> Reports</a>
</li>
<li
@if(
diff --git a/app/views/reports/index.blade.php b/app/views/reports/index.blade.php
new file mode 100644
index 0000000000..ff79240f6f
--- /dev/null
+++ b/app/views/reports/index.blade.php
@@ -0,0 +1,10 @@
+@extends('layouts.default')
+@section('content')
+<div class="row">
+ <div class="col-lg-12 col-md-12 col-sm-12">
+ <p>
+ Here be content.
+ </p>
+ </div>
+</div>
+@stop
\ No newline at end of file