Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
django-dsgov
Commits
f5f001c9
Commit
f5f001c9
authored
Jun 03, 2025
by
Eduardo Silva
Browse files
cricao do componente br card
#4
parent
2b426157
Changes
3
Show whitespace changes
Inline
Side-by-side
tests/django_dsgov_test1/django_dsgov_test1/urls.py
View file @
f5f001c9
...
@@ -78,4 +78,5 @@ urlpatterns = [
...
@@ -78,4 +78,5 @@ urlpatterns = [
path
(
"breadcrumb/"
,
TemplateView
.
as_view
(
template_name
=
'examples_breadcrumb.html'
),
name
=
"breadcrumb"
),
path
(
"breadcrumb/"
,
TemplateView
.
as_view
(
template_name
=
'examples_breadcrumb.html'
),
name
=
"breadcrumb"
),
path
(
"pagination/"
,
TemplateView
.
as_view
(
template_name
=
'examples_pagination.html'
),
name
=
"pagination"
),
path
(
"pagination/"
,
TemplateView
.
as_view
(
template_name
=
'examples_pagination.html'
),
name
=
"pagination"
),
path
(
"tag/"
,
TemplateView
.
as_view
(
template_name
=
'examples_tag.html'
),
name
=
"tag"
),
path
(
"tag/"
,
TemplateView
.
as_view
(
template_name
=
'examples_tag.html'
),
name
=
"tag"
),
path
(
"cards/"
,
TemplateView
.
as_view
(
template_name
=
'examples_card_with_icon.html'
),
name
=
"cards"
),
]
]
tests/django_dsgov_test1/templates/examples_card_with_icon.html
0 → 100644
View file @
f5f001c9
{% extends "dsgov/base.html" %}
{% load br_components %}
{% load static %}
{% block title %}
Exemplo de Cards com Ícones
{% endblock %}
{% block content %}
<div
class=
"flex flex-col mb-6"
>
<div
class=
"row mt-6"
>
<div
class=
"row mb-6"
>
<div
class=
"col-md-4 mb-4"
>
{% br_card title=title text=text icon_path=icon_path %}
</div>
</div>
</div>
</div>
{% endblock %}
tests/django_dsgov_test1/templates/index.html
View file @
f5f001c9
...
@@ -114,6 +114,16 @@
...
@@ -114,6 +114,16 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"br-item"
role=
"listitem"
>
<div
class=
"row align-items-center"
>
<div
class=
"col-auto"
>
<i
class=
"fa-solid fa-sitemap"
aria-hidden=
"true"
></i>
</div>
<div
class=
"col"
>
<a
href=
"{% url 'cards' %}"
>
Exemplos de Cards com Ícones
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{% endblock %}
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