fix connection toggle button style

This commit is contained in:
checktheroads 2021-04-20 09:38:13 -07:00
parent 99f0e31810
commit d171e781d2
4 changed files with 2 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -68,6 +68,7 @@ function toggleConnection(element: HTMLButtonElement) {
row.classList.remove('success');
row.classList.add('info');
element.classList.remove('connected', 'btn-warning');
element.classList.add('btn-info');
element.title = 'Mark Installed';
icon.classList.remove('mdi-lan-disconnect');
icon.classList.add('mdi-lan-connect');

View File

@ -4,7 +4,7 @@
<i class="mdi mdi-lan-disconnect" aria-hidden="true"></i>
</button>
{% else %}
<button type="button" class="btn btn-success btn-sm cable-toggle" title="Mark Installed" data="{{ cable.pk }}">
<button type="button" class="btn btn-info btn-sm cable-toggle" title="Mark Installed" data="{{ cable.pk }}">
<i class="mdi mdi-lan-connect" aria-hidden="true"></i>
</button>
{% endif %}