mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
networks: Use common styling for Wi-Fi network list
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
55880e8f0b
commit
4b10d525bd
@ -12,18 +12,20 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="list-group">
|
<div class="list-group list-group-two-column">
|
||||||
{% for access_point in access_points %}
|
{% for access_point in access_points %}
|
||||||
<div class="list-group-item clearfix">
|
<div class="list-group-item">
|
||||||
{% if access_point.ssid %}
|
<span class="primary">
|
||||||
<a display="inline-block" width="40%"
|
{% if access_point.ssid %}
|
||||||
href="{% url 'networks:add_wifi' access_point.ssid access_point.interface_name %}">
|
<a href="{% url 'networks:add_wifi' access_point.ssid access_point.interface_name %}">
|
||||||
{{ access_point.ssid }}
|
{{ access_point.ssid }}
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
--
|
--
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span class="btn btn-primary btn-sm pull-right">
|
</span>
|
||||||
|
|
||||||
|
<span class="btn btn-primary btn-sm secondary">
|
||||||
{{ access_point.strength }}%
|
{{ access_point.strength }}%
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user