Lekcja 08 projekt auta cz1

This commit is contained in:
aplikacje committed 2026-10-22 10:52:16 +02:00
1 parent 8fc98ebf9d
commit d60f8a91a7
1543 files changed
+255781

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
<h2>list cars</h2>
<section>
<table>
<tr>
<th>_id</th>
<th>model</th>
<th>ubezpieczony</th>
<th>benzyna</th>
<th>uszkodzony</th>
<th>naped4x4</th>
<th></th>
</tr>
{{#each car}}
<tr>
<td>{{_id}}</td>
<td>{{model}}</td>
<td>{{ubezpieczony}}</td>
<td>{{benzyna}}</td>
<td>{{uszkodzony}}</td>
<td>{{naped4x4}}</td>
<td style="text-align: center;">
<button
onclick="alert(`id: {{_id}}\nModel: {{model}}\nubezpieczony: {{ubezpieczony}}\nbenzyna: {{benzyna}}\nuszkodzony: {{uszkodzony}}\nnaped4x4: {{naped4x4}}`);">INFO</button>
</td>
</tr>
{{/each}}
</table>
</section>