uni-repo/ub2_pro/templates/index.html

53 lines
1.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Mitarbeiterliste</title>
<style>
body {
font-family: Verdana, Arial, sans-serif;
background-color: AliceBlue;
}
.mitarbeiter {
border: 1px solid lightgray;
border-radius: 10px;
background-color: white;
padding: 15px;
margin: 15px;
display: inline-block;
width: 250px;
vertical-align: top;
box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}
.mitarbeiter img {
max-width: 100%;
border-radius: 50%;
}
footer {
margin-top: 40px;
font-size: 0.9em;
color: gray;
}
</style>
</head>
<body>
<h1>Mitarbeiterliste</h1>
{% for m in mitarbeiterliste %}
<div class="mitarbeiter">
<a href="/detail/{{ m.id }}">
<img src="{{ m.bildpfad }}" alt="Profilbild von {{ m.vorname }}" width="150" height="150">
</a>
<p><strong>{{ m.vorname }} {{ m.nachname }}</strong></p>
<p>{{ m.strasse }}</p>
<p>{{ m.ort }}</p>
<p>{{ m.telefon }}</p>
</div>
{% endfor %}
<footer>
Autor: Butenhoff <a href="mailto:tobu6289@th-wildau.de">tobu6289@th-wildau.de</a>
</footer>
</body>
</html>