From 04395999711cf7470ed074c8b8e1950fb1c2e43d Mon Sep 17 00:00:00 2001 From: James Cole Date: Tue, 3 Mar 2015 09:15:28 +0100 Subject: [PATCH] Layout update. --- resources/views/piggy-banks/index.blade.php | 85 ++++++++++++--------- 1 file changed, 50 insertions(+), 35 deletions(-) diff --git a/resources/views/piggy-banks/index.blade.php b/resources/views/piggy-banks/index.blade.php index 6457513596..34a02bf2e2 100644 --- a/resources/views/piggy-banks/index.blade.php +++ b/resources/views/piggy-banks/index.blade.php @@ -8,9 +8,9 @@

-@foreach($piggyBanks as $piggyBank)
-
+@foreach($piggyBanks as $piggyBank) +
{{{$piggyBank->name}}} @@ -32,56 +32,73 @@
- -
-
- @if($piggyBank->leftToSave > 0) - - @endif - -
+ +
+
- -
-
- - -
-
- -
- {!! Amount::format($piggyBank->savedSoFar,true) !!} -
- -
+ +
percentage == 100) - class="progress-bar progress-bar-success" - @else - class="progress-bar progress-bar-info" - @endif - role="progressbar" aria-valuenow="{{$piggyBank->percentage}}" aria-valuemin="0" aria-valuemax="100" style="min-width: 40px;width: {{$piggyBank->percentage}}%;"> + class="progress-bar progress-bar-success" + @else + class="progress-bar progress-bar-info" + @endif + role="progressbar" aria-valuenow="{{$piggyBank->percentage}}" aria-valuemin="0" aria-valuemax="100" style="min-width: 40px;width: {{$piggyBank->percentage}}%;"> {{$piggyBank->percentage}}%
- -
- {!! Amount::format($piggyBank->targetamount,true) !!} + + + +
+ @if($piggyBank->leftToSave > 0) + + @endif +
+ + + + -
+ + + + + + + +
+
+
+ {!! Amount::format($piggyBank->savedSoFar,true) !!} +
+
+ {!! Amount::format($piggyBank->targetamount,true) !!} +
+
+ @if($piggyBank->leftToSave > 0) + {!! Amount::format($piggyBank->leftToSave) !!} + @endif
-
@endforeach +
+

@@ -96,7 +113,6 @@

Account status
-
@@ -117,7 +133,6 @@ @endforeach
Account
-