File tree Expand file tree Collapse file tree 4 files changed +3
-7
lines changed Expand file tree Collapse file tree 4 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 4545 </ div >
4646 {% elif perms.dcim.add_cable %}
4747 < div class ="dropdown ">
48- < button type ="button " class ="btn btn-success dropdown-toggle " data-bs-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
48+ < button type ="button " class ="btn btn-primary dropdown-toggle " data-bs-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
4949 < span class ="mdi mdi-ethernet-cable " aria-hidden ="true "> </ span > {% trans "Connect" %}
5050 </ button >
5151 < ul class ="dropdown-menu ">
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ <h2 class="card-header">{% trans "Connection" %}</h2>
6565 {% trans "Not Connected" %}
6666 {% if perms.dcim.add_cable %}
6767 < div class ="dropdown float-end ">
68- < button type ="button " class ="btn btn-primary btn-sm dropdown-toggle " data-bs-toggle ="dropdown " aria-expanded ="false ">
68+ < button type ="button " class ="btn btn-primary dropdown-toggle " data-bs-toggle ="dropdown " aria-expanded ="false ">
6969 < span class ="mdi mdi-ethernet-cable " aria-hidden ="true "> </ span > {% trans "Connect" %}
7070 </ button >
7171 < ul class ="dropdown-menu dropdown-menu-end ">
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ <h2 class="card-header">{% trans "Connection" %}</h2>
6565 {% trans "Not Connected" %}
6666 {% if perms.dcim.add_cable %}
6767 < div class ="dropdown float-end ">
68- < button type ="button " class ="btn btn-primary btn-sm dropdown-toggle " data-bs-toggle ="dropdown " aria-expanded ="false ">
68+ < button type ="button " class ="btn btn-primary dropdown-toggle " data-bs-toggle ="dropdown " aria-expanded ="false ">
6969 < span class ="mdi mdi-ethernet-cable " aria-hidden ="true "> </ span > {% trans "Connect" %}
7070 </ button >
7171 < ul class ="dropdown-menu dropdown-menu-end ">
Original file line number Diff line number Diff line change @@ -118,10 +118,6 @@ <h2 class="card-header">{% trans "Connection" %}</h2>
118118 {% else %}
119119 < div class ="card-body text-muted ">
120120 {% trans "Not connected" %}
121- </ div >
122- {% endif %}
123- {% if not object.mark_connected and not object.cable %}
124- < div class ="card-footer ">
125121 {% if perms.dcim.add_cable %}
126122 < a href ="{% url 'dcim:cable_add' %}?a_terminations_type=dcim.powerfeed&a_terminations={{ object.pk }}&b_terminations_type=dcim.powerport&return_url={{ object.get_absolute_url }} " class ="btn btn-primary float-end ">
127123 < i class ="mdi mdi-ethernet-cable " aria-hidden ="true "> </ i > {% trans "Connect" %}
You can’t perform that action at this time.
0 commit comments