router.html: Highlight WiFi interfaces details

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2018-01-08 14:08:58 +01:00
parent 232e8fe6f0
commit de7c5b2874
1 changed files with 8 additions and 4 deletions

View File

@ -26,6 +26,10 @@
li.list-group-item:hover { li.list-group-item:hover {
background-color: #f5f5f5; background-color: #f5f5f5;
} }
.wlaninfo {
font-weight:bold;
font-style:italic;
}
/* hack to remove flex css on small single-column layout */ /* hack to remove flex css on small single-column layout */
@media(max-width:991px) { @media(max-width:991px) {
@ -273,16 +277,16 @@
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12" style="padding-bottom:6px;font-size:14px"> <div class="col-xs-12 col-sm-12" style="padding-bottom:6px;font-size:14px">
{%- if netif.wlan_type -%} {%- if netif.wlan_type -%}
{{netif.wlan_type}},&nbsp; <span class="wlaninfo">{{netif.wlan_type}}</span>,&nbsp;
{%- endif -%} {%- endif -%}
{%- if netif.wlan_channel -%} {%- if netif.wlan_channel -%}
Channel: {{netif.wlan_channel}},&nbsp; Channel: <span class="wlaninfo">{{netif.wlan_channel}}</span>,&nbsp;
{%- endif -%} {%- endif -%}
{%- if netif.wlan_ssid -%} {%- if netif.wlan_ssid -%}
SSID: {{netif.wlan_ssid}},&nbsp; SSID: <span class="wlaninfo">{{netif.wlan_ssid}}</span>,&nbsp;
{%- endif -%} {%- endif -%}
{%- if netif.wlan_txpower -%} {%- if netif.wlan_txpower -%}
Tx-Power: {{netif.wlan_txpower}} Tx-Power: <span class="wlaninfo">{{netif.wlan_txpower}}</span>
{%- endif -%} {%- endif -%}
</div> </div>
</div> </div>