Add style to index page

This commit is contained in:
2024-05-14 18:44:12 +02:00
parent f660e71ca7
commit ddcc746744
7 changed files with 274 additions and 30 deletions

View File

@ -107,18 +107,24 @@ if ($path == '') {
<title>Mandanten - Elwig - Elektronische Winzergenossenschaftsverwaltung</title>
<link rel="icon" href="/favicon.ico" sizes="16x16 20x20 24x24 30x30 32x32 36x36 40x40 48x48 60x60 64x64 72x72 80x80 96x96 128x128 256x256"/>
<link rel="stylesheet" href="/res/style.css"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<h1>Mandanten</h1>
<table>
<thead><tr><th>Name</th></tr></thead>
<tbody>
<main>
<section>
<h3>Mandanten</h3>
<p style="text-align: center;"><a href="/">Startseite</a></p>
<table>
<thead><tr><th>Name</th></tr></thead>
<tbody>
<?php foreach ($clients as $c) {
echo " <tr><td><a href='clients/$c'>$c</a></td></tr>\n";
} ?>
</tbody>
</table>
<p><a href="clients?format=json">JSON-Format</a></p>
echo " <tr><td><a href='clients/$c'>$c</a></td></tr>\n";
} ?>
</tbody>
</table>
<p style="text-align: center;"><a href="?format=json">JSON-Format</a></p>
</section>
</main>
</body>
</html>
<?php }