html-sites #3

Merged
TorstenHettstedt merged 10 commits from html-sites into master 2021-04-08 20:16:00 +02:00
3 changed files with 86 additions and 66 deletions
Showing only changes of commit 89ad394773 - Show all commits
+4 -1
View File
@@ -1,8 +1,11 @@
<header>
Arbeitszeiten
</header>
<Nav {active} />
<main>
<svelte:component this={Route} {params} />
</main>
<footer><p>© Torsten Lücke 2021</p></footer>
<script>
import Navaid from 'navaid';
+6 -1
View File
@@ -6,8 +6,11 @@
<title>{params.title}</title>
</svelte:head>
<section id="list-records">
<header>
<h1>{params.title}</h1>
</header>
<article>
<table>
<thead>
<tr>
@@ -28,3 +31,5 @@
{/each}
</tbody>
</table>
</article>
</section>
+14 -2
View File
@@ -13,9 +13,12 @@
<title>{title}</title>
</svelte:head>
<h1>{title}</h1>
{#if activeRecord === null}
<section id="list-records">
<header>
<h1>{title}</h1>
</header>
<article>
<table>
<thead>
<tr>
@@ -37,7 +40,14 @@
{/each}
</tbody>
</table>
</article>
</section>
{:else}
<section id="edit-record">
<header>
<h1>{title}</h1>
</header>
<article>
<!--suppress HtmlUnknownTarget -->
<form action="/working-hours" name="editRecord">
<fieldset name="record-data">
@@ -57,4 +67,6 @@
<button>Abbrechen <IconifyIcon icon={xIcon} /></button>
</fieldset>
</form>
</article>
</section>
{/if}