mirror of
				https://github.com/StefBuwalda/WebTech.git
				synced 2025-10-30 11:19:58 +00:00 
			
		
		
		
	You can delete services
This commit is contained in:
		| @@ -5,9 +5,14 @@ | ||||
| {%block content%} | ||||
| <div class="grid-container"> | ||||
|     {% for service in services%} | ||||
|     <div onclick="location.href='{{service.url}}';" style="cursor: pointer;" class="container-xxl"> | ||||
|         Name: {{service["name"]}} <br> | ||||
|         URL: {{service["url"]}} | ||||
|     <div> | ||||
|         <form action="{{ url_for('dash.delete_item', service_id=service.id) }}" method="POST" style="display:inline;"> | ||||
|             <button class="delete-btn" type="submit">×</button> | ||||
|         </form> | ||||
|         <div onclick="location.href='{{service.url}}';" style="cursor: pointer;" class="container-xxl"> | ||||
|             Name: {{service["name"]}} <br> | ||||
|             URL: {{service["url"]}} | ||||
|         </div> | ||||
|     </div> | ||||
|     {% endfor %} | ||||
| </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user