<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1 , user-scalable=no">
    <title>大豪Video</title>
    <link rel="shortcut icon" href="{{ url_for('static',filename='base/images/logo.png') }}">
    <link rel="stylesheet" href="{{ url_for('static',filename='base/css/bootstrap.min.css') }}">
    <link rel="stylesheet" href="{{ url_for('static',filename='base/css/bootstrap-movie.css') }}">
    <link rel="stylesheet" href="{{ url_for('static',filename='base/css/animate.css') }}">

    <link type="text/css" rel="stylesheet" href="{{ url_for('static',filename='music/css/player.css') }}">

<script src="//libs.baidu.com/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="{{ url_for('static',filename='base/js/jquery.goup.min.js') }}"></script>

    <style>
        .navbar-brand > img {
            display: inline;
        }
        .media {
            padding: 3px;
            border: 1px solid #ccc
        }
        body{
            background-image: url({{ url_for('static',filename='base/images/5.jpg') }});
            background-size: cover;
            {#cursor:url({{ url_for('static',filename='base/css/mouse_chicken.ico') }}),auto;  /*更改鼠标样式*/#}
        }
    </style>
    {% block css %}{% endblock %}
</head>

<body>
<!--导航-->
<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container">
        <!--小屏幕导航按钮和logo-->
        <div class="navbar-header">
            <button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="{{ url_for('home.index',page=1) }}" class="navbar-brand" style="width:250px;">
                <img src="{{ url_for('static',filename='base/images/logo.png') }}" style="height:30px;">&nbsp;豪豪视频
            </a>
        </div>
        <!--小屏幕导航按钮和logo-->
        <!--导航-->
        <div class="navbar-collapse collapse">
            <form class="navbar-form navbar-left" role="search" style="margin-top:18px;">
                <div class="form-group input-group">
                    <input type="text" class="form-control" placeholder="请输入视频名！" id="key_movie">
                    <span class="input-group-btn">
                        <a id="do_search" class="btn btn-default"><span class="glyphicon glyphicon-search"></span>&nbsp;搜索</a>
                    </span>
                </div>
            </form>
            <ul class="nav navbar-nav navbar-right">
                <li>
                    <a class="curlink" href="{{ url_for('home.index',page=1) }}"><span
                            class="glyphicon glyphicon-film"></span>&nbsp;首页</a>
                </li>
                {% if 'user' not in session %}
                    <li>
                        <a class="curlink" href="{{ url_for('home.login') }}"><span
                                class="glyphicon glyphicon-log-in"></span>&nbsp;登录</a>
                    </li>
                    <li>
                        <a class="curlink" href="{{ url_for('home.regist') }}"><span
                                class="glyphicon glyphicon-plus"></span>&nbsp;注册</a>
                    </li>
                {% endif %}

                {% if 'user' in session %}

                    <li>
                        <a class="curlink" href="{{ url_for('home.logout') }}"><span
                                class="glyphicon glyphicon-log-out"></span>&nbsp;退出</a>
                    </li>
                    <li>
                        <a class="curlink" href="{{ url_for('home.user') }}"><span class="glyphicon glyphicon-user"></span>&nbsp;个人中心</a>
                    </li>
                {% endif %}
            </ul>
        </div>
        <!--导航-->

    </div>
</nav>
<!--导航-->
<!--内容-->
{% block content %}{% endblock %}
<!--内容-->
<!--底部-->
<footer>
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <p>
{#                    ©&nbsp;2018&nbsp;flaskmovie.Henry.com&nbsp;京ICP备 666666号-6#}
                      ©&nbsp;2018&nbsp;flaskmovie.<a href="https://github.com/Henryhaohao">Henry</a>.李茄豪.湖南科技大学毕业设计
                </p>
            </div>
        </div>
    </div>
</footer>
<!--底部-->
<script src="{{ url_for('static',filename='base/js/jquery.min.js') }}"></script>
<script src="{{ url_for('static',filename='base/js/bootstrap.min.js') }}"></script>
<script src="{{ url_for('static',filename='base/js/jquery.singlePageNav.min.js') }}"></script>
<script src="{{ url_for('static',filename='base/js/wow.min.js') }}"></script>
<script src="{{ url_for('static',filename='lazyload/jquery.lazyload.min.js') }}"></script>
<script src="//cdn.bootcss.com/holder/2.9.4/holder.min.js"></script>


<script>
    $(function () {
        new WOW().init();
    })

</script>

<script>
    {#$(document).ready(function () {#}
        $("img.lazy").lazyload({
            effect: "fadeIn"
        });
        {#点击搜索,触发事件,跳转到搜索页面#}
        $('#do_search').click(function () {
            var key = $('#key_movie').val();
            location.href = '{{ url_for('home.search',page=1) }}?key=' + key;
        });
        $.goup({
            trigger: 100,
            bottomOffset: 30, /*图标距离底边的边距*/
            locationOffset: 30, /*图标距离右边的边距*/
            title: '', /*图标下面的文字*/
            titleAsText: true
        });

</script>

<!--引入返回顶部的js文件-->
    <script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js"></script>
    <script type="text/javascript" src="{{ url_for('static',filename='base/js/jquery.goup.min.js') }}"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $.goup({
                trigger: 100,
                bottomOffset: 30, /*图标距离底边的边距*/
                locationOffset: 20, /*图标距离右边的边距*/
                title: '', /*图标下面的文字*/
                titleAsText: true
            });
        });
</script>


{#<script>#}
{#    $(document).ready(function () {#}
{#        $.goup({#}
{#            trigger: 100,#}
{#            bottomOffset: 30, /*图标距离底边的边距*/#}
{#            locationOffset: 30, /*图标距离右边的边距*/#}
{#            title: '', /*图标下面的文字*/#}
{#            titleAsText: true#}
{#        });#}
{#    });#}
{#</script>#}




{% block js %}{% endblock %}

</body>
</html>
