Skip to content

Commit

Permalink
Reduce descr size to make space for poe dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
stveit committed Nov 24, 2023
1 parent 194616c commit 6e8ff9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/nav/web/templates/portadmin/portlist.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<div class="hide-for-small medium-1 column">
Linked
</div>
<div class="hide-for-small medium-4 column">
<div class="hide-for-small {% if supports_poe %}medium-3{% else %}medium-4{% endif %} column">
Port description
</div>
<div class="hide-for-small medium-2 column">
Expand All @@ -37,7 +37,7 @@
</div>
{% endif %}
{% if supports_poe %}
<div class="hide-for-small medium-2 column">
<div class="hide-for-small medium-1 column">
PoE State
</div>
{% endif %}
Expand Down Expand Up @@ -81,7 +81,7 @@
</div>

{# Port Description - input field #}
<div class="medium-4 column">
<div class="{% if supports_poe %}medium-3{% else %}medium-4{% endif %} column">
{% if interface.iseditable and not readonly %}
<input class="ifalias" type="text"
value="{{ interface.ifalias|default_if_none:'' }}"
Expand Down Expand Up @@ -170,7 +170,7 @@
{# POE STATE #}
{% if supports_poe %}
{% if interface.supports_poe %}
<div class="medium-2 small-4 column">
<div class="medium-1 small-4 column">
<form class="custom">
<select class="poelist" name="{{ interface.ifname }}">
{% for poe_option in poe_options %}
Expand Down

0 comments on commit 6e8ff9f

Please sign in to comment.