Просмотр исходного кода

member - cambiato (elimina) con icona cestino + evidenziati link a file

ferrari 3 месяцев назад
Родитель
Сommit
744a2a00a1
2 измененных файлов с 12 добавлено и 7 удалено
  1. 5 0
      public/css/new_style.css
  2. 7 7
      resources/views/livewire/member.blade.php

+ 5 - 0
public/css/new_style.css

@@ -1130,4 +1130,9 @@ body .form-select, body form .form-select {
 
 table.dataTable td.dt-type-numeric {
     padding-right: 30px;
+}
+
+a.member-file-url {
+    color: var(--color-blu);
+    text-decoration: underline;
 }

+ 7 - 7
resources/views/livewire/member.blade.php

@@ -686,13 +686,13 @@
                                                                             $fileName = basename($d);
                                                                         @endphp
                                                                         @if($fileUrl)
-                                                                            <a href="{{ $fileUrl }}" target="_blank" class="form-label">{{ $fileName }}</a>
+                                                                            <a href="{{ $fileUrl }}" target="_blank" class="form-label member-file-url">{{ $fileName }}</a>
                                                                         @else
                                                                             <span class="form-label text-muted">{{ $fileName }} (not available)</span>
                                                                         @endif
                                                                     </div>
                                                                     <div class="col-6">
-                                                                        <a wire:click="removeDocument({{$idx}},'self')" class="form-label" style="cursor: pointer;">(elimina)</a><br>
+                                                                        <a wire:click="removeDocument({{$idx}},'self')" class="form-label" style="cursor: pointer;"><i class="fa-regular fa-trash-can"></i></a><br>
                                                                     </div>
                                                                 </div>
                                                             @endif
@@ -748,13 +748,13 @@
                                                                                     $fileName = basename($d);
                                                                                 @endphp
                                                                                 @if($fileUrl)
-                                                                                    <a href="{{ $fileUrl }}" target="_blank" class="form-label">{{ $fileName }}</a>
+                                                                                    <a href="{{ $fileUrl }}" target="_blank" class="form-label member-file-url">{{ $fileName }}</a>
                                                                                 @else
                                                                                     <span class="form-label text-muted">{{ $fileName }} (not available)</span>
                                                                                 @endif
                                                                             </div>
                                                                             <div class="col-6">
-                                                                                <a wire:click="removeDocument({{$idx}},'father')" class="form-label" style="cursor: pointer;">(elimina)</a><br>
+                                                                                <a wire:click="removeDocument({{$idx}},'father')" class="form-label" style="cursor: pointer;"><i class="fa-regular fa-trash-can"></i></a><br>
                                                                             </div>
                                                                         </div>
                                                                     @endif
@@ -810,13 +810,13 @@
                                                                                 $fileName = basename($d);
                                                                             @endphp
                                                                             @if($fileUrl)
-                                                                                <a href="{{ $fileUrl }}" target="_blank" class="form-label">{{ $fileName }}</a>
+                                                                                <a href="{{ $fileUrl }}" target="_blank" class="form-label member-file-url">{{ $fileName }}</a>
                                                                             @else
                                                                                 <span class="form-label text-muted">{{ $fileName }} (not available)</span>
                                                                             @endif
                                                                         </div>
                                                                         <div class="col-6">
-                                                                            <a wire:click="removeDocument({{$idx}},'mother')" class="form-label" style="cursor: pointer;">(elimina)</a><br>
+                                                                            <a wire:click="removeDocument({{$idx}},'mother')" class="form-label" style="cursor: pointer;"><i class="fa-regular fa-trash-can"></i></a><br>
                                                                         </div>
                                                                     </div>
                                                                 @endif
@@ -849,7 +849,7 @@
                                                                                         $certificateUrl = $fileService->getFileUrl($member_certificate->filename);
                                                                                     @endphp
                                                                                     @if($certificateUrl)
-                                                                                        <a href="{{ $certificateUrl }}" target="_blank">Visualizza</a>
+                                                                                        <a href="{{ $certificateUrl }}" target="_blank" class="member-file-url">Visualizza</a>
                                                                                     @else
                                                                                         <span class="text-muted">File non disponibile</span>
                                                                                     @endif