mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-17 09:12:18 -06:00
Added headers to all bulk edit tables
This commit is contained in:
@@ -3,7 +3,14 @@
|
||||
|
||||
{% block title %}Device Bulk Edit{% endblock %}
|
||||
|
||||
{% block select_objects_table %}
|
||||
{% block selected_objects_table %}
|
||||
<tr>
|
||||
<th>Device</th>
|
||||
<th>Type</th>
|
||||
<th>Role</th>
|
||||
<th>Tenant</th>
|
||||
<th>Serial</th>
|
||||
</tr>
|
||||
{% for device in selected_objects %}
|
||||
<tr>
|
||||
<td><a href="{% url 'dcim:device' pk=device.pk %}">{{ device }}</a></td>
|
||||
|
||||
@@ -3,11 +3,15 @@
|
||||
|
||||
{% block title %}Device Type Bulk Edit{% endblock %}
|
||||
|
||||
{% block select_objects_table %}
|
||||
{% block selected_objects_table %}
|
||||
<tr>
|
||||
<th>Device type</th>
|
||||
<th>Manufacturer</th>
|
||||
<th>Height</th>
|
||||
</tr>
|
||||
{% for devicetype in selected_objects %}
|
||||
<tr>
|
||||
<td><a href="{% url 'dcim:devicetype' pk=devicetype.pk %}">{{ devicetype }}</a></td>
|
||||
<td>{{ devicetype.model }}</td>
|
||||
<td><a href="{% url 'dcim:devicetype' pk=devicetype.pk %}">{{ devicetype.model }}</a></td>
|
||||
<td>{{ devicetype.manufacturer }}</td>
|
||||
<td>{{ devicetype.u_height }}U</td>
|
||||
</tr>
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
|
||||
{% block form_title %}Interface(s) to Add{% endblock %}
|
||||
|
||||
{% block select_objects_table %}
|
||||
{% block selected_objects_table %}
|
||||
<tr>
|
||||
<th>Device</th>
|
||||
<th>Type</th>
|
||||
<th>Role</th>
|
||||
</tr>
|
||||
{% for device in selected_objects %}
|
||||
<tr>
|
||||
<td><a href="{% url 'dcim:device' pk=device.pk %}">{{ device }}</a></td>
|
||||
|
||||
@@ -3,12 +3,13 @@
|
||||
|
||||
{% block title %}Rack Bulk Edit{% endblock %}
|
||||
|
||||
{% block select_objects_table %}
|
||||
{% block selected_objects_table %}
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Site</th>
|
||||
<th>Group</th>
|
||||
<th>Tenant</th>
|
||||
<th>Role</th>
|
||||
<th>Type</th>
|
||||
<th>Width</th>
|
||||
<th>Height</th>
|
||||
@@ -19,6 +20,7 @@
|
||||
<td>{{ rack.site }}</td>
|
||||
<td>{{ rack.group }}</td>
|
||||
<td>{{ rack.tenant }}</td>
|
||||
<td>{{ rack.role }}</td>
|
||||
<td>{{ rack.get_type_display }}</td>
|
||||
<td>{{ rack.get_width_display }}</td>
|
||||
<td>{{ rack.u_height }}U</td>
|
||||
|
||||
@@ -3,7 +3,11 @@
|
||||
|
||||
{% block title %}Site Bulk Edit{% endblock %}
|
||||
|
||||
{% block select_objects_table %}
|
||||
{% block selected_objects_table %}
|
||||
<tr>
|
||||
<th>Site</th>
|
||||
<th>Tenant</th>
|
||||
</tr>
|
||||
{% for site in selected_objects %}
|
||||
<tr>
|
||||
<td><a href="{% url 'dcim:site' slug=site.slug %}">{{ site }}</a></td>
|
||||
|
||||
Reference in New Issue
Block a user