Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
pad-upe
Commits
ea208551
Commit
ea208551
authored
Mar 05, 2024
by
alissonalbuquerque
Browse files
update
parent
a4a9def8
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/layouts/user-dashboard/dashboard_teacher.blade.php
View file @
ea208551
@
php
use
App\Models\Util\Status
;
@
endphp
<
div
class
=
"tab-pane active"
id
=
"home"
role
=
"tabpanel"
aria
-
labelledby
=
"home-tab"
>
<
div
class
=
"d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom"
>
<
h1
class
=
"h2"
>
Bem
Vindo
ao
PDA
</
h1
>
</
div
>
<
div
class
=
"d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3"
>
{{
--
<
h3
>
<
i
class
=
"bi bi-exclamation-octagon-fill"
></
i
>
Atividades
pendentes
</
h3
>
--
}}
</
div
>
<
div
class
=
"d-flex"
>
@
foreach
(
$userPads
as
$userPad
)
@
if
(
$userPad
->
pad
->
status
===
Status
::
ATIVO
)
<
div
class
=
"card mx-2"
style
=
"width: 12rem;"
>
<
div
class
=
"card-body"
>
<
div
class
=
"text-end"
>
<
span
class
=
"badge bg-primary"
>
{{
$userPad
->
pad
->
statusAsString
()
}}
</
span
>
</
div
>
<
h1
class
=
"text-center"
>
<
i
class
=
"bi bi-book-half"
></
i
>
</
h1
>
<
h5
class
=
"text-center"
>
PDA
:
{{
$userPad
->
pad
->
nome
}}
</
h4
>
<
div
class
=
"text-center"
>
<
h4
class
=
"h5"
>
<
span
class
=
"badge bg-primary"
>
Horas
:
{{
$userPad
->
totalHoras
()
}}
</
span
>
</
h4
>
</
div
>
<
a
class
=
"stretched-link"
href
=
"{{ route('pad_view', ['id' =>
$userPad->id
]) }}"
></
a
>
</
div
>
</
div
>
@
endif
@
endforeach
</
div
>
</
div
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment