Commit 511c36dd by Palti Sinaga

12

parent 4f1d49ba
......@@ -20,67 +20,18 @@
@endif
</div>
<div class="box-body">
<table id="tabel1" class="table table-bordered table-hover">
<thead>
<tr>
<th>Nama</th>
<th>Username</th>
<th>Email</th>
<th></th>
<th></th>
<!--<th></th>-->
</tr>
</thead>
@foreach($data as $a)
<tbody>
<tr>
<td>{{$a->name}}</td>
<td>{{$a->username}}</td>
<td>{{$a->email}}</td>
<td>
<form action="{{url('rincianpemilik/'.$a->id)}}">
<input type="submit" value="Rincian" class="btn btn-warning">
</form>
</td>
<td>
<form action="{{url('ownerr/'.$a->id)}}">
<input type="submit" value="Perbaharui" class="btn btn-success">
</form>
</td>
<!-- <td> <a href="{{url('ownerprofil/'.$a->id)}}" class="btn btn-primary"><i class="glyphicon glyphicon-edit"></i> </a></td> -->
</tr>
</tbody>
@endforeach
</table>
<table id="example2" class="table table-bordered table-hover">
<thead>
<tr>
<th>Rendering engine</th>
<th>Browser</th>
<th>Platform(s)</th>
<th>Engine version</th>
<th>CSS grade</th>
<th>Nama Lengkap</th>
<th>Username</th>
<th>Email(s)</th>
<th >Engine version</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
@foreach($data as $b)
<td>{{$a->name}}</td>
<td>Explorer 4.0
</td>
<td>Win 95+</td>
<td> 4</td>
<td>X</td>
@endforeach
</tr>
</tbody>
<tfoot>
@foreach($data as $a)
<tr>
<td>{{$a->name}}</td>
<td>{{$a->username}}</td>
......@@ -97,10 +48,13 @@
</td>
<!-- <td> <a href="{{url('ownerprofil/'.$a->id)}}" class="btn btn-primary"><i class="glyphicon glyphicon-edit"></i> </a></td> -->
</tr>
</tfoot>
@endforeach
</tbody>
</table>
</div>
</div>
<script>
$(function () {
$("#example1").DataTable();
......
......@@ -40,6 +40,17 @@
</div>
<div class="form-group">
<label>Username</label>
<div class="input-group">
<div class="input-group-addon">
<i class="fa fa-bookmark"></i>
</div>
<input type="text" name="username" class="form-control" placeholder="Username" value="{{$data->username}}">
</div>
</div>
<div class="form-group">
<label> Alamat </label>
<div class="input-group">
<div class="input-group-addon">
......@@ -79,23 +90,16 @@
</div>
</div>
<div class="form-group">
<label>Username</label>
<div class="input-group">
<div class="input-group-addon">
<input type="text" name="username" class="form-control" placeholder="Username">
</div>
</div>
</div>
<div class="form-group">
<!-- <div class="form-group">
<label>Password</label>
<div class="input-group">
<div class="input-group-addon">
<input type="password" name="password" class="form-control" placeholder="Password">
</div>
</div>
</div>
</div> -->
<div class="form-group" align="right" style="color: black;">
<button type="submit" class="btn btn-primary ">Update</button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment