@include('layouts.navbars.auth.topnav') @include('components.plugins.fixed-plugin')

Start training

{{$exo->name}}


High Score :
@if($exo->tracking()->where('user_id',auth()->user()->id)->count() > 0) finished @else unfinished @endif
{!! $exo->instructions !!}
@if($exo->sets)
@endif @if($exo->reps)
@if($exo->type == "type-time-1") @elseif($exo->type == "type-time-2") @else @endif
@endif @if($exo->reset)
@endif
@if($exo->tracking()->where('user_id',auth()->user()->id)->count() > 0)
Previous Tracking
@foreach($exo->tracking->where('user_id',auth()->user()->id) as $tracking)
@endforeach
@endif
@csrf
Tracking
Next Exercises
@foreach($workout->exercises as $exerci) @if($exerci->id != $exo->id) @if($exerci->tracking()->where('user_id',auth()->user()->id)->count() <= 0) @endif @endif @endforeach @foreach($workout->exercises as $exerci) @if($exerci->tracking()->where('user_id',auth()->user()->id)->count() > 0) @endif @endforeach
Exercise Type Reps Sets Actions
@if($exerci->image) img @else img @endif
{{$exerci->name}}
@foreach($exerci->types as $type) {{$type->name}} @endforeach {{$exerci->reps}} @if($exerci->type == "type-time-1") {{$exerci->reps}} reps (min:sec) @elseif($exerci->type == "type-time-2") {{$exerci->reps}} reps (secs:milliseconds) @else {{$exerci->reps}} reps @endif
@csrf
@if($exerci->image) img @else img @endif
{{$exerci->name}}
@foreach($exerci->types as $type) {{$type->name}} @endforeach {{$exerci->reps}} @if($exerci->type == "type-time-1") {{$exerci->reps}} reps (min:sec) @elseif($exerci->type == "type-time-2") {{$exerci->reps}} reps (secs:milliseconds) @else {{$exerci->reps}} reps @endif