{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel = "icon" href ="{% static 'img/xxm.ico' %}">
    <title>炫小码</title>
    <link rel="stylesheet" href="{% static 'plugins/bootstrap-3.4.1/css/bootstrap.css' %}">  <!-- CSS -->
</head>
<body>
<nav class="navbar navbar-default">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="/xxm">首页目录</a>
        </div>     <!-- 首页目录选项 -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li><a href="#">课程售卖</a></li>
                <li><a href="#">师资力量</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false"> 习题库 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="#">第一册</a></li>
                        <li><a href="#">第二册</a></li>
                        <li><a href="#">第三册</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#">市赛集训</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#">复赛集训</a></li>
                    </ul>
                </li>    <!-- 左边下拉框 -->
            </ul>               <!-- 目录选项 -->
            <form class="navbar-form navbar-left">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="Search">
                </div>
                <button type="submit" class="btn btn-default">Submit</button>
            </form>      <!-- 表单提交 -->
            <ul class="nav navbar-nav navbar-right">
                <li><a href="/account/login">登录/注册</a></li>              <!-- 登录选项 -->
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false"> Dropdown <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="#">Action</a></li>
                        <li><a href="#">Another action</a></li>
                        <li><a href="#">Something else here</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#">Separated link</a></li>
                    </ul>
                </li>                  <!-- 右边下拉框-->
            </ul>
        </div>
    </div>
</nav>
<script src="{% static 'js/jquery-3.5.1.min.js' %}"></script>
<script  src="{% static 'plugins/bootstrap-3.4.1/js/bootstrap.js' %}"></script>
</body>
</html>