W7 done
This commit is contained in:
parent
a101924587
commit
f662d9933f
13 changed files with 2691 additions and 0 deletions
31
w6/templates/categoryPage.html
Normal file
31
w6/templates/categoryPage.html
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<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>Goods page</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Smooch+Sans:wght@300;400;700&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/css/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<main id="mainPageMain">
|
||||
<section class="goodsSection">
|
||||
<a href="/">>>> Go home</a>
|
||||
<hr>
|
||||
<h2>Goods in category "{{category}}":</h2>
|
||||
<div class="goods">
|
||||
{{#goods}}
|
||||
<div class="goodsCard">
|
||||
<h3>{{title}} # {{id}}</h3>
|
||||
<p class="description">{{description}}</p>
|
||||
<a class="goodsLink" href="/goods/{{guid}}">More info...</a>
|
||||
</div>
|
||||
{{/goods}}
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue