mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
networks: increased column size; added TODO
This commit is contained in:
parent
7170d3db38
commit
81e09a1280
@ -85,6 +85,9 @@ def show(request, uuid):
|
||||
interface_name = connection_status['interface_name']
|
||||
if interface_name:
|
||||
device = network.get_device_by_interface_name(interface_name)
|
||||
else:
|
||||
# TODO: What to do in this situation?
|
||||
raise RuntimeError('Could not get device status')
|
||||
|
||||
device_status = network.get_status_from_device(device)
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="col-sm-8">
|
||||
<div>
|
||||
<a href="{% url 'networks:edit' connection.uuid %}"
|
||||
class="btn btn-primary" role="button"
|
||||
|
||||
@ -56,7 +56,7 @@
|
||||
{% block content %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="col-sm-8">
|
||||
<div class="list-group">
|
||||
{% for connection in connections %}
|
||||
<div class="list-group-item clearfix">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user