SHOW:
|
|
- or go back to the newest paste.
1 | <!DOCTYPE html> | |
2 | <html> | |
3 | <head> | |
4 | <meta charset="utf-8"> | |
5 | <title>Proyek</title> | |
6 | <style> | |
7 | ||
8 | #proyek { | |
9 | font-family: Arial, Helvetica, sans-serif; | |
10 | border-collapse: collapse; | |
11 | margin: 50px auto; | |
12 | } | |
13 | #proyek th{ | |
14 | padding: 12px 20px; | |
15 | text-align: left; | |
16 | } | |
17 | </style> | |
18 | </head> | |
19 | <body> | |
20 | <table id="proyek"> | |
21 | <thead> | |
22 | <tr> | |
23 | <th colspan="2"> | |
24 | {{ $data->name }} | |
25 | </th> | |
26 | </tr> | |
27 | </thead> | |
28 | <tbody> | |
29 | @foreach ($detail as $dtl) | |
30 | <tr> | |
31 | <td> | |
32 | - | <img src="{{ storage_path(('app/storage/file_proyeks/'.$dtl->photo_proyek))}}" alt="photo" width="200px"> |
32 | + | <img src="{{ storage_path('file_proyeks'. DIRECTORY_SEPARATOR . $dtl->photo_proyek) }}" alt="photo" width="200px"> |
33 | </td> | |
34 | <td>{{ $dtl->deskripsi_proyek }}</td> | |
35 | </tr> | |
36 | @endforeach | |
37 | </tbody> | |
38 | </table> | |
39 | </body> | |
40 | </html> | |
41 |