|
14 | 14 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
15 | 15 | <link rel='shortcut icon' type='image/x-icon' href='{{ base_url }}/static/img/favicon.ico'/>
|
16 | 16 | <link rel="stylesheet"
|
17 |
| - href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" |
18 |
| - integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" |
| 17 | + href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" |
| 18 | + integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" |
19 | 19 | crossorigin="anonymous">
|
20 | 20 | {% for stylesheet in static.css %}
|
21 | 21 | <link rel="stylesheet"
|
|
27 | 27 | <header>
|
28 | 28 | <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
|
29 | 29 | <div class="container">
|
30 |
| - <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#nav-content" aria-controls="nav-content" aria-expanded="false" aria-label="Toggle navigation"> |
| 30 | + <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#nav-content" aria-controls="nav-content" aria-expanded="false" aria-label="Toggle navigation"> |
31 | 31 | <span class="navbar-toggler-icon"></span>
|
32 | 32 | </button>
|
33 | 33 |
|
34 | 34 | {% if static.logo %}<a class="navbar-brand" href="{{ base_url }}/"><img alt="" src="{{ base_url }}{{ static.logo }}"/></a>{% endif %}
|
35 | 35 |
|
36 | 36 | <div class="collapse navbar-collapse" id="nav-content">
|
37 |
| - <ul class="navbar-nav ml-auto"> |
| 37 | + <ul class="navbar-nav ms-auto"> |
38 | 38 | {% for item in navbar %}
|
39 | 39 | {% if not item.has_subitems %}
|
40 | 40 | <li class="nav-item">
|
|
43 | 43 | {% else %}
|
44 | 44 | <li class="nav-item dropdown">
|
45 | 45 | <a class="nav-link dropdown-toggle"
|
46 |
| - data-toggle="dropdown" |
| 46 | + data-bs-toggle="dropdown" |
47 | 47 | id="{{ item.slug }}"
|
48 | 48 | href="#"
|
49 | 49 | role="button"
|
|
68 | 68 | </div>
|
69 | 69 | </main>
|
70 | 70 | <footer class="container pt-4 pt-md-5 border-top">
|
71 |
| - <ul class="list-inline social-buttons float-right"> |
| 71 | + <ul class="list-inline social-buttons float-end"> |
72 | 72 | <li class="list-inline-item">
|
73 | 73 | <a href="https://twitter.com/pandas_dev/">
|
74 | 74 | <i class="fab fa-twitter"></i>
|
|
89 | 89 | pandas is a fiscally sponsored project of <a href="https://numfocus.org">NumFOCUS.</a>
|
90 | 90 | </p>
|
91 | 91 | </footer>
|
92 |
| - |
93 |
| - <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" |
94 |
| - integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" |
95 |
| - crossorigin="anonymous"></script> |
96 |
| - <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" |
97 |
| - integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" |
98 |
| - crossorigin="anonymous"></script> |
99 |
| - <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" |
100 |
| - integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" |
| 92 | + |
| 93 | + <script src=" https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" |
| 94 | + integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" |
101 | 95 | crossorigin="anonymous"></script>
|
102 | 96 | </body>
|
103 | 97 | </html>
|
0 commit comments