d
Showing
1 changed file
with
20 additions
and
16 deletions
| 1 | <?php | ||
| 2 | @extends('app') | 1 | @extends('app') |
| 3 | @section('content') | 2 | @section('content') |
| 4 | 3 | ||
| 5 | 4 | <form action="{{route('addentry', [])}}" method="post" enctype="multipart/form-data"> | |
| 6 | |||
| 7 | |||
| 8 | <form action="add" method="post" enctype="multipart/form-data"> | ||
| 9 | <input type="file" name="filefield"> | 5 | <input type="file" name="filefield"> |
| 10 | <input type="submit"> | 6 | <input type="submit"> |
| 11 | </form> | 7 | </form> |
| 12 | 8 | ||
| 13 | <h1> Pictures list</h1> | 9 | <h1> Pictures list</h1> |
| 14 | 10 | ||
| 15 | <div class="row"> | 11 | |
| 16 | 12 | ||
| 17 | <ul> | 13 | <div class="row"> |
| 18 | @foreach($entries as $entry) | 14 | <ul class="thumbnails"> |
| 19 | <li>{{entry->filename}}</li> | 15 | @foreach($entries as $entry) |
| 20 | @endforeach | 16 | <div class="col-md-2"> |
| 21 | </ul> | 17 | <div class="thumbnail"> |
| 22 | </div> | 18 | <img src="{{route('getentry', $entry->filename)}}" alt="ALT NAME" class="img-responsive" /> |
| 19 | <div class="caption"> | ||
| 20 | <p>{{$entry->original_filename}}</p> | ||
| 21 | </div> | ||
| 22 | </div> | ||
| 23 | </div> | ||
| 24 | @endforeach | ||
| 25 | </ul> | ||
| 26 | </div> | ||
| 23 | 27 | ||
| 24 | @endsection | 28 | @endsection |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment