Can now retrieve data from database

This commit is contained in:
amazing-username
2017-05-25 19:16:58 -05:00
parent 6fb825de5c
commit 9859f5cadd
9 changed files with 215 additions and 18 deletions
+43
View File
@@ -0,0 +1,43 @@
<html>
<head>
<title>HomeIsWhereTheMoneyIs</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>
<body style="background-color:#eee">
<div class="jumbotron text-center">
<h1>Alright {{ $username }}, here is where you can view bills that you need to pay...</h1>
{!! Form::open(array('action' => 'HomeController@home')) !!}
{{ Form::hidden('username', $username) }}
<p>
{{ Form::button('user Home', array('style' => 'height:40%;width:70%', 'type' => 'submit')) }}
</p>
{!! Form::close() !!}
{!! Form::open(array('action' => 'BillController@createbill')) !!}
{{ Form::hidden('username', $username) }}
<p>
</p>
<ul>
@foreach ($billrecord as $bill)
<li>{{{ $bill->billname }}}<li>
@endforeach
</ul>
<p>
{{ Form::text('billname', '', array('style' => 'height:40%;width:70%')) }}
</p>
<p>
{{ Form::button('Create Bill', array('style' => 'height:40%;width:70%', 'type' => 'submit')) }}
</p>
{!! Form::close() !!}
</div>
</body>
</html>