|
5 | 5 | <meta charset="utf-8"> |
6 | 6 | <title>{% block title %}{% endraw %}{{ cookiecutter.tool_name }}{% raw %}{% endblock title %}</title> |
7 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
8 | | - <link rel="stylesheet" href="https://tools-static.wmflabs.org/cdnjs/ajax/libs/twitter-bootstrap/4.6.0/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous"> |
| 8 | + <link rel="stylesheet" href="https://tools-static.wmflabs.org/cdnjs/ajax/libs/twitter-bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> |
9 | 9 | {% endblock head %} |
10 | 10 | </head> |
11 | 11 | <body> |
12 | | - <a href="#main" class="sr-only sr-only-focusable">Skip to main content</a> |
| 12 | + <a href="#main" class="visually-hidden visually-hidden-focusable">Skip to main content</a> |
13 | 13 | <nav class="navbar navbar-expand-sm navbar-dark bg-dark"> |
14 | | - <a href="{{ url_for('index') }}" class="navbar-brand">{% endraw %}{{ cookiecutter.tool_name }}{% raw %}</a> |
15 | | - <ul class="navbar-nav mr-auto"> |
16 | | - <li class="nav-item"><a href="https://{% endraw %}{{ cookiecutter.wiki_domain }}{% raw %}/wiki/User:{% endraw %}{{ cookiecutter.user_name | replace(' ', '_') }}/{{ cookiecutter.tool_name | replace(' ', '_') }}{% raw %}" class="nav-link">Documentation</a></li> |
17 | | - <li class="nav-item"><a href="https://toolforge.org/" class="nav-link">Wikimedia Toolforge</a></li> |
18 | | - <li class="nav-item"><a href="https://gitlab.wikimedia.org/toolforge-repos/{% endraw %}{{ cookiecutter.tool_identifier }}{% raw %}" class="nav-link">Source code</a></li> |
19 | | - </ul> |
20 | | - {{ authentication_area() }} |
| 14 | + <div class="container-fluid"> |
| 15 | + <a href="{{ url_for('index') }}" class="navbar-brand">{% endraw %}{{ cookiecutter.tool_name }}{% raw %}</a> |
| 16 | + <ul class="navbar-nav me-auto"> |
| 17 | + <li class="nav-item"><a href="https://{% endraw %}{{ cookiecutter.wiki_domain }}{% raw %}/wiki/User:{% endraw %}{{ cookiecutter.user_name | replace(' ', '_') }}/{{ cookiecutter.tool_name | replace(' ', '_') }}{% raw %}" class="nav-link">Documentation</a></li> |
| 18 | + <li class="nav-item"><a href="https://toolforge.org/" class="nav-link">Wikimedia Toolforge</a></li> |
| 19 | + <li class="nav-item"><a href="https://gitlab.wikimedia.org/toolforge-repos/{% endraw %}{{ cookiecutter.tool_identifier }}{% raw %}" class="nav-link">Source code</a></li> |
| 20 | + </ul> |
| 21 | + {{ authentication_area() }} |
| 22 | + </div> |
21 | 23 | </nav> |
22 | 24 | <main id="main" class="container mt-3"> |
23 | 25 | {% block main %} |
|
0 commit comments