diff options
Diffstat (limited to 'newspipe/templates/layout.html')
-rw-r--r-- | newspipe/templates/layout.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/newspipe/templates/layout.html b/newspipe/templates/layout.html index f24ab854..7cd98316 100644 --- a/newspipe/templates/layout.html +++ b/newspipe/templates/layout.html @@ -13,7 +13,7 @@ <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='npm_components/fork-awesome/css/fork-awesome.min.css') }}" /> <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/custom.css') }}" /> <!-- JavaScript --> - <script type="text/javascript" src="{{ url_for('static', filename='npm_components/popper.js/dist/umd/popper.min.js') }}"></script> + <script type="text/javascript" src="{{ url_for('static', filename='npm_components/@popperjs/core/dist/umd/popper.min.js') }}"></script> <script type="text/javascript" src="{{ url_for('static', filename='npm_components/bootstrap/dist/js/bootstrap.min.js') }}"></script> {% endblock %} </head> @@ -53,8 +53,8 @@ </li> {% endif %} <li class="nav-item dropdown"> - <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownRSS" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-rss" aria-hidden="true"></i> {{ _('Feeds') }}</a> - <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownRSS" style="min-width: 300px;"> + <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownRSS" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fa fa-rss" aria-hidden="true"></i> {{ _('Feeds') }}</a> + <div class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownRSS" style="min-width: 300px;"> <a class="dropdown-item" href="{{ url_for('feeds.feeds') }}">{{ _('Feeds') }}</a> <a class="dropdown-item" href="{{ url_for('feeds.inactives') }}">{{ _('Inactive') }}</a> <a class="dropdown-item" href="{{ url_for('popular') }}">{{ _('Popular') }}</a> @@ -72,8 +72,8 @@ </li> <li class="nav-item dropdown"> - <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownCategory" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-tag" aria-hidden="true"></i> {{ _('Categories') }}</a> - <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownCategory" style="min-width: 250px;"> + <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownCategory" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fa fa-tag" aria-hidden="true"></i> {{ _('Categories') }}</a> + <div class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownCategory" style="min-width: 250px;"> <a class="dropdown-item" href="{{ url_for('categories.list_') }}">{{ _('Categories') }}</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="{{ url_for('category.form') }}">{{ _('Add a new category') }}</a> @@ -88,16 +88,16 @@ </li> <li class="nav-item dropdown"> - <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownBookmark" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-bookmark" aria-hidden="true"></i> {{ _('Bookmarks') }}</a> - <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownBookmark"> - <a class="dropdown-item" href="{{ url_for('bookmarks.list_') }}">{{ _('Bookmarks') }}</a> - <a class="dropdown-item" href="{{ url_for('bookmark.form') }}">{{ _('Add a new bookmark') }}</a> - </div> + <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownBookmark" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fa fa-bookmark" aria-hidden="true"></i> {{ _('Bookmarks') }}</a> + <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownBookmark"> + <li><a class="dropdown-item" href="{{ url_for('bookmarks.list_') }}">{{ _('Bookmarks') }}</a></li> + <li><a class="dropdown-item" href="{{ url_for('bookmark.form') }}">{{ _('Add a new bookmark') }}</a></li> + </ul> </li> <li class="nav-item dropdown"> - <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownSearch" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-search" aria-hidden="true"></i></i> {{ _('Search') }}</a> - <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownSearch" style="min-width: 300px;"> + <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownSearch" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fa fa-search" aria-hidden="true"></i></i> {{ _('Search') }}</a> + <div class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownSearch"> <form class="px-4 py-3" action="{{ url_for('home') }}" method="GET"> <div class="mb-3"> <input class="form-control" name="query" type="text" placeholder="{{_('Query')}}" required="required"/> @@ -116,8 +116,8 @@ </li> <li class="nav-item dropdown"> - <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownUser" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-user" aria-hidden="true"></i></a> - <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownUser"> + <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownUser" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fa fa-user" aria-hidden="true"></i></a> + <div class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownUser"> <a class="dropdown-item" href="{{ url_for('user.profile') }}">{{ _('Profile') }}</a> <a class="dropdown-item" href="{{ url_for('user.management') }}">{{ _('Your data') }}</a> {% if current_user.is_admin %} |