base.html 2.08 KB
<!doctype html>

<html lang="pl">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>{% block title %}{% endblock %}</title>
    <link rel="stylesheet" type="text/css" href="https://bootswatch.com/4/lux/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <!--Bootstrap’s tooltips require Popper-->
    <!--script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script-->
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
    {% block scripts %}{% endblock %}
</head>

<body class="bg-dark">
    
    <nav class="navbar navbar-expand-lg sticky-top navbar-dark bg-primary font-weight-bold">
        <a class="navbar-brand" href="/">ShellValier</a>

        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNav">
            <ul class="navbar-nav mr-auto">
                <li class="nav-item" id="nav-filters-test">
                    <a class="nav-link" href="{% url 'filters:filters_test' %}">
                    Test filtrów
                    </a>
                </li>
                <li class="nav-item" id="nav-admin">
                    <a class="nav-link" href="/admin/">
                    Admin
                    </a>
                </li>
            </ul>
        </div>
    </nav>

    <div class="container-fluid">

        <div class="jumbotron bg-dark">{% block content %}{% endblock %}</div>
        
        <div class="fixed-bottom bg-warning text-dark" id="debug"></div>

    </div>

</body>

</html>