forked from metin2/web
Added blocking, started e-mail validation, fixed locale strings
This commit is contained in:
18
resources/views/components/registration/progress.blade.php
Normal file
18
resources/views/components/registration/progress.blade.php
Normal file
@ -0,0 +1,18 @@
|
||||
<div id="progressTracker">
|
||||
@php($progressTexts = [
|
||||
1 => 'Înregistrare',
|
||||
2 => 'Activează și descarcă',
|
||||
3 => 'Instalează și joacă-te',
|
||||
])
|
||||
|
||||
@for ($i = 1; $i <= 3; $i++)
|
||||
<div id="progress{{ $i }}" @class([
|
||||
'inactive' => $step < $i,
|
||||
'active' => $step == $i,
|
||||
'passed' => $step > $i,
|
||||
])>
|
||||
<div class="step">{{ $i }}</div>
|
||||
<p class="progress-text">{{ $progressTexts[$i] }}</p>
|
||||
</div>
|
||||
@endfor
|
||||
</div>
|
Reference in New Issue
Block a user