AfterLogin_Inputpage.html 2.22 KB
<!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">
    <title>Input Page</title>
    <script src="jquery.js"></script>
    <script>

    $(function(){

        $("#go").hover(function(){
            $("#go").css({"background-color":"white", "color": "rgb(104, 211, 104)"});
        },
        function(){
            $("#go").css({"color":"white", "background-color": "rgb(104, 211, 104)"});
        });


    });

    </script>
    <style>

    #banner {
            position: absolute;
            top: 0;
            width: 100%;
            margin-top: 5ch;
            color: white;
        }

    #footer {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 50px;
            text-align: center;
            color: white;
        }

    #logout{
        position:absolute;
        right: 20ch;
    }


    </style>
</head>
<body>
    <img src = "images\main_background.jpg" alt="" style="z-index:-1; min-width: 100%; height: 700px;"></img>
    <div id="banner">
        <h1 style="width: 100%; text-align: center; font-size: 40px;">오늘은 얼마나 먹었어요?</h1>
        <input id ="logout" type="submit" value="Logout" class="btn btn-default" style=" width:100px;font-weight: bold; font-size: 18px; background-color: white;">

    <br><br><br>

    <div id = "input-ing" style="width:100%; text-align: center;">
            <form action="/starting" method="post">
                <div class="form-inline">

                    <p style="text-decoration-line: underline; font-weight:bold;">오늘 먹은 것들을 적어주세요!</p>

                    <input type="text" style="width:30%; height:130px;" placeholder="ex) coffee and croissant">
                    <br><br><br><br>

                    <input id="go" type="button" value="Go!" style=" width:100px; height:80px; font-weight: bold; color:white; font-size: 25px; background-color: rgb(104, 211, 104); border-radius: 2em;">


                </div>
            </form>
        </div>

    </div>

    <div id="footer">오픈소스SW Project 2019-1 고다경 김용재 김태희</div>
</body>
</html>