Skip to content

Commit

Permalink
add bootstrap icons to base template
Browse files Browse the repository at this point in the history
  • Loading branch information
silvioheinze committed Jan 7, 2025
1 parent c8faafe commit 92b730c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions app/templates/_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">
<!-- CSS -->
<link rel="stylesheet" href="{% static 'css/base.css' %}">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
{% block styles %}{% endblock styles %}
</head>
<body>
Expand Down
10 changes: 4 additions & 6 deletions app/templates/devices/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

{% block title %}{% trans "Devices" %}{% endblock title %}

{% block styles %}
{% endblock styles %}

{% block content %}
<div class="container mt-5">
<div class="d-flex justify-content-between align-items-center mb-4">
Expand Down Expand Up @@ -106,9 +109,4 @@ <h2>{% trans "Devices" %}</h2>
</div>
{% endif %}
</div>
{% endblock content %}

{% block styles %}
<!-- Bootstrap Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
{% endblock styles %}
{% endblock content %}

0 comments on commit 92b730c

Please sign in to comment.