<!doctype html>
<html class="no-js" lang="en" xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta charset="utf-8"/>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
        <meta name="description" content=""/>
        <meta name="viewport" content="width=device-width, initial-scale=1"/>
        
        <link rel="icon" href="images/favicon.png" th:href="@{/images/favicon.png}"/>
        <link rel="stylesheet" href="css/style.css" th:href="@{/css/style.css}"/>
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" 
            integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous"/>
        <title>Limited Cart</title>

        <!--[if lt IE 9]>
            <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
            <script>window.html5 || document.write('<script src="js/vendor/html5shiv.js"><\/script>')</script>
        <![endif]-->
    </head>
    <body>


        <section class="header-top-section">
            <div class="container">
                <div class="row">
                    <div  class="col-md-6">
                        <div class="header-top-content">
                            <ul class="nav nav-pills navbar-left">
                                <li><a href="#"><i class="pe-7s-call"></i><span>123-123456789</span></a></li>
                                <li><a href="#"><i class="pe-7s-mail"></i><span> info@mart.com</span></a></li>
                            </ul>
                        </div>
                    </div>
                    <div  class="col-md-6">
                        <div class="header-top-menu">
                            <ul class="nav nav-pills navbar-right">
                                <!-- 履歴ページへ遷移 -->
                                <li><a th:href="@{/log/{id}(id=${user.id})}">My Purchase Log</a></li>
                                <!-- カートページへ遷移 -->
                                <li><a th:href="@{/cart/{id}(id=${user.id})}">Cart</a></li>
                                <!-- ログアウト -->
                                <li><form th:action="@{/logout}" method="post"><input type="submit" value="logout" style="border:none;background-color:transparent;text-decoration:none;" class="logoutBtn"/></form></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <header class="header-section">
            <nav class="navbar navbar-default">
                <div class="container">
                    <!-- Brand and toggle get grouped for better mobile display -->
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="#"><b>L</b>imited</a>
                    </div>
                </div><!-- /.container -->
            </nav>
        </header>

        <!-- ログインフォーム -->
        <div class="container">
            <p id="cart-p-text"><span id="cart-text">Cart</span></p>
            <!--<form id="login-form" method="post" th:action="@{/login}">
                <div id="email-form">
                    <label for="login-email">Email</label>
                    <input type="email" class="login" name="email" id="login-email" placeholder="Email" required="required"/>
                </div>
                <div id="password-form">
                    <label for="login-password">Password</label>
                    <input type="password" class="login" name="password" id="login-password" placeholder="Password" required="required"/>
                </div>
                <div id="submit-form">
                    <input type="submit" class="login" id="btn" value="Login"/>
                    <!-- 会員登録ボタン -->
                    <!--<button class="js-modal-open" id="sign-up">Sign Up</button>
                </div>
            </form>-->

            <!-- カートの中身一覧 -->
            <div id="cart">
                <table id="cart-table">
                    <thead class="thead">
                        <tr class="row" id="theadTr">
                            <th class="th col-xl-4" id="imageTh">Image</th>
                            <th class="th col-xl-4" id="productNameTh">Product Name</th>
                            <th class="th col-xl-4"id="priceTh">Price</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="row tr">
                            <td class="td col-xl-4"><img src="images/スニーカー2.jpg"/></td>
                            <td class="td col-xl-4"><p class="textP">Convers All Star</p></td>
                            <td class="td col-xl-4"><p class="textP">&yen;10000</p></td>
                        </tr>
                        <tr class="row tr">
                            <td class="td col-xl-4"><img src="images/スニーカー2.jpg"/></td>
                            <td class="td col-xl-4"><p class="textP">Convers All Star</p></td>
                            <td class="td col-xl-4"><p class="textP">&yen;10000</p></td>
                        </tr>
                        <tr class="row tr">
                            <td class="td col-xl-4"><img src="images/スニーカー2.jpg"/></td>
                            <td class="td col-xl-4"><p class="textP">Convers All Star</p></td>
                            <td class="td col-xl-4"><p class="textP">&yen;10000</p></td>
                        </tr>
                        <tr class="row tr">
                            <td class="td col-xl-4"><img src="images/スニーカー2.jpg"/></td>
                            <td class="td col-xl-4"><p class="textP">Convers All Star</p></td>
                            <td class="td col-xl-4"><p class="textP">&yen;10000</p></td>
                        </tr>
                    </tbody>
                </table>
                <div id="buy">
                    <button class="js-modal-open" id="buy-btn">Buy</button>
                </div>
            </div>

        </div>

        <!-- footer -->
        <footer class="footer" id="login-footer">
            <div class="container">
                <div class="row">
                    <div class="col-md-12">
                        <p class="center">Made with <i class="fa fa-heart"></i> by <a href="https://revolthemes.net/" target="_blank">Limited</a>. All Rights Reserved</p>
                        
                    </div>
                </div>
            </div>
        </footer>

        <!-- モーダル中身 -->
        <div class="modal js-modal">
            <div class="modal__bg js-modal-close"></div>
            <div class="modal__content">
                <p id="sign-up-text">Do you really buy?</p>
                <p id="total-price">Total Price<span id="total-price-span">&yen;10000</span></p>
                <div>
                    <button class="js-modal-sign-up" id="ok-btn">Buy</button>
                    <button class="js-modal-close" id="close-btn">Close</button>
                </div>
                <!-- <div class="sign-up-form">
                    <label for="name" class="sign-up-form-label">Name</label>
                    <input type="text" id="name" class="sign-up-form-input" placeholder="Name" required="required"/>
                </div>
                <div class="sign-up-form">
                    <label for="postal-code" class="sign-up-form-label">Postal Code</label>
                    <input type="text" id="postal-code" class="sign-up-form-input" placeholder="Postal Code" required="required"/>
                    <p class="attention">Please enter 7-digit alphanumeric characters with no hyphens.</p>
                </div>
                <div class="sign-up-form">
                    <label for="address" class="sign-up-form-label">Address</label>
                    <input type="text" id="address" class="sign-up-form-input" placeholder="Address" required="required"/>
                    <p class="attention">Please enter numbers in half-width characters.</p>
                </div>
                <div class="sign-up-form">
                    <label for="phone-number" class="sign-up-form-label">Phone Number</label>
                    <input type="text" id="phone-number" class="sign-up-form-input" placeholder="Phone Number" required="required"/>
                    <p class="attention">Please enter 11-digit alphanumeric characters with no hyphens.</p>
                </div>
                <div class="sign-up-form">
                    <label for="email" class="sign-up-form-label">Email</label>
                    <input type="email" id="email" class="sign-up-form-input" placeholder="Email" required="required"/>
                </div>
                <div class="sign-up-form">
                    <label for="password" class="sign-up-form-label">Password</label>
                    <input type="password" id="password" class="sign-up-form-input" placeholder="Password" required="required"/>
                </div>　-->
            </div><!--modal__inner-->
        </div><!--modal-->

        <!-- モーダル用 -->
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
        <!-- JQUERY -->
        <!-- <script src="js/vendor/jquery-1.11.2.min.js" th:src="@{/js/vendor/jquery-1.11.2.min.js}"></script>
        <script src="js/vendor/bootstrap.min.js" th:src="@{/js/vendor/bootstrap.min.js}"></script>
        <script src="js/isotope.pkgd.min.js" th:src="@{/js/isotope.pkgd.min.js}"></script>
        <script src="js/owl.carousel.min.js" th:src="@{/js/owl.carousel.min.js}"></script>
        <script src="js/wow.min.js" th:src="@{/js/wow.min.js}"></script>
        <script src="js/custom.js" th:src="@{/js/custom.js}"></script>-->
        <script src="js/cart.js" th:src="@{/js/cart.js}"></script>

        <!-- BootStrap -->
        <!-- <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
        <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.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script> -->

    </body>
</html>
