Commit 511c36dd by Palti Sinaga

12

parent 4f1d49ba
...@@ -20,67 +20,18 @@ ...@@ -20,67 +20,18 @@
@endif @endif
</div> </div>
<div class="box-body"> <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"> <table id="example2" class="table table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<th>Rendering engine</th> <th>Nama Lengkap</th>
<th>Browser</th> <th>Username</th>
<th>Platform(s)</th> <th>Email(s)</th>
<th>Engine version</th> <th >Engine version</th>
<th>CSS grade</th> <th></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> @foreach($data as $a)
@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>
<tr> <tr>
<td>{{$a->name}}</td> <td>{{$a->name}}</td>
<td>{{$a->username}}</td> <td>{{$a->username}}</td>
...@@ -97,10 +48,13 @@ ...@@ -97,10 +48,13 @@
</td> </td>
<!-- <td> <a href="{{url('ownerprofil/'.$a->id)}}" class="btn btn-primary"><i class="glyphicon glyphicon-edit"></i> </a></td> --> <!-- <td> <a href="{{url('ownerprofil/'.$a->id)}}" class="btn btn-primary"><i class="glyphicon glyphicon-edit"></i> </a></td> -->
</tr> </tr>
</tfoot> @endforeach
</tbody>
</table> </table>
</div> </div>
</div> </div>
<script> <script>
$(function () { $(function () {
$("#example1").DataTable(); $("#example1").DataTable();
......
...@@ -40,6 +40,17 @@ ...@@ -40,6 +40,17 @@
</div> </div>
<div class="form-group"> <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> <label> Alamat </label>
<div class="input-group"> <div class="input-group">
<div class="input-group-addon"> <div class="input-group-addon">
...@@ -79,23 +90,16 @@ ...@@ -79,23 +90,16 @@
</div> </div>
</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> <label>Password</label>
<div class="input-group"> <div class="input-group">
<div class="input-group-addon"> <div class="input-group-addon">
<input type="password" name="password" class="form-control" placeholder="Password"> <input type="password" name="password" class="form-control" placeholder="Password">
</div> </div>
</div> </div>
</div> </div> -->
<div class="form-group" align="right" style="color: black;"> <div class="form-group" align="right" style="color: black;">
<button type="submit" class="btn btn-primary ">Update</button> <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