ip_address editable

This commit is contained in:
iou1name 2019-06-20 09:01:14 -04:00
parent ac01fbaad4
commit 19edece5b4
2 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,7 @@ body {
.font-awesome {
font-family: FontAwesome;
font-style: normal;
}
nav {
@ -48,6 +49,7 @@ nav span:hover {
.ip_address {
font-size: 0.8em;
font-style: italic;
color: darkgray;
margin: 0.2em;
}

View File

@ -21,7 +21,7 @@
<div class="id">{{ device.id }}</div>
<div class="description"><span class="field_value">{{ device.description }}</span> <span class="edit font-awesome" onclick="edit_field(this.parentElement)">&#xe800;</span></div>
<div class="location"><span class="field_value">{{ device.location }}</span> <span class="edit font-awesome" onclick="edit_field(this.parentElement)">&#xe800;</span></div>
<div class="ip_address"><i>{{ device.ip_address }}</i></div>
<div class="ip_address"><span class="field_value"><i>{{ device.ip_address }}</i></span> <span class="edit font-awesome" onclick="edit_field(this.parentElement)">&#xe800;</span></div>
<div class="sub_devices">
{% for sub_dev in device.sub_devices %}
<div class="sub_device {{ sub_dev.type }}" id="{{ sub_dev.id }}">
@ -40,7 +40,7 @@
<div class="id"></div>
<div class="description"><span class="field_value"></span> <span class="edit font-awesome" onclick="edit_field(this.parentElement)">&#xe800;</span></div>
<div class="location"><span class="field_value"></span> <span class="edit font-awesome" onclick="edit_field(this.parentElement)">&#xe800;</span></div>
<div class="ip_address"><i></i></div>
<div class="ip_address"><span class="field_value"></span> <span class="edit font-awesome" onclick="edit_field(this.parentElement)">&#xe800;</span></div>
<div class="sub_devices">
<div class="sub_device RelayOutlet" id="">
<div class="id"></div>