Files
eatvio-infra/resources/views/livewire/profile/circumference-chart.blade.php
2023-10-04 17:57:09 +03:00

23 lines
1.2 KiB
PHP

<div class="mb-4 p-3 --bg_white --shadow --radius --no_wrap">
<div class="d-flex justify-content-between align-items-center mb-2 px-6">
<small class="--f_black">{{ __('profile.circumference') }}:</small>
<div class="d-flex align-items-center">
<small class="me-3">{{ __('profile.chest') }}:<span class="ms-2 --f_bold --f_rose">{{ $lastOneMisure->chest_circumference ?? '0' }}</span></small>
<small class="me-3">{{ __('profile.waist') }}:<span class="ms-2 --f_bold --f_blue">{{ $lastOneMisure->waist_circumference ?? '0' }}</span></small>
<small>{{ __('profile.hips') }}:<span class="ms-2 --f_bold --f_lime">{{ $lastOneMisure->hip_circumference ?? '0'}}</span></small>
</div>
<div class="fs-5_5 text-center">
<button onclick="Livewire.dispatch('openModal', { component: 'user.add-circumference' })" style="border: none;background: none;" class="--f_bolder">
+
</button>
</div>
</div>
<div class="w-100" style="height: 14rem;" id="circumference_misure_chart">
<livewire:livewire-line-chart
:line-chart-model="$lineChartModel"
key="{{ $lineChartModel->reactiveKey() }}"
/>
</div>
</div>