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
162dc05c
Commit
162dc05c
authored
May 19, 2023
by
PedroLopesUPE
Browse files
Adição de botão "Baixar tabela" em curso/index
Download funcional, porém muito longo
parent
8fe429a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
resources/views/components/buttons/btn-download.blade.php
0 → 100644
View file @
162dc05c
{{
--
@
include
(
'components.buttons.btn-download'
,
[
'id'
=>
''
,
'route'
=>
''
,
'content'
=>
''
])
--
}}
<
a
class
=
"btn btn-primary"
href
=
"
{
{$route}
}
"
id
=
"
{
{$id}
}
"
>
<
i
class
=
"bi bi-cloud-arrow-down"
></
i
>
{{
$content
}}
</
a
>
resources/views/curso/index.blade.php
View file @
162dc05c
...
...
@@ -22,7 +22,13 @@
<
div
>
@
include
(
'components.alerts'
)
<
div
class
=
"d-flex justify-content-end mb-2"
>
<
div
class
=
"d-flex justify-content-end mb-2 gap-3"
>
@
include
(
'components.buttons.btn-download'
,
[
'route'
=>
route
(
'cursos_print'
),
'content'
=>
'Baixar Tabela'
,
'id'
=>
''
,
'class'
=>
''
,
])
@
include
(
'components.buttons.btn-create'
,
[
'route'
=>
route
(
'curso_create'
),
'content'
=>
'Cadastrar'
,
...
...
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