PracowniaProgramowania/trening-planer/rejestracja.html

106 lines
3.8 KiB
HTML
Raw Normal View History

2019-01-16 23:47:03 +01:00
<!DOCTYPE html>
<html lang="pl">
<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>Twoj trening</title><link rel="Shortcut icon" href="img/logo2.jpg" />
<link type="text/css" href="/static/css/bootstrap.min.css" rel="stylesheet">
<link rel="Stylesheet" type="text/css" href="/static/css_moje/style_moje.css" />
<link href="http://fonts.googleapis.com/css?family=Roboto:400,700,400italic,500italic&subset=latin,latin-ext" rel="stylesheet">
<script>
function placeOrder2(form) {
if (sprawdzanieFormularza(Haslo2)) {
form.submit()}
}
function sprawdzanieFormularza(inputField){
var regex=document.getElementById('Haslo').value;
var regex2=document.getElementById('Haslo2').value;
if(regex!= regex2){
alert("HAsła muszą być takie same");
}
}
</script>
<style>body {
font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<nav class="navbar navbar-default navbar-fixed-top " style="background-color: #efefef;">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse"
data-target="#mainmenu"
aria-expanded="false">
<span class="sr-only">Przełącznik nawigacji</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse navbar-right mainmenu" id="mainmenu">
<ul class="nav navbar-nav">
<li><a class="nav-link" href="/logowanie">Logowanie</a></li>
2019-01-28 21:15:21 +01:00
<li><a class="nav-link lista-menu" href="/rejestracja/">Zarejestruj</a></li>
2019-01-16 23:47:03 +01:00
<li><a class="nav-link" href="/start/">Start</a></li>
</ul>
</div>
</div>
</nav>
</div>
<br>
<div class="container" style="margin-top:100px;">
<div class="row">
<div class="rejestracja col-lg-offset-4 col-lg-4 text-center" style="background-color: #efefef; border-radius: 20%; text-align: center; height: 280px; width:350px; padding: 70px">
<form action="/rejestracja/" method="POST" >
<div class="col-lg-12 text-center">
<p>
{{ .Opis }}
</p>
<input type="text" class="form-control" name="Login" placeholder="Login" style="width: 150px; margin-bottom: 15px">
2019-01-28 21:15:21 +01:00
<input type="password" class="form-control" name="Haslo" id="Haslo" placeholder="Haslo" style="width: 150px; margin-bottom: 15px">
<input type="password" class="form-control" name="Haslo2" id="Haslo2" placeholder="Haslo" onblur ="sprawdzanieFormularza(this);" style="width: 150px; margin-bottom: 15px" >
2019-01-16 23:47:03 +01:00
</div>
2019-01-20 14:22:01 +01:00
<button type="submit" class="btn btn-default">Zarejestruj</button>
2019-01-16 23:47:03 +01:00
</form>
</div></div></div>
<div class="container footer">
<div class="row" >
<div class="col-xs-12">
<p>Wszystkie prawa zastrzeżone. <strong>mój</strong>produkt &copy; 2015<br>
<small>kontakt@mojprodukt.pl</small>
</p>
</div>
</div>
</div>
<div class="collapse navbar-collapse navbar-right form-horizontal"></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</body>
</html>