1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

55 lines
1.8 KiB
HTML
Raw Normal View History

2021-03-02 15:58:33 -05:00
{% extends 'generic/object.html' %}
2019-03-12 10:15:56 -04:00
{% load helpers %}
{% load plugins %}
2019-03-12 10:15:56 -04:00
2021-03-02 15:58:33 -05:00
{% block breadcrumbs %}
<li><a href="{% url 'dcim:powerpanel_list' %}">Power Panels</a></li>
<li><a href="{{ object.site.get_absolute_url }}">{{ object.site }}</a></li>
{% if object.rack_group %}
<li><a href="{{ object.rack_group.get_absolute_url }}">{{ object.rack_group }}</a></li>
{% endif %}
<li>{{ object }}</li>
2019-03-12 10:15:56 -04:00
{% endblock %}
{% block content %}
<div class="row">
2020-10-06 13:30:28 -04:00
<div class="col-md-6">
2019-03-12 10:15:56 -04:00
<div class="panel panel-default">
<div class="panel-heading">
<strong>Power Panel</strong>
</div>
<table class="table table-hover panel-body attr-table">
<tr>
<td>Site</td>
<td>
<a href="{{ object.site.get_absolute_url }}">{{ object.site }}</a>
2019-03-12 10:15:56 -04:00
</td>
</tr>
<tr>
<td>Rack Group</td>
<td>
{% if object.rack_group %}
<a href="{{ object.rack_group.get_absolute_url }}">{{ object.rack_group }}</a>
2019-03-12 10:15:56 -04:00
{% else %}
<span class="text-muted">None</span>
{% endif %}
</td>
</tr>
</table>
</div>
{% plugin_left_page object %}
2019-03-12 10:15:56 -04:00
</div>
2020-10-06 13:30:28 -04:00
<div class="col-md-6">
2020-11-19 13:53:37 -05:00
{% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='dcim:powerpanel_list' %}
{% plugin_right_page object %}
</div>
</div>
<div class="row">
<div class="col-md-12">
2020-10-06 13:30:28 -04:00
{% include 'panel_table.html' with table=powerfeed_table heading='Connected Feeds' %}
{% plugin_full_width_page object %}
2019-03-22 21:58:45 -04:00
</div>
2019-03-12 10:15:56 -04:00
</div>
{% endblock %}