diff --git a/app/Http/Controllers/BillController.php b/app/Http/Controllers/BillController.php
index 6e9e659..659a334 100644
--- a/app/Http/Controllers/BillController.php
+++ b/app/Http/Controllers/BillController.php
@@ -134,8 +134,6 @@ class BillController extends Controller
$responsibleid = DB::table('responsible')->where('owner', $stuff->input('username'))->pluck('id');
$count = $amountpaids->count();
- echo $count . "
";
-
return view('manage', ['username' => $stuff->input('username'), 'message' => ''])->with('test', $test)->with('users', $users)->with('payer', $payer)->with('bills', $bills)->with('amountpaids', $amountpaids)->with('totals', $totals)->with('responsibleid', $responsibleid)->with('count', $count);
}
public function view(Request $stuff)
diff --git a/public/css/scc.css b/public/css/scc.css
new file mode 100644
index 0000000..9373e49
--- /dev/null
+++ b/public/css/scc.css
@@ -0,0 +1,178 @@
+body {
+ background-color: #cce6ff;
+
+}
+table {
+ font-size: 300%;
+ width: 100%;
+}
+div.logomaxipad {
+ background-color: #dedede;
+ text-align: center;
+ font-size: 100%;
+ height: 15%;
+}
+div.maincontentarea {
+
+ background-color: inherit;
+}
+div.paycheckcalculatorresults {
+ background-color: orange;
+}
+div.addpeoplesection {
+ background-color: #e6e6e6;
+}
+div.managebill {
+ background-color: #a6a6a6;
+}
+div.debtors {
+ background-color: #666666;
+}
+h1 {
+ font-size: 1000%;
+}
+button {
+ border: transparent;
+ height: 30%;
+ width: 90%;
+ font-size: 500%;
+}
+button.createsection {
+ background-color: #33ffff;
+ color: #ffffff;
+ font-size: 500%;
+}
+button.managesection {
+ background-color: #33ffff;
+ color: #ffffff;
+ font-size: 500%;
+}
+button.viewsection {
+ background-color: #33ffff;
+ color: #ffffff;
+ font-size: 500%;
+}
+button.loginmaxipad {
+ background-color: aqua;
+ color: white;
+}
+button.registermaxipad {
+ background-color: #33ffff;
+ color: white;
+}
+button.paycheckcalculator {
+ background-color: #66ffff;
+ color: white;
+ width: 90%;
+ height: 40%;
+ font-size: 700%;
+}
+button.paycheckcalculatoraction {
+ background-color: #66ffff;
+ color: white;
+ width: 70%;
+ height: 25%;
+ font-size: 600%;
+}
+button.userhome {
+ height: 15%;
+ width: 100%;
+ font-size: 500%;
+ background-color: #0000ff;
+ color: #99ccff;
+}
+button.createbill {
+ background-color: #66ffff;
+ color: #ffffff;
+ width: 70%;
+}
+button.createbillmonthamount {
+ font-size: 250%;
+ background-color: #66ffff;
+ color: #ffffff;
+ width: 70%;
+ height: 25%;
+}
+button.addpeople {
+ background-color: #66ffff;
+ color: #ffffff;
+ font-size: 450%;
+ width: 70%;
+ height: 25%;
+}
+button.managebill {
+ background-color: #66ffff;
+ color: #ffffff;
+ font-size: 450%;
+ width: 70%;
+ height: 25%;
+}
+button.viewdebtors {
+ background-color: #66ffff;
+ color: #ffffff;
+ font-size: 450%;
+ width: 70%;
+ height: 25%;
+}
+button.viewdebts {
+ background-color: #66ffff;
+ color: #ffffff;
+ font-size: 450%;
+ width: 70%;
+ height: 25%;
+}
+h1.logomaxipad {
+ background-color: #0000ff;
+ color: #99ccff;
+ text-align: center;
+}
+h1.sectiontitle {
+ font-size: 650%;
+}
+h1.loginmaxipad {
+ font-size: 700%;
+}
+h1.registermaxipad {
+ font-size: 700%;
+}
+h1.addbillmonthsection {
+ background-color: white;
+}
+h1.addpeoplesection {
+ background-color: #e6e6e6;
+}
+label {
+ font-size: 500%;
+}
+input {
+ width: 70%;
+ height: 20%;
+ font-size: 450%;
+}
+table.paycheckcalculator {
+
+}
+select {
+ width: 70%;
+ height: 20%;
+ font-size: 450%;
+}
+select.registeraccounttype {
+ width: 70%;
+ height: 20%;
+ font-size: 450%;
+}
+input.registeraccount {
+ width: 70%;
+ border: transparent;
+ background-color: #66ffff;
+ color: #ffffff;
+ font-size: 500%;
+}
+input.loginaccount {
+ width: 70%;
+ border: transparent;
+ background-color: #66ffff;
+ color: #ffffff;
+ font-size: 500%;
+}
diff --git a/resources/views/createbill.blade.php b/resources/views/createbill.blade.php
index c11f8cb..22519fe 100644
--- a/resources/views/createbill.blade.php
+++ b/resources/views/createbill.blade.php
@@ -9,31 +9,32 @@
+
-
-
- {{ Form::label('lbl', 'bill name', array('style' => 'font-size:500%')) }} + {{ Form::label('lbl', 'bill name') }}
- {{ Form::text('billname', '', array('style' => 'width:70%;height:15%;font-size:500%')) }} + {{ Form::text('billname', '') }}
- {{ Form::button('Create Bill', array('style' => 'height:20%;width:70%;font-size:500%', 'type' => 'submit')) }} + {{ Form::button('Create Bill', array('class' => 'createbill', 'type' => 'submit')) }}
{!! Form::close() !!}
- {{ Form::label("usernamelabel", 'username', array('style' => 'width:50%;height:20%;font-size:500%')) }}
+ {{ Form::label("usernamelabel", 'username') }}
- {{ Form::text("username", '', array('style' => 'width:70%;height:15%;font-size:500%')) }}
+ {{ Form::text("username", '') }}
- {{ Form::label("passwordlabel", 'password', array('style' => 'width:50%;height:20%;font-size:500%')) }}
+ {{ Form::label("passwordlabel", 'password') }}
- {{ Form::password("password", array('style' => 'width:70%;height:15%;font-size:500%')) }}
+ {{ Form::password("password") }}
- {{ Form::submit("Login", array('style' => 'width:70%;height:25%;font-size:500%')) }}
+ {{ Form::submit("Login", array('class' => 'loginaccount')) }}
-
-
- {{ Form::label('datelabel', "enter date in yyyymm", array('style' => 'font-size:500%')) }} + {{ Form::label('datelabel', "enter date in yyyymm") }}
- {{ Form::text('date', '', array('style' => 'width:70%;height:15%;font-size:500%')) }} + {{ Form::text('date', '') }}
- {{ Form::label('totallabel', 'total bill amount', array('style' => 'font-size:500%')) }} + {{ Form::label('totallabel', 'total bill amount') }}
- {{ Form::text('total', '', array('style' => 'width:70%;height:15%;font-size:500%')) }} + {{ Form::text('total', '') }}
- {{ Form::label('eachlabel', 'how many people', array('style' => 'font-size:500%')) }} + {{ Form::label('eachlabel', 'how many people') }}
- {{ Form::text('each', '', array('style' => 'width:70%;height:15%;font-size:500%')) }} + {{ Form::text('each', '') }}
- {{ Form::button('add bill', array('style' => 'height:30%;width:70%;font-size:500%', 'type' => 'submit')) }} + {{ Form::button('add bill', array('class' => 'createbillmonthamount', 'type' => 'submit')) }} +
-
{{ Form::text('amountpaid') }}
- {{ Form::button('add payer', array('style' => '', 'type' => 'submit')) }}
+ {{ Form::button('add payer', array('class' => 'addpeople', 'type' => 'submit')) }}
+
- {{ Form::button('update payer', array('style' => '', 'type' => 'submit')) }}
+ {{ Form::button('update payer', array('class' => 'managebill', 'type' => 'submit')) }}
+
- {{ Form::button('check', array('style' => '', 'type' => 'submit')) }} + {{ Form::button('check', array('class' => 'viewdebtors', 'type' => 'submit')) }}
{!! Form::close() !!} {{ $empt = isset($payer) }} @@ -200,7 +178,7 @@ height: 30%; nothing @endif @if ($empt) -| Payer | Billname | diff --git a/resources/views/paycheck.blade.php b/resources/views/paycheck.blade.php index 58fd0d1..b197db7 100644 --- a/resources/views/paycheck.blade.php +++ b/resources/views/paycheck.blade.php @@ -9,41 +9,14 @@ - - + - -
- {{ Form::label('firstnamelabel', 'first name', array('style' => 'width:60%;height:20%;font-size:500%')) }}
+ {{ Form::label('firstnamelabel', 'first name') }}
- {{ Form::text('firstname', '', array('style' => 'width:70%;height:15%;font-size:500%')) }}
+ {{ Form::text('firstname', '') }}
- {{ Form::label('lastnamelabel', 'last name', array('style' => 'width:60%;height:20%;font-size:500%')) }}
+ {{ Form::label('lastnamelabel', 'last name') }}
- {{ Form::text('lastname', '', array('style' => 'width:70%;height:15%;font-size:500%')) }}
+ {{ Form::text('lastname', '') }}
- {{ Form::label('usernamelabel', 'username', array('style' => 'width:60%;height:20%;font-size:500%')) }}
+ {{ Form::label('usernamelabel', 'username') }}
- {{ Form::text('username', '', array('style' => 'width:70%;height:15%;font-size:500%')) }}
+ {{ Form::text('username', '') }}
- {{ Form::label('passwordlabel', 'password', array('style' => 'width:60%;height:20%;font-size:500%')) }}
+ {{ Form::label('passwordlabel', 'password') }}
- {{ Form::password('password', array('style' => 'width:70%;height:15%;font-size:500%')) }}
+ {{ Form::password('password') }}
- {{ Form::label('confirmlabel', 'confirm', array('style' => 'width:60%;height:20%;font-size:500%')) }}
+ {{ Form::label('confirmlabel', 'confirm') }}
- {{ Form::password('confirm', array('style' => 'width:70%;height:15%;font-size:500%')) }}
+ {{ Form::password('confirm') }}
- {{ Form::label('roomlabel', 'room', array('style' => 'width:60%;height:20%;font-size:500%')) }}
+ {{ Form::label('roomlabel', 'room') }}
-
- {{ Form::submit('register me', array('style' => 'width:70%;height:25%;font-size:500%')) }}
+ {{ Form::submit('register me', array('class' => 'registeraccount')) }}
- {{ Form::button('create', array('style' => 'height:30%;width:80%;font-size:800%', 'type' => 'submit')) }} + {{ Form::button('create', array('class' => 'createsection', 'type' => 'submit')) }}
{!! Form::close() !!} {!! Form::open(array('action' => 'BillController@manage')) !!} {{ Form::hidden('username', $username) }}- {{ Form::button('mange', array('style' => 'height:30%;width:80%;font-size:800%', 'type' => 'submit')) }} + {{ Form::button('mange', array('class' => 'managesection', 'type' => 'submit')) }}
{!! Form::close() !!} {!! Form::open(array('action' => 'BillController@view')) !!} {{ Form::hidden('username', $username) }}- {{ Form::button('view', array('style' => 'height:30%;width:80%;font-size:800%', 'type' => 'submit')) }} + {{ Form::button('view', array('class' => 'viewsection', 'type' => 'submit')) }}
{!! Form::close() !!}-
- {{ Form::button('view bills', array('style' => 'height:30%;width:70%', 'type' => 'submit')) }} + {{ Form::button('view bills', array('class' => 'viewdebts', 'type' => 'submit')) }}
{!! Form::close() !!}| bill name | amount paid |
|---|