mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +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="col-md-6">
|
||||
<div class="list-group">
|
||||
<div class="list-group list-group-two-column">
|
||||
{% for access_point in access_points %}
|
||||
<div class="list-group-item clearfix">
|
||||
{% if access_point.ssid %}
|
||||
<a display="inline-block" width="40%"
|
||||
href="{% url 'networks:add_wifi' access_point.ssid access_point.interface_name %}">
|
||||
{{ access_point.ssid }}
|
||||
</a>
|
||||
{% else %}
|
||||
--
|
||||
{% endif %}
|
||||
<span class="btn btn-primary btn-sm pull-right">
|
||||
<div class="list-group-item">
|
||||
<span class="primary">
|
||||
{% if access_point.ssid %}
|
||||
<a href="{% url 'networks:add_wifi' access_point.ssid access_point.interface_name %}">
|
||||
{{ access_point.ssid }}
|
||||
</a>
|
||||
{% else %}
|
||||
--
|
||||
{% endif %}
|
||||
</span>
|
||||
|
||||
<span class="btn btn-primary btn-sm secondary">
|
||||
{{ access_point.strength }}%
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user