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

57 lines
2.0 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 %}
2021-04-13 21:51:12 -07:00
<li class="breadcrumb-item"><a href="{% url 'dcim:powerpanel_list' %}">Power Panels</a></li>
<li class="breadcrumb-item"><a href="{{ object.site.get_absolute_url }}">{{ object.site }}</a></li>
{% if object.location %}
2021-04-13 21:51:12 -07:00
<li class="breadcrumb-item"><a href="{{ object.location.get_absolute_url }}">{{ object.location }}</a></li>
2021-03-02 15:58:33 -05:00
{% endif %}
2021-04-13 21:51:12 -07:00
<li class="breadcrumb-item">{{ 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">
2021-04-13 21:51:12 -07:00
<div class="card">
<h5 class="card-header">
Power Panel
</h5>
<div class="card-body">
<table class="table table-hover attr-table">
<tr>
<th scope="row">Site</th>
<td>
<a href="{{ object.site.get_absolute_url }}">{{ object.site }}</a>
</td>
</tr>
<tr>
<th scope="row">Location</th>
<td>
{% if object.location %}
<a href="{{ object.location.get_absolute_url }}">{{ object.location }}</a>
{% else %}
<span class="text-muted">None</span>
{% endif %}
</td>
</tr>
</table>
2019-03-12 10:15:56 -04:00
</div>
</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>
2021-04-13 21:51:12 -07:00
<div class="row my-3">
<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 %}