update
parent
b6c0920637
commit
1231f8cbee
|
|
@ -1749,7 +1749,10 @@ if (!function_exists('formKriteria')) {
|
||||||
if(@$checkFile){
|
if(@$checkFile){
|
||||||
$html .= '<div class="mb-3 file-item d-flex justify-content-between align-items-center">
|
$html .= '<div class="mb-3 file-item d-flex justify-content-between align-items-center">
|
||||||
<label class="fw-500">Dokumen '.$data->judul.'</label>
|
<label class="fw-500">Dokumen '.$data->judul.'</label>
|
||||||
<a class="text-white btn btn-sm bg-primary" data-title="'.$data->judul.'" data-target="#modal" data-type="'.$extension[1].'" data-fancybox href="' . url('fileasset?path=/' . $checkFile->value) . '"href="#"><i class="fal fa-eye"></i> Preview</a>
|
<div class="d-flex gap-2">
|
||||||
|
<a class="text-white btn btn-sm bg-primary" data-title="'.$data->judul.'" data-target="#modal" data-type="'.$extension[1].'" data-fancybox href="' . url('fileasset?path=/' . $checkFile->value) . '"href="#"><i class="fal fa-eye"></i> Preview</a>
|
||||||
|
<a class="text-white btn btn-sm bg-success" data-title="'.$data->judul.'" data-type="'.$extension[1].'" href="' . url('fileasset?path=/' . $checkFile->value) . '"href="#"><i class="fal fa-download"></i> Download</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr>';
|
<hr>';
|
||||||
}
|
}
|
||||||
|
|
@ -1771,7 +1774,10 @@ if (!function_exists('formKriteria')) {
|
||||||
if(@$checkFile){
|
if(@$checkFile){
|
||||||
$html .= '<div class="mb-3 file-item d-flex justify-content-between align-items-center">
|
$html .= '<div class="mb-3 file-item d-flex justify-content-between align-items-center">
|
||||||
<label class="fw-500">Dokumen '.$dataOption.'</label>
|
<label class="fw-500">Dokumen '.$dataOption.'</label>
|
||||||
<a class="text-white btn btn-sm bg-primary" data-fancybox href="' . url('fileasset?path=/' . $checkFile->value) . '" href="#"><i class="fal fa-eye"></i> Preview</a>
|
<div class="d-flex gap-2">
|
||||||
|
<a class="text-white btn btn-sm bg-primary" data-fancybox href="' . url('fileasset?path=/' . $checkFile->value) . '" href="#"><i class="fal fa-eye"></i> Preview</a>
|
||||||
|
<a class="text-white btn btn-sm bg-success" href="' . url('fileasset?path=/' . $checkFile->value) . '" href="#"><i class="fal fa-download"></i> Download</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr>';
|
<hr>';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue