feat(career): stajyer transkripti ve resmi belgelerin admin ile stajyer panellerine entegrasyonu
- Stajı tamamlanan stajyerlerin repo ve defter tutarlılığı doğrulanarak akademik transkriptleri oluşturuldu - Stajyer paneline resmi staj belgeleri showcase kartı, transkript sekmesi ve hızlı indirme aksiyonları eklendi - Admin paneli listesine ve defter inceleme modalına A4/A5 defter, transkript ve repo butonları entegre edildi - Filament InternApplicationResource tablosuna belge doğrulama ve yazdırma aksiyonları tanımlandı - Doğrulama sayfası PDF çıktısı ve buton hover renkleri optimize edildi
This commit is contained in:
@@ -89,22 +89,37 @@
|
||||
|
||||
<!-- Documents -->
|
||||
<td class="py-4 space-y-1">
|
||||
<div class="flex flex-wrap gap-1">
|
||||
<div class="flex flex-wrap gap-1.5 max-w-[220px]">
|
||||
@if($intern->certificate_code && ($intern->notebook_approved || $intern->status === 'accepted'))
|
||||
<a href="{{ route('internship.verify', $intern->certificate_code) }}" target="_blank" class="btn-doc-emerald px-2 py-1 bg-emerald-600 hover:bg-emerald-700 text-white hover:text-white font-extrabold text-[10px] rounded-lg transition-all flex items-center gap-1 shadow-sm" title="Sertifika ve Akademik Transkript Doğrulama">
|
||||
<i class="uil uil-award text-xs"></i> Sertifika & Transkript
|
||||
</a>
|
||||
@endif
|
||||
|
||||
@if($intern->internship_total_days)
|
||||
<a href="{{ route('intern.print-journal') }}?size=a4&intern_id={{ $intern->id }}" target="_blank" class="btn-doc-blue px-2 py-1 bg-blue-50 hover:bg-blue-100 text-blue-700 hover:text-blue-800 font-bold text-[10px] rounded-lg transition-all flex items-center gap-1" title="A4 Staj Defterini Yazdır">
|
||||
<i class="uil uil-print text-xs"></i> A4 Defter
|
||||
</a>
|
||||
<a href="{{ route('intern.print-journal') }}?size=a5&intern_id={{ $intern->id }}" target="_blank" class="btn-doc-slate px-2 py-1 bg-slate-100 hover:bg-slate-200 text-slate-700 hover:text-slate-900 font-bold text-[10px] rounded-lg transition-all flex items-center gap-1" title="A5 Staj Defterini Yazdır">
|
||||
<i class="uil uil-print text-xs"></i> A5 Defter
|
||||
</a>
|
||||
@endif
|
||||
|
||||
@if($intern->cv_path)
|
||||
<a href="{{ Storage::disk('public')->url($intern->cv_path) }}" target="_blank" class="px-2 py-1 bg-slate-100 hover:bg-slate-200 text-slate-600 font-bold text-[10px] rounded-lg transition-all flex items-center gap-1">
|
||||
<i class="uil uil-file-alt"></i> CV
|
||||
<a href="{{ Storage::disk('public')->url($intern->cv_path) }}" target="_blank" class="btn-doc-slate px-2 py-1 bg-slate-100 hover:bg-slate-200 text-slate-600 hover:text-slate-800 font-bold text-[10px] rounded-lg transition-all flex items-center gap-1" title="CV İndir">
|
||||
<i class="uil uil-file-alt text-xs"></i> CV
|
||||
</a>
|
||||
@endif
|
||||
|
||||
@if($intern->to_be_signed_internship_form_path)
|
||||
<a href="{{ Storage::disk('public')->url($intern->to_be_signed_internship_form_path) }}" target="_blank" class="px-2 py-1 bg-blue-50 hover:bg-blue-100 text-blue-600 font-bold text-[10px] rounded-lg transition-all flex items-center gap-1">
|
||||
<i class="uil uil-file-upload"></i> İmzalanacak Form
|
||||
<a href="{{ Storage::disk('public')->url($intern->to_be_signed_internship_form_path) }}" target="_blank" class="btn-doc-amber px-2 py-1 bg-amber-50 hover:bg-amber-100 text-amber-700 hover:text-amber-800 font-bold text-[10px] rounded-lg transition-all flex items-center gap-1" title="Stajyerin Yüklediği İmzalanacak Form">
|
||||
<i class="uil uil-file-upload text-xs"></i> Başvuru Formu
|
||||
</a>
|
||||
@endif
|
||||
|
||||
@if($intern->signed_internship_form_path)
|
||||
<a href="{{ Storage::disk('public')->url($intern->signed_internship_form_path) }}" target="_blank" class="px-2 py-1 bg-green-50 hover:bg-green-100 text-green-600 font-bold text-[10px] rounded-lg transition-all flex items-center gap-1">
|
||||
<i class="uil uil-file-check-alt"></i> İmzalı Form
|
||||
<a href="{{ Storage::disk('public')->url($intern->signed_internship_form_path) }}" target="_blank" class="btn-doc-green px-2 py-1 bg-green-50 hover:bg-green-100 text-green-700 hover:text-green-800 font-bold text-[10px] rounded-lg transition-all flex items-center gap-1" title="Kurum Tarafından İmzalanmış Staj Formu">
|
||||
<i class="uil uil-file-check-alt text-xs"></i> İmzalı Form
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
@@ -114,11 +129,11 @@
|
||||
<td class="py-4">
|
||||
@if($intern->github_repo)
|
||||
<div class="flex flex-col gap-1">
|
||||
<a href="{{ $intern->github_repo }}" target="_blank" class="text-blue-600 hover:text-blue-800 font-extrabold text-xs inline-flex items-center gap-1">
|
||||
<a href="{{ $intern->github_repo }}" target="_blank" class="btn-doc-repo text-blue-600 hover:text-blue-800 font-extrabold text-xs inline-flex items-center gap-1">
|
||||
<i class="uil uil-github"></i> Depoyu Aç
|
||||
</a>
|
||||
<!-- If they have repo, we can fetch their journal commits or trigger the controller download markdown -->
|
||||
<a href="{{ route('intern.download-journal') }}?intern_id={{ $intern->id }}" class="px-2 py-1 bg-emerald-50 hover:bg-emerald-100 text-emerald-600 font-bold text-[10px] rounded-lg transition-all flex items-center justify-center gap-1 w-max">
|
||||
<a href="{{ route('intern.download-journal') }}?intern_id={{ $intern->id }}" class="btn-doc-md px-2 py-1 bg-emerald-50 hover:bg-emerald-100 text-emerald-600 hover:text-emerald-700 font-bold text-[10px] rounded-lg transition-all flex items-center justify-center gap-1 w-max">
|
||||
<i class="uil uil-arrow-down-tray"></i> Günlüğü İndir (.md)
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user