WU/Python/templates/signup.html
2018-11-27 15:48:22 +01:00

81 lines
3.2 KiB
HTML

<!DOCTYPE html>
<html lang="pl-PL">
<!--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()">Wstecz</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="/">Strona główna</a></li>
<li role="presentation"><a href="/showSignIn">Zaloguj się</a></li>
<li role="presentation" class="active"><a href="#">Zarejestruj się</a></li>
</ul>
</nav>
<h3 class="text-muted"><center>Python Flask</center></h3>
</div>
<div class="jumbotron">
<h1>Aplikacja Testowa</h1>
<form class="form-signin" action="/signUp" 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="Hasło" required>
<input type="submit" value="Zatwierdź"></input>
<!-- <button id="btnSignUp" class="btn btn-lg btn-primary btn-block" type="button">Potwierdź rejestrację</button> -->
</form>
<form class="form-signin" action="/signUpWithFace" method="get">
<input type="submit" value="Zatwierdź dane twarzy"></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>&copy; UAM 2018</p>
</footer>
</div>
</body>
</html>