profile.html 11.7 KB
{%  load staticfiles %}
<!doctype html>
<html lang="kr">
<head>
    <meta charset="UTF-8">
    <title>Fileshell 마이페이지</title>

    <style rel="stylesheet">
        @import url(https://fonts.googleapis.com/css?family=Lato:400,700);
        * {
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
        }
        html {
            width: 100%;
            height: 100%;
        }

        body {
            background: -webkit-linear-gradient(45deg, rgba(245, 242, 126, 0.8) 0%, rgba(66, 245, 189, 0.4) 100%);
            background: linear-gradient(45deg, rgba(245, 227, 100, 0.8) 0%, rgba(66, 245, 189, 0.4) 100%);
            color: rgba(0, 0, 0, 0.6);
            font-family: "Roboto", sans-serif;
            font-size: 14px;
            line-height: 1.6em;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        body .container {
            position: relative;
            overflow: hidden;
            width: 700px;
            height: 800px;
            margin: 80px auto 0;
            background-color: #ffffff;
            -moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 30px;
            -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 30px;
            box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 30px;
        }
        body .container .half {
            float: left;
            width: 100%;
            height: 100%;
            padding: 58px 40px 0;
        }
        body .container h1 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 23px;
            text-align: center;
            text-indent: 6px;
            letter-spacing: 7px;
            text-transform: uppercase;
            color: #263238;
        }
        body .container .tabs {
            width: 54%;
            margin-bottom: 29px;
            border-bottom: 1px solid #d9d9d9;
            flaot :left;
            position: relative;
            left:22%;
        }
        body .container .tabs .tab {
            display: inline-block;
            margin-bottom: -1px;
            padding: 20px 15px 10px;
            cursor: pointer;
            letter-spacing: 0;
            border-bottom: 1px solid #d9d9d9;
            -moz-user-select: -moz-none;
            -ms-user-select: none;
            -webkit-user-select: none;
            user-select: none;
            transition: all 0.1s ease-in-out
        }
        body .container .tabs .tab a {
            font-size: 11px;
            text-decoration: none;
            text-transform: uppercase;
            color: #d9d9d9;
            transition: all 0.1s ease-in-out;
        }
        body .container .tabs .tab.active a, body .container .tabs .tab:hover a {
            color: #263238;
        }
        body .container .tabs .tab.active {
            border-bottom: 1px solid #263238;
        }
        body .container .content form {
            position: relative;
            height: 287px;
        }
        body .container .content label:first-of-type, body .container .content input:first-of-type, body .container .content .more:first-of-type {
            -moz-animation: slideIn 0.4s cubic-bezier(0.37, 0.82, 0.2, 1);
            -webkit-animation: slideIn 0.4s cubic-bezier(0.37, 0.82, 0.2, 1);
            animation: slideIn 0.4s cubic-bezier(0.37, 0.82, 0.2, 1);
        }
        body .container .content label:nth-of-type(2), body .container .content input:nth-of-type(2), body .container .content .more:nth-of-type(2) {
            -moz-animation: slideIn 0.5s cubic-bezier(0.37, 0.82, 0.2, 1);
            -webkit-animation: slideIn 0.5s cubic-bezier(0.37, 0.82, 0.2, 1);
            animation: slideIn 0.5s cubic-bezier(0.37, 0.82, 0.2, 1);
        }
        body .container .content label:nth-of-type(3), body .container .content input:nth-of-type(3), body .container .content .more:nth-of-type(3) {
            -moz-animation: slideIn 0.6s cubic-bezier(0.37, 0.82, 0.2, 1);
            -webkit-animation: slideIn 0.6s cubic-bezier(0.37, 0.82, 0.2, 1);
            animation: slideIn 0.6s cubic-bezier(0.37, 0.82, 0.2, 1);
        }
        body .container .content label {
            font-size: 12px;
            color: #263238;
            -moz-user-select: -moz-none;
            -ms-user-select: none;
            -webkit-user-select: none;
            user-select: none;
        }
        body .container .content label:not([for='remember']) {
            display: none;
        }
        body .container .content input.inpt {
            font-size: 14px;
            display: block;
            width: 100%;
            height: 42px;
            margin-bottom: 12px;
            padding: 16px 13px;
            color: #999999;
            border: 1px solid #d9d9d9;
            background: transparent;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;
        }
        body .container .content input.inpt::-webkit-input-placeholder {
            font-size: 14px;
            color: #999999;
            font-family: 'Lato', sans-serif;
        }
        body .container .content input.inpt:-moz-placeholder {
            font-size: 14px;
            color: #999999;
            font-family: 'Lato', sans-serif;
        }
        body .container .content input.inpt::-moz-placeholder {
            font-size: 14px;
            color: #999999;
            font-family: 'Lato', sans-serif;
        }
        body .container .content input.inpt:-ms-input-placeholder {
            font-size: 14px;
            color: #999999;
            font-family: 'Lato', sans-serif;
        }
        body .container .content input.inpt:focus {
            border-color: #999999;
        }
        body .container .content input.submit {
            font-size: 12px;
            line-height: 42px;
            display: block;
            width: 100%;
            height: 42px;
            cursor: pointer;
            vertical-align: middle;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #263238;
            border: 1px solid #263238;
            background: transparent;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;
        }
        body .container .content input.submit:hover {
            background-color: #263238;
            color: #ffffff;
            -moz-transition: all 0.2s;
            -o-transition: all 0.2s;
            -webkit-transition: all 0.2s;
            transition: all 0.2s;
        }
        body .container .content input:focus {
            outline: none;
        }
        body .container .content .checkbox {
            margin-top: 4px;
            overflow: hidden;
            clip: rect(0 0 0 0);
            width: 0;
            height: 0;
            margin: 17px -1px;
            padding: 0;
            border: 0;
        }
        body .container .content .checkbox + label {
            vertical-align: middle;
            display: inline-block;
            width: 50%;
        }
        body .container .content .checkbox + label:before {
            content: "\A";
            color: #999999;
            font-family: Verdana;
            font-weight: bold;
            font-size: 8px;
            line-height: 10px;
            text-align: center;
            display: inline-block;
            vertical-align: middle;
            position: relative;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;
            background: transparent;
            border: 1px solid #d9d9d9;
            width: 11px;
            height: 11px;
            margin: -2px 8px 0 0;
        }
        body .container .content .checkbox:checked + label:before {
            content: "✓";
        }
        body .container .content .submit-wrap {
            position: absolute;
            bottom: 0;
            width: 100%;
        }
        body .container .content .submit-wrap a {
            font-size: 12px;
            display: block;
            margin-top: 20px;
            text-align: center;
            text-decoration: none;
            color: #999999;
        }
        body .container .content .submit-wrap a:hover {
            text-decoration: underline;
        }
        body .container .content .signup-cont {
            display: none;
        }

        @keyframes slideIn {
            0% {
                filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
                opacity: 0;
                margin-left: -320px;
            }
            100% {
                filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
                opacity: 1;
                margin-left: 0px;
            }
        }
        @-webkit-keyframes slideIn {
            0% {
                filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
                opacity: 0;
                margin-left: -320px;
            }
            100% {
                filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
                opacity: 1;
                margin-left: 0px;
            }
        }
        .credits a {
            filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
            opacity: 0.8;
            color: inherit;
            font-weight: 700;
            text-decoration: none;
        }

    </style>
</head>
<body>

<section class="container">
    <article class="half">
        <h1>FILE SHELL</h1>
        <div class="tabs">
            <span class="tab signin active"><a href="#myinfo">내 정보</a></span>
            <span class="tab signup"><a href="#fee">요금제</a></span>
            <span class="tab signup"><a href="#security">보안</a></span>
            <span class="tab signup"><a href="#alarm">알림</a></span>
            <span class="tab signup"><a href="#connectedapp">연결된 앱</a></span>
        </div>
        <div class="content">
            <div class="signin-cont cont">
                <form action=" {% url 'login' %}" method="post" enctype="multipart/form-data">{% csrf_token %}
                    <label for="email">Your email</label>
                    <label for="password">Your password</label>
                </form>
            </div>
            <div class="signup-cont cont">
                <form action= {% url 'signup' %}"" method="post" enctype="multipart/form-data">{% csrf_token %}
                    <input type="username" name="username" id="username" class="input" required="required" placeholder="Your id">
                    <label for="name">Your name</label>
                    <input type="email" name="email" id="email" class="input" required="required" placeholder="Your email">
                    <label for="email">Your email</label>
                    <input type="password" name="password" id="password" class="input" required="required" placeholder="Your password">
                    <label for="password">Your password</label>
                    <div class="submit-wrap">
                        <input type="submit" value="Sign up" class="submit"/>
                    </div>
                </form>
            </div>
        </div>
    </article>
</section>



<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script type="text/javascript">
    $('.tabs .tab').click(function(){
        if ($(this).hasClass('signin')) {
            $('.tabs .tab').removeClass('active');
            $(this).addClass('active');
            $('.cont').hide();
            $('.signin-cont').show();
        }
        if ($(this).hasClass('signup')) {
            $('.tabs .tab').removeClass('active');
            $(this).addClass('active');
            $('.cont').hide();
            $('.signup-cont').show();
        }
    });
</script>
</body>
</html>