Thursday, January 14, 2021

Signup form for restaurant management system

 To run this from on your system perform the following steps carefully:

1.Copy CSS code and save in a file with the name of eaglesoft.css  ;

2.Copy HTML code and save in a file with the name of index.html ;

3.For view open your index file in you favourite web browser ;


CSS CODE:

body

{

    margin: 0;

    padding: 0;

    background: #efefef;

    font-size: 16px;

    color: #777;

    font-family: sans-serif;

    font-weight: 300;

}



#login-box

{

    position: relative;

    margin: 5% auto;

    height: 400px;

    width: 600px;

    background: #fff;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);

}



footer {

    background-color: #555;

    color: #fff;

    font-size: 14px;

    bottom: 0;

    position: fixed;

    left: 0;

    right: 0;

    text-align: center;

    z-index: 999;

}

footer p {

    margin: 10px 0;

    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida  Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

}

footer a {

    color: #ff6f61;

    text-decoration: none;

  margin-right:5px;



}



.left-box

{

    position: absolute;

    top: 0;

    left: 0;

    box-sizing: border-box;

    padding: 40px;

    width: 300px;

    height: 400px;    

}



h1

{

    margin: 0 0 20px 0;

    font-weight: 300;

    font-size: 28px;

}



input[type="text"],

input[type="password"]

{

    display: block;

    box-sizing: border-box;

    margin-bottom: 20px;

    padding: 4px;

    width: 220px;

    height: 32px;

    border: none;

    outline: none;

    border-bottom: 1px solid #aaa;

    font-family: sans-serif;

    font-weight: 400;

    font-size: 15px;

    transition: 0.2s ease;

}



input[type="submit"]

{

    margin-bottom: 28px;

    width: 120px;

    height: 32px;

    background: #ff0080;

    border: none;

    border-radius: 2px;

    color: #fff;

    font-family: sans-serif;

    font-weight: 500;

    text-transform: uppercase;

    transition: 0.2s ease;

    cursor: pointer;

    

}



input[type="submit"]:hover,

input[type="submit"]:focus

{

    background: #ff0000;

    transition: 0.2s ease;

}



.right-box

{

    position: absolute;

    top: 0;

    right: 0;

    box-sizing: border-box;

    padding: 40px;

    width: 300px;

    height: 400px;

    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf9rU1c1b16h1kGfop1zYDGgE6KPiSVGG9rAzDBwcnOTMbQ_kN9n0_VrmpPee9hy7jLFUJvNO0HnSnQ_EJEN4f-ogcuDUvDvRrtdKB88pu4L-6Pd9SWnmDmTZaLHOkkjx0wCHN35MuNSCO/s2048/image1.jpeg);


    background-size: cover;

    background-position: center;

}



.or

{

    position: absolute;

    top: 180px;

    left: 280px;

    width: 40px;

    height: 40px;

    background: #efefef;

    border-radius: 50%;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);

    line-height: 40px;

    text-align: center;

}



.right-box .signinwith

{

    display: block;

    margin-bottom: 40px;

    font-size: 28px;

    color: #fff;

    text-align: center;

    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);

}





button.social

{

    margin-bottom: 20px;

    width: 220px;

    height: 36px;

    border: none;

    border-radius: 2px;

    color: #fff;

    font-family: sans-serif;

    font-weight: 500;

    transition: 0.2s ease;

    cursor: pointer;

}



.facebook

{

    background: #32508e;

}

.twitter

{

    background: #55acee;

}

.google

{

    background: #dd4b39;

}

HTML CODE:




 

<html>

<head>

<title>Signup Now</title>   

    <link rel="stylesheet" type="text/css" href="eaglesoft.css">

</head>

<body style="background-image: url(https://www.discoverlosangeles.com/sites/default/files/styles/hero/public/images/2019-01/lower-patio.jpg?itok=KGYP49fO)">

 



    <div id="login-box">

      <div class="left-box">

        <h1> Sign Up</h1>

          

          <input type="text" name="username" placeholder="Username"/>

          <input type="text" name="email" placeholder="Email"/>

          <input type="password" name="password" placeholder="Password"/>

        

          <input type="password" name="password2" placeholder="Retype password"/>

        

          <input type="submit" name="signup-button" value="Sign Up"/>

        

        </div>

        <div class="right-box">

          <span class="signinwith">Sign in with<br/>Social Network     </span>

        

        <button class="social facebook">Log in with Facebook</button>    

        <button class="social twitter">Log in with Twitter</button> 

        <button class="social google">Log in with Google+</button> 

            

        

        </div>

        <div class="or">OR</div>

    </div>

    <footer>

    <p>

    Developed by

    <a target="_blank" href="http://eaglesoft.com.pk/">Eaglesoft</a>

      </p>



</footer>

</body>    

</html>

1 comment: