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

78 lines
2.9 KiB
HTML
Raw Normal View History

2021-03-02 15:58:33 -05:00
{% extends 'generic/object.html' %}
2016-03-01 11:23:03 -05:00
{% load helpers %}
{% load plugins %}
2016-03-01 11:23:03 -05:00
2021-03-02 15:58:33 -05:00
{% block breadcrumbs %}
2021-07-20 12:14:01 -04:00
{{ block.super }}
<li class="breadcrumb-item"><a href="{% url 'circuits:circuit_list' %}?provider_id={{ object.provider.pk }}">{{ object.provider }}</a></li>
2018-06-14 16:15:14 -04:00
{% endblock %}
{% block content %}
2016-03-01 11:23:03 -05:00
<div class="row">
2021-04-30 15:55:37 -07:00
<div class="col col-md-6">
<div class="card">
<h5 class="card-header">
Circuit
</h5>
<div class="card-body">
<table class="table table-hover attr-table">
<tr>
<th scope="row">Provider</th>
2022-03-22 14:51:20 -04:00
<td>{{ object.provider|linkify }}</td>
</tr>
<tr>
<th scope="row">Circuit ID</th>
2021-08-25 13:50:59 -04:00
<td>{{ object.cid }}</td>
</tr>
<tr>
<th scope="row">Type</th>
2022-03-22 14:51:20 -04:00
<td>{{ object.type|linkify }}</td>
</tr>
2021-07-21 11:20:35 -04:00
<tr>
<th scope="row">Status</th>
<td>{% badge object.get_status_display bg_color=object.get_status_color %}</td>
2021-07-21 11:20:35 -04:00
</tr>
<tr>
<th scope="row">Tenant</th>
<td>
2022-03-22 15:29:05 -04:00
{% if object.tenant.group %}
{{ object.tenant.group|linkify }} /
2017-02-28 12:11:43 -05:00
{% endif %}
2022-03-22 15:29:05 -04:00
{{ object.tenant|linkify|placeholder }}
</td>
</tr>
<tr>
<th scope="row">Install Date</th>
2021-07-06 12:10:29 -04:00
<td>{{ object.install_date|annotated_date|placeholder }}</td>
</tr>
<tr>
<th scope="row">Commit Rate</th>
<td>{{ object.commit_rate|humanize_speed|placeholder }}</td>
</tr>
<tr>
<th scope="row">Description</th>
<td>{{ object.description|placeholder }}</td>
</tr>
</table>
</div>
2016-03-01 11:23:03 -05:00
</div>
2021-10-19 14:21:31 -04:00
{% include 'inc/panels/custom_fields.html' %}
{% include 'inc/panels/tags.html' %}
2021-10-19 14:21:31 -04:00
{% include 'inc/panels/comments.html' %}
{% plugin_left_page object %}
</div>
2021-04-30 15:55:37 -07:00
<div class="col col-md-6">
2021-10-18 15:09:57 -04:00
{% include 'circuits/inc/circuit_termination.html' with termination=object.termination_a side='A' %}
{% include 'circuits/inc/circuit_termination.html' with termination=object.termination_z side='Z' %}
2021-10-19 14:21:31 -04:00
{% include 'inc/panels/contacts.html' %}
{% include 'inc/panels/image_attachments.html' %}
2021-10-18 15:09:57 -04:00
{% plugin_right_page object %}
</div>
</div>
<div class="row">
2021-04-30 15:55:37 -07:00
<div class="col col-md-12">
{% plugin_full_width_page object %}
2016-03-01 11:23:03 -05:00
</div>
</div>
{% endblock %}