Fix tabs and pills for bootstrap 5

This commit is contained in:
Jan Böhmer 2022-07-24 18:14:33 +02:00
parent 365c7c60e4
commit 582f8e4c5f
17 changed files with 58 additions and 58 deletions

View file

@ -1,6 +1,6 @@
<nav class="navbar navbar-expand-md navbar-light bg-light border-bottom shadow-sm fixed-top py-0" id="navbar">
<div class="container-fluid">
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#sidebar-container">
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-target="#sidebar-container">
<span class="sr-only">{% trans %}sidebar.toggle{% endtrans %}</span>
<!-- <span class="navbar-toggler-icon"></span> -->
<i class="fas fa-folder-open fa-lg fa-fw"></i>
@ -9,7 +9,7 @@
<a class="navbar-brand" href="{{ path('homepage') }}"><i class="fa fa-microchip"
aria-hidden="true"></i> {{ partdb_title }}</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarContent"
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-target="#navbarContent"
aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<!-- <span class="navbar-toggler-icon"></span> -->
<i class="fas fa-bars fa-lg"></i>