Lekcja 2
This commit is contained in:
1 parent
0d1dce5535
commit
72ed8ef789
612 files changed
+64975
No files matched your search
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pl">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Add User</title>
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form action="/handle_form" method="post">
|
||||
<div>
|
||||
<label for="nick">Nick</label>
|
||||
<input type="text" id="nick" name="nick">
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<div>
|
||||
<label for="email">Adres e-mail:</label>
|
||||
<input type="email" id="email" name="email">
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<input type="submit" value="Sprzedaj dane">
|
||||
</form>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,47 @@
|
||||
table {
|
||||
font-family: monospace;
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
th {
|
||||
background: cornflowerblue;
|
||||
padding: .5em;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: .5em;
|
||||
background-color: lightgray;
|
||||
}
|
||||
|
||||
input[type="submit"] {
|
||||
border: none;
|
||||
background-color: lightgray;
|
||||
font-family: monospace;
|
||||
font-size: 2em;
|
||||
padding: .5em;
|
||||
}
|
||||
|
||||
|
||||
input[type="submit"]:hover {
|
||||
cursor: pointer;
|
||||
background-color: cornflowerblue;
|
||||
}
|
||||
|
||||
label {
|
||||
font-family: monospace;
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
input {
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
label {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
div {
|
||||
width: 1024px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pl">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Formularz</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form action="/handle_form" method="get">
|
||||
<input type="hidden" name="hidden" value="whata">
|
||||
<input type="color" name="colour">
|
||||
<input type="radio" name="radio">
|
||||
<input type="checkbox" name="checkboxes" value="ca">
|
||||
<input type="checkbox" name="checkboxes" value="cb"><br>
|
||||
<input type="submit" value="Wyślij">
|
||||
</form>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pl">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Formularz POST</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form action="/handle_form" method="post">
|
||||
<input type="hidden" name="hidden" value="whata">
|
||||
<input type="color" name="colour">
|
||||
<input type="radio" name="radio">
|
||||
<input type="checkbox" name="checkboxes" value="ca">
|
||||
<input type="checkbox" name="checkboxes" value="cb"><br>
|
||||
<input type="submit" value="Wyślij">
|
||||
</form>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user