mirror of
https://github.com/StefBuwalda/WebTech.git
synced 2025-10-30 11:19:58 +00:00
styling
This commit is contained in:
@@ -5,10 +5,21 @@
|
||||
{%block content%}
|
||||
<div class="grid-container">
|
||||
{% for service in services%}
|
||||
<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 id="item">
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-light" type="button" id="threeDotDropdown" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
⋮
|
||||
</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="threeDotDropdown">
|
||||
<li><a class="dropdown-item">Edit</a></li>
|
||||
<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>
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div onclick="location.href='{{service.url}}';" style="cursor: pointer;" class="container-xxl">
|
||||
Name: {{service["name"]}} <br>
|
||||
URL: {{service["url"]}}
|
||||
@@ -16,4 +27,5 @@
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{%endblock%}
|
||||
{%endblock%}
|
||||
|
||||
Reference in New Issue
Block a user