82 lines
3.3 KiB
HTML
82 lines
3.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Python Flask App</title>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
|
<link rel="stylesheet" type="text/css" href="signup.css">
|
|
<!-- <link href="http://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet"> -->
|
|
|
|
<link href="http://getbootstrap.com/examples/jumbotron-narrow/jumbotron-narrow.css" rel="stylesheet">
|
|
<link href="../static/signup.css" rel="stylesheet">
|
|
<script src="../static/js/jquery-1.12.3.min.js"></script>
|
|
|
|
<!-- <script type="text/javascript"> -->
|
|
<!-- $(function() { -->
|
|
<!-- $('#btnSignUp').click(function() { -->
|
|
|
|
<!-- $.ajax({ -->
|
|
<!-- url: '/signUp', -->
|
|
<!-- data: $('form').serialize(), -->
|
|
<!-- type: 'POST', -->
|
|
<!-- success: function(response) { -->
|
|
<!-- console.log(response); -->
|
|
<!-- }, -->
|
|
<!-- error: function(error) { -->
|
|
<!-- console.log(error); -->
|
|
<!-- } -->
|
|
<!-- }); -->
|
|
<!-- }); -->
|
|
<!-- }); -->
|
|
<!-- </script> -->
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
<div class="header">
|
|
<nav>
|
|
<ul class="nav nav-pills pull-left">
|
|
<li role="presentation" class="active"><a href="javascript:history.back()">Back</a>
|
|
</li>
|
|
<li role="presentation" class="active"><a href="showSignUp">PL</a>
|
|
</li>
|
|
</ul>
|
|
<ul class="nav nav-pills pull-right">
|
|
<!--<li role="presentation" ><a href="main">Strona główna</a></li>-->
|
|
<li role="presentation" ><a href="/indexENG">Home</a></li>
|
|
<li role="presentation"><a href="/showSignInENG">Sign in</a></li>
|
|
<li role="presentation" class="active"><a href="#">Register</a></li>
|
|
</ul>
|
|
</nav>
|
|
<h3 class="text-muted"><center>Python Flask</center></h3>
|
|
</div>
|
|
|
|
<div class="jumbotron">
|
|
<h1>Test Application</h1>
|
|
<form class="form-signin" action="/signUpENG" method="post">
|
|
<label for="inputLogin" class="sr-only">Login</label>
|
|
<input type="name" name="inputLogin" id="inputLogin" class="form-control" placeholder="Login" required autofocus>
|
|
<label for="inputPassword" class="sr-only">Password</label>
|
|
<input type="password" name="inputPassword" id="inputPassword" class="form-control" placeholder="Password" required>
|
|
<input type="submit" value="Submit"></input>
|
|
<!-- <button id="btnSignUp" class="btn btn-lg btn-primary btn-block" type="button">Potwierdź rejestrację</button> -->
|
|
</form>
|
|
<form class="form-signin" action="/signUpWithFaceENG" method="get">
|
|
|
|
<input type="submit" value="Confirm the face data"></input>
|
|
<!-- <button id="btnSignUp" class="btn btn-lg btn-primary btn-block" type="button">Potwierdź rejestrację</button> -->
|
|
</form>
|
|
<!--<button id="btnSignUp" class="btn btn-lg btn-primary btn-block" type="button">Potwierdź rejestrację</button>-->
|
|
</div>
|
|
|
|
|
|
|
|
<footer class="footer">
|
|
<p>© UAM 2018</p>
|
|
</footer>
|
|
|
|
</div>
|
|
</body>
|
|
</html> |