Skip to content

Commit

Permalink
feat(templates): introduce fontawesome package for icons
Browse files Browse the repository at this point in the history
  • Loading branch information
zyv committed Aug 20, 2024
1 parent c27d0c2 commit 577dd19
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 54 deletions.
1 change: 1 addition & 0 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"django_countries",
"django_bootstrap5",
"colorfield",
"fontawesomefree",
"logbook",
]

Expand Down
3 changes: 3 additions & 0 deletions logbook/templates/logbook/base.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load static %}
{% load django_bootstrap5 %}
<!doctype html>
<html lang="en">
Expand All @@ -7,6 +8,8 @@

{% bootstrap_css %}

<link href="{% static 'fontawesomefree/css/all.min.css' %}" rel="stylesheet" type="text/css">

<title>Logbook{% block extra_title %}{% endblock %}</title>

<style>
Expand Down
125 changes: 71 additions & 54 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ timezonefinder = "*"

requests = "*"
playwright = "*"
fontawesomefree = "^6" # @mm-version-check-ignore

[tool.poetry.dev-dependencies]
django-debug-toolbar = "*"
Expand Down

0 comments on commit 577dd19

Please sign in to comment.