Add BookingsCreateDiag
This commit is contained in:
@@ -3,14 +3,16 @@
|
||||
{{ $carIcon := .IconSet.Icon "tabler-icons:car" "h-6 w-6"}}
|
||||
<div class="bg-white shadow sm:rounded-lg">
|
||||
<div class="px-4 py-5 sm:px-6">
|
||||
<h2 id="timeline-title" class="text-lg font-medium text-gray-900">Diagnostiques réalisés</h2>
|
||||
<a href="{{.ViewState.beneficiary.ID}}/create-diag">
|
||||
<button type="button"
|
||||
class="inline-flex items-center justify-center rounded-2xl border border-transparent bg-co-blue px-4 py-2 text-sm font-medium text-white shadow-sm focus:outline-none focus:ring-2 focus:ring-ci-blue focus:ring-offset-2 sm:w-auto">
|
||||
{{$.IconSet.Icon "hero:outline/plus-circle" "h-5 w-5 mr-3"}}
|
||||
Créer un dignostque
|
||||
</button>
|
||||
</a>
|
||||
<div class="flex items-center space-x-5">
|
||||
<h2 id="timeline-title" class="text-lg font-medium text-gray-900">Diagnostics réalisés</h2>
|
||||
<a href="{{.ViewState.beneficiary.ID}}/create-diag">
|
||||
<button type="button"
|
||||
class="flex justify-around rounded-2xl border border-transparent bg-co-blue px-4 py-2 text-sm font-medium text-white shadow-sm focus:outline-none focus:ring-2 focus:ring-ci-blue focus:ring-offset-2 sm:w-auto">
|
||||
{{$.IconSet.Icon "hero:outline/plus-circle" "h-5 w-5 mr-3"}}
|
||||
Créer un diagnostic
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="border-t border-gray-200">
|
||||
{{ $diagCount := len .ViewState.diags }}
|
||||
@@ -37,7 +39,7 @@
|
||||
<p class="mt-1 text-sm text-gray-900">{{.Name}}</p>
|
||||
</div>
|
||||
<div class="flex-1 ml-3">
|
||||
<p class="mt-1 text-sm text-gray-900">Ce diagnostique a été retiré</p>
|
||||
<p class="mt-1 text-sm text-gray-900">Ce diagnostic a été retiré</p>
|
||||
</div>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{define "content"}}
|
||||
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 md:px-8">
|
||||
<h1 class="text-2xl font-semibold text-gray-900">Ajouter un diagnostique</h1>
|
||||
<h1 class="text-2xl font-semibold text-gray-900">Ajouter un diagnostic</h1>
|
||||
</div>
|
||||
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 md:px-8 mt-8"
|
||||
@@ -48,7 +48,7 @@
|
||||
<div class="md:col-span-1">
|
||||
<h3 class="text-lg font-medium leading-6 text-gray-900">Informations obligatoires</h3>
|
||||
<p class="mt-1 text-sm text-gray-500">Informations obligatoires
|
||||
pour créer un diagnostique dans PARCOURSMOB</p>
|
||||
pour créer un diagnostic dans PARCOURSMOB</p>
|
||||
</div>
|
||||
<div class="mt-5 md:mt-0 md:col-span-2">
|
||||
<div class="grid grid-cols-6 gap-6">
|
||||
@@ -68,7 +68,7 @@
|
||||
<div class="md:grid md:grid-cols-3 md:gap-6">
|
||||
<div class="md:col-span-1">
|
||||
<h3 class="text-lg font-medium leading-6 text-gray-900">Schéma JSON</h3>
|
||||
<p class="mt-1 text-sm text-gray-500">Schéma JSON pour le diagnostique</p>
|
||||
<p class="mt-1 text-sm text-gray-500">Schéma JSON pour le diagnostic</p>
|
||||
</div>
|
||||
<div class="mt-5 md:mt-0 md:col-span-2">
|
||||
<div class="grid grid-cols-6 gap-6">
|
||||
@@ -87,7 +87,7 @@
|
||||
<div class="md:grid md:grid-cols-3 md:gap-6">
|
||||
<div class="md:col-span-1">
|
||||
<h3 class="text-lg font-medium leading-6 text-gray-900">Schéma UI</h3>
|
||||
<p class="mt-1 text-sm text-gray-500">Schéma UI pour le diagnostique</p>
|
||||
<p class="mt-1 text-sm text-gray-500">Schéma UI pour le diagnostic</p>
|
||||
</div>
|
||||
<div class="mt-5 md:mt-0 md:col-span-2">
|
||||
<div class="grid grid-cols-6 gap-6">
|
||||
|
||||
@@ -137,6 +137,11 @@
|
||||
class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
|
||||
:class="tab == 'organizations' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
|
||||
Gestionnaires </a>
|
||||
|
||||
<a href="#" @click="tab = 'diags'"
|
||||
class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
|
||||
:class="tab == 'diags' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
|
||||
Diagnostics </a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
@@ -145,6 +150,7 @@
|
||||
<div x-show="tab == 'documents'">{{template "beneficiary_files" .}}</div>
|
||||
<div x-show="tab == 'notes'">{{template "beneficiary_notes" .}}</div>
|
||||
<div x-show="tab == 'organizations'">{{template "beneficiary_organizations" .}}</div>
|
||||
<div x-show="tab == 'diags'">{{template "beneficiary_diags" .}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -152,9 +158,6 @@
|
||||
|
||||
<section aria-labelledby="timeline-title" class="lg:col-start-3 lg:col-span-1">
|
||||
{{template "beneficiary_events" .}}
|
||||
<div class="mt-6">
|
||||
{{template "beneficiary_diags" .}}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user