Teil 19 Flask.
This commit is contained in:
		
							
								
								
									
										14
									
								
								teil19/renderhtml/templates/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								teil19/renderhtml/templates/index.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
 | 
			
		||||
<html lang='en'>
 | 
			
		||||
<head>
 | 
			
		||||
  <meta charset='utf-8' />
 | 
			
		||||
  <title>Title von templates/index.html</title>
 | 
			
		||||
</head>
 | 
			
		||||
 | 
			
		||||
<body>
 | 
			
		||||
 <p>
 | 
			
		||||
   Hier steht der <strong>Text der Seite <em>{{counter}}</em></strong>
 | 
			
		||||
  </p>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
							
								
								
									
										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