<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Aisky-coffee</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- 新 Bootstrap4 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.1.0/css/bootstrap.min.css">

    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>

    <!-- popper.min.js 用于弹窗、提示、下拉菜单 -->
    <script src="https://cdn.bootcss.com/popper.js/1.12.5/umd/popper.min.js"></script>

    <!-- 最新的 Bootstrap4 核心 JavaScript 文件 -->
    <script src="https://cdn.bootcss.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>

    <!--可用來建立使用者小圖示-->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">


    <style>
        body {
	        margin:0;
        }

        .navbar-dark .navbar-nav .nav-link {
            color: white;
            cursor: pointer;
	        text-decoration:none;
            width: 110px;
            height: 46px;
        }

        .nav-top {
	        line-height:40px;
	        background-color: #C4C4C4;
        }

        .website_title{
            font-family: Roboto;
            font-style: normal;
            font-weight: normal;
            font-size: 30px;
            color: #000000;
        }

        .navbar-nav > li{
	        float: none;
	        display: inline-block;
	        width: 100px;
            margin: 0 auto;
            text-align: center;
        }

        .navbar-nav > li a{
            font-size: 20px;
        }

        .main-page {
            margin-top: 200px;
        }

        .page-title {
            font-family: Roboto;
            font-style: normal;
            font-weight: bold;
            font-size: 36px;
            height: 50px;
            line-height: 50px;
            background: #008CBA;
            border: 1px solid #CFCFCF;
            box-sizing: border-box;
            border-radius: 10px;
        }


        .flex {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
        }

        .set-link {
            color: #FFFFFF;
            font-size: 36px;
        }


        @media(max-width:373px){
            .card {
                margin-right: 0px;
            }
        }

        @media(max-width:577px){

        }

        @media(min-width:576px){


        }
         @media(min-width:768px){
            .navbar-nav > li {
                 margin-left: 0px;
            }
            .navbar-nav .li-block {
                display:none;
            }
         }

         @media(min-width:991px){
            .navbar-nav > li {
                 margin-left: 20px;
            }
            .navbar-nav .li-block {
                display:none;
            }
         }

         @media(min-width:1200px){
            .navbar-nav > li {
                 margin-left: 50px;
            }
            .navbar-nav .li-block {
                display: inline-block;
                width: 100px;
            }
         }

         @media(min-width:1400px){
            .navbar-nav .li-block {
                display: inline-block;
                width: 200px;
            }
         }


         @media(min-width:1689px) {
            .navbar-nav > li {
                 margin-left: 50px;
            }
            .navbar-nav .li-block {
                display: inline-block;
                width: 500px;
            }
         }


    </style>
</head>
<body>
    <nav class="fixed-top">
        <nav class="navbar navbar-expand-md nav-top justify-content-center">
            <div>
                <span class="website_title">CNN影像識別</span>
            </div>
        </nav>
        <nav class="navbar navbar-expand-md bg-dark navbar-dark nav-bottom">
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="collapsibleNavbar">
                <ul class="navbar-nav">
                    <li class="nav-item">
                        <a class="nav-link" href="/">首頁</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">關於我們</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">資訊</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">聯絡方法</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/cargo_list">咖啡貨櫃</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/video">影像串流</a>
                    </li>
                    <li class="li-block"></li>
                    <li class="nav-item">
                        <a class="nav-link" href="#"><i class="fa fa-user-o"></i> {{params.username}}</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/logout">Logout</a>
                    </li>
                </ul>
            </div>
        </nav>
    </nav>
    <div class="main-page">
        <div class="text-center">
            <h1>影像</h1>
        </div>
        <form method="" action="">
            <div class="container-fluid">
                <div class="row">
                    <div class="col flex">
                        <div class="col-xl-12  col-lg-12 col-md-12 col-sm-12 col-xs-12" style="margin-right: 20px ;margin-left: 20px; margin-top:20px; margin-bottom:20px;">
                            <div class="text-center">
                                <img src="../static/img/coffee.jpg" width="60%" height="30%" style="max-width:100%;height: auto;">
                            </div>
                        </div>
                        <div class="col-xl-4 col-lg-4 col-md-4 col-sm-12 col-xs-12 text-center" style="margin-right: 20px ;margin-left: 20px; margin-top:20px; margin-bottom:20px;">
                            <div class="page-title text-center" style="display: inline-block">
                                <a class="set-link" type="button" href="/img">
                                    開始
                                </a>
                            </div>
                            <div  class="page-title text-center" style="display: inline-block">
                                <a class="set-link" type="button" href="/img">
                                    返回
                                </a>
                           </div>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</body>
</html>