Skip to content

Commit 2f34858

Browse files
committed
🚀 Adding tooltip to container action button
1 parent 0fbe075 commit 2f34858

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pydocker/manager/templates/manager/components/containers_grid.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020
<a
2121
class="btn-container-start"
2222
container-id="{{ container.Id }}"
23-
href="{% url 'container_start' %}">
23+
href="{% url 'container_start' %}"
24+
data-toggle="tooltip"
25+
data-placement="right"
26+
title="Start container"
27+
>
2428
<span class="fa fa-circle color-gray"></span>
2529
</a>
2630

@@ -29,6 +33,9 @@
2933
class="btn-container-stop"
3034
container-id="{{ container.Id }}"
3135
href="{% url 'container_stop' %}"
36+
data-toggle="tooltip"
37+
data-placement="right"
38+
title="Stop container"
3239
>
3340
<span class="fa fa-circle color-green"></span>
3441
</a>

0 commit comments

Comments
 (0)