Add gaps web page template
This commit is contained in:
		
							parent
							
								
									5805c49fe3
								
							
						
					
					
						commit
						e95f2381f1
					
				
							
								
								
									
										19
									
								
								templates/gaps.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								templates/gaps.html
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,19 @@
 | 
			
		|||
{% extends "base.html" %}
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
<div class="p-2">
 | 
			
		||||
 | 
			
		||||
<h1>Gaps</h1>
 | 
			
		||||
<table class="table table-hover w-auto">
 | 
			
		||||
{% for start, end in gaps %}
 | 
			
		||||
<tr>
 | 
			
		||||
  <td class="text-end">{{ start.strftime("%A, %-d %b %Y") }}</td>
 | 
			
		||||
  <td class="text-end">{{ end.strftime("%A, %-d %b %Y") }}</td>
 | 
			
		||||
  <td>{{ (end - start).days }} days</td>
 | 
			
		||||
</tr>
 | 
			
		||||
{% endfor %}
 | 
			
		||||
</table>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in a new issue