mirror of
https://github.com/StefBuwalda/WebTech.git
synced 2025-10-30 11:19:58 +00:00
form
This commit is contained in:
@@ -5,8 +5,12 @@
|
||||
{%block content%}
|
||||
<div class="grid-container">
|
||||
{% for service in services%}
|
||||
<div id="item">
|
||||
<div class="dropdown">
|
||||
<div class="bg-light container-xxl">
|
||||
<div class="row" onclick="location.href='{{service.url}}';" style="cursor: pointer;" >
|
||||
Name: {{service["name"]}} <br>
|
||||
URL: {{service["url"]}}
|
||||
</div>
|
||||
<div class="dots dropdown">
|
||||
<button class="btn btn-light" type="button" id="threeDotDropdown" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
⋮
|
||||
</button>
|
||||
@@ -15,15 +19,12 @@
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li>
|
||||
<form action="{{ url_for('dash.delete_item', service_id=service.id) }}" method="POST" style="display:inline;">
|
||||
<a class="dropdown-item"><button style="none" type="submit">Delete</button></a>
|
||||
<button type="submit" class="dropdown-item">Delete</button>
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<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