handlebars lekcja 1
This commit is contained in:
1 parent
e42104c4fb
commit
527e0a34bb
1265 files changed
+213278
No files matched your search
@@ -0,0 +1 @@
|
||||
<h1>01: to jest strona index</h1>
|
||||
@@ -0,0 +1,4 @@
|
||||
<h1>{{ subject }}</h1>
|
||||
{{#each books}}
|
||||
<p class="pole1">{{title}}</p>
|
||||
{{/each}}
|
||||
@@ -0,0 +1,9 @@
|
||||
<h1>{{ subject }}</h1>
|
||||
<form action="handle04">
|
||||
<select name="field" id="field" size="3">
|
||||
{{#each fields}}
|
||||
<option>{{name}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
<input type="submit" value="Wyślij">
|
||||
</form>
|
||||
@@ -0,0 +1,4 @@
|
||||
<h1>{{ subject }}</h1>
|
||||
{{#each books}}
|
||||
<p class="pole1">{{ value }}</p>
|
||||
{{/each}}
|
||||
@@ -0,0 +1,8 @@
|
||||
<h1>{{ subject }}</h1>
|
||||
<form action="handle04">
|
||||
{{#each fields}}
|
||||
<input type="radio" name="field" value="{{name}}" id="field{{@index}}"><label
|
||||
for="field{{@index}}">{{name}}</label><br>
|
||||
{{/each}}
|
||||
<input type="submit" value="Wyślij">
|
||||
</form>
|
||||
@@ -0,0 +1,7 @@
|
||||
<h1>{{ subject }}</h1>
|
||||
<form action="handle04">
|
||||
{{#each fields}}
|
||||
<input type="checkbox" name="{{name}}" id="field{{@index}}"><label for="field{{@index}}">{{name}}</label><br>
|
||||
{{/each}}
|
||||
<input type="submit" value="Wyślij">
|
||||
</form>
|
||||
@@ -0,0 +1,5 @@
|
||||
<h1>{{ subject }}</h1>
|
||||
<p class="pole1"><span style="color: purple;">tekst wyjściowy: </span>{{ text }}</p>
|
||||
<p class="pole1"><span style="color: purple;">10 znaków: </span>{{ short_title text }}</p>
|
||||
<p class="pole1"><span style="color: purple;">duże litery: </span>{{ capitals text }}</p>
|
||||
<p class="pole1"><span style="color: purple;">myślniki: </span>{{ dashes text }}</p>
|
||||
@@ -0,0 +1,9 @@
|
||||
<h1>{{ subject }}</h1>
|
||||
<form method="post">
|
||||
<input type="text" name="str">
|
||||
<input type="submit" value="Wyślij">
|
||||
</form>
|
||||
<p class="pole1"><span style="color: purple;">tekst wyjściowy: </span>{{ text }}</p>
|
||||
<p class="pole1"><span style="color: purple;">10 znaków: </span>{{ short_title text }}</p>
|
||||
<p class="pole1"><span style="color: purple;">duże litery: </span>{{ capitals text }}</p>
|
||||
<p class="pole1"><span style="color: purple;">myślniki: </span>{{ dashes text }}</p>
|
||||
@@ -0,0 +1,18 @@
|
||||
<!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.0">
|
||||
<title>Lekcja 06</title>
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
{{{body}}}
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1 @@
|
||||
<h1>01: to jest strona login</h1>
|
||||
@@ -0,0 +1,3 @@
|
||||
<h1>{{ subject }}</h1>
|
||||
<p class="pole1">{{ content }}</p>
|
||||
<footer class="stopka1">{{ footer }}</footer>
|
||||
Reference in new issue
Block a user