Teil 19 Flask.
This commit is contained in:
23
teil19/renderhtml/templates/students.html
Normal file
23
teil19/renderhtml/templates/students.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang='de'>
|
||||
<head>
|
||||
<meta charset='utf-8' />
|
||||
<title>Schüler</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>
|
||||
Schülerverzeichnis
|
||||
</p>
|
||||
<ul>
|
||||
{% for s in schueler %}
|
||||
{%if s['name'] == "Simpson" %}
|
||||
<li><b>{{s['name']}}, {{s['vorname']}}</b></li>
|
||||
{%else %}
|
||||
<li>{{s['name']}}, {{s['vorname']}}</li>
|
||||
{%endif %}
|
||||
{%endfor %}
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user