chore: incluir rediseño del dashboard por proyecto (cabecera) y Manual.docx

Cambios de trabajo confirmados como funcionales:
- project-dashboard.blade.php: cabecera reorganizada (estado + accesos a mapa/gantt/incidencias).
- docs/Manual.docx: documento del manual generado.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-19 17:31:34 +02:00
parent 7e997bc6aa
commit 624260961b
2 changed files with 372 additions and 362 deletions
BIN
View File
Binary file not shown.
@@ -1,16 +1,24 @@
<div> <div>
<x-slot name="header"> <x-slot name="header">
<div class="flex items-center justify-between"> <div class="flex items-center justify-between">
<div class="flex items-center gap-3"> {{-- Izquierda: avatar + datos --}}
<a href="{{ route('projects.list') }}" class="btn btn-ghost btn-sm px-2"> <div class="flex items-center gap-4">
<x-heroicon-o-arrow-left class="w-4 h-4" /> {{-- Avatar --}}
</a>
<div> <div>
<h2 class="font-bold text-xl leading-tight">{{ $project->name }}</h2> <h2 class="font-bold text-xl leading-tight">{{ $project->name }}</h2>
@if($project->description) @if($project->description)
<p class="text-sm text-gray-500 leading-tight mt-0.5">{{ Str::limit($project->description, 80) }}</p> <p class="text-sm text-gray-500 leading-tight mt-0.5">{{ Str::limit($project->description, 80) }}</p>
@endif @endif
</div> </div>
</div>
{{-- Derecha: estado + botones --}}
<div class="flex flex-col items-end gap-2">
<div class="flex items-center gap-2">
<a href="{{ route('projects.list') }}" class="btn btn-ghost btn-sm px-2">
<x-heroicon-o-arrow-left class="w-4 h-4" /> Volver
</a>
{{-- Estado --}}
@php @php
$statusCfg = match($project->status) { $statusCfg = match($project->status) {
'in_progress' => ['badge-primary', 'En progreso'], 'in_progress' => ['badge-primary', 'En progreso'],
@@ -22,7 +30,8 @@
@endphp @endphp
<span class="badge {{ $statusCfg[0] }} badge-sm">{{ $statusCfg[1] }}</span> <span class="badge {{ $statusCfg[0] }} badge-sm">{{ $statusCfg[1] }}</span>
</div> </div>
<div class="flex gap-2"> {{-- Botones --}}
<div class="flex gap-2 mt-1">
<a href="{{ route('projects.map', $project) }}" class="btn btn-outline btn-sm gap-1"> <a href="{{ route('projects.map', $project) }}" class="btn btn-outline btn-sm gap-1">
<x-heroicon-o-map class="w-4 h-4" /> <x-heroicon-o-map class="w-4 h-4" />
Mapa Mapa
@@ -37,6 +46,7 @@
</a> </a>
</div> </div>
</div> </div>
</div>
</x-slot> </x-slot>
<div class="py-6"> <div class="py-6">