Current File : /home/obabain/autoclutchess_obaba_in/index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>AppAdmin | User Acess</title>
    <!-- Bootstrap core CSS -->
    <link rel="shortcut icon" type="image/x-icon" href="img/ico.ico" />
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/estilos.css" rel="stylesheet">
    <script src="http://cdn.ckeditor.com/4.6.1/standard/ckeditor.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Login ANMS</title>
</head>
<body>
 <header id="header" style="background: linear-gradient(55deg, #0fb8ad 0%, #1fc8db 51%, #2cb5e8 85%);">
      <div class="container" >
        <div class="row" >
          <div class="col-md-12" >
            <h1 class="text-center"><marquee class="col-md-12" style="font-family:Book Antiqua; color:linear-gradient(55deg, #0fb8ad 0%, #1fc8db 51%, #2cb5e8 85%);" scrollamount="12"  scrolldelay="10"><b> </b><p><small style="color:white;margin-left:220px; "></small></p></marquee> </h1>
          </div>
        </div>
      </div>
    </header>

    <section id="mainL">
      <div class="container">
        <div class="row">
          <div class="col-md-8 col-md-offset-2" style="margin-top: -80px;">
            <form id="login" name="loginform" onSubmit="return validateForm();" action="loginValidation.jsp" method="post" class="well">
                  <div class="form-group">
                      <center> 
                          <img style="margin-top: -20px" src="img/img2copy.png" > 
                          </center> 
                   
                    <label class="col-md-3 control-label">Admin Name</label>
                    <input type="text" name="email" class="form-control" placeholder="AdminName" onfocus="if (this.value=='Ingrese su Email') this.value='';" onblur="if (this.value=='') this.value='';" />
                  </div>
                  <div class="form-group">
                    <label class="col-md-3 control-label">Password</label>
                    <input type="password" name="password" class="form-control" placeholder="Password" value="" onfocus="if (this.value=='') this.value='';" onblur="if (this.value=='') this.value='';" />
                    
                  </div>
                  <button type="submit" style="background:linear-gradient(55deg, #0fb8ad 0%, #1fc8db 51%, #2cb5e8 85%);" class="btn btn-info btn-block"><b>Submit</b></button>
<!--                    <a href="AdminRegister.jsp">Register</a> | 
 -->                   <a href="userLogin.jsp">User Login</a> 
              </form>
          </div>
        </div>
      </div>
    </section>

    <footer id="footer">
      <p>Copyright Obaba, &copy; 2017</p>
    </footer>

  <script>
     CKEDITOR.replace( 'editor1' );
 </script>
<script>
    function validateForm() {
    	var un = document.forms["loginform"]["email"].value;   
    	var pw = document.forms["loginform"]["password"].value;   

       /*  var un = document.loginform.email.value;
        var pw = document.loginform.password.value; */
        var username = "admin"; 
        var password = "admin";
        if ((un == username) && (pw == password)) {
            return true;
        }
        else {
            alert ("Login was unsuccessful, please check your username and password");
            return false;
        }
  }
</script>
    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
</body>
</html>