2021-03-02 15:58:33 -05:00
|
|
|
{% extends 'generic/object.html' %}
|
2016-03-01 11:23:03 -05:00
|
|
|
{% load helpers %}
|
2020-03-15 23:45:18 -04:00
|
|
|
{% 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 }}
|
2021-09-22 11:48:22 -05:00
|
|
|
<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">
|
2021-03-13 02:19:42 -07:00
|
|
|
<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>
|
2021-03-13 02:19:42 -07:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Circuit ID</th>
|
2021-08-25 13:50:59 -04:00
|
|
|
<td>{{ object.cid }}</td>
|
2021-03-13 02:19:42 -07:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Type</th>
|
2022-03-22 14:51:20 -04:00
|
|
|
<td>{{ object.type|linkify }}</td>
|
2021-03-13 02:19:42 -07:00
|
|
|
</tr>
|
2021-07-21 11:20:35 -04:00
|
|
|
<tr>
|
|
|
|
<th scope="row">Status</th>
|
2022-02-11 14:25:13 -05:00
|
|
|
<td>{% badge object.get_status_display bg_color=object.get_status_color %}</td>
|
2021-07-21 11:20:35 -04:00
|
|
|
</tr>
|
2021-03-13 02:19:42 -07:00
|
|
|
<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 }}
|
2021-03-13 02:19:42 -07:00
|
|
|
</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>
|
2021-03-13 02:19:42 -07:00
|
|
|
</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' %}
|
2021-10-21 11:23:31 -04:00
|
|
|
{% include 'inc/panels/tags.html' %}
|
2021-10-19 14:21:31 -04:00
|
|
|
{% include 'inc/panels/comments.html' %}
|
2020-11-19 12:24:52 -05:00
|
|
|
{% plugin_left_page object %}
|
2016-12-14 13:47:22 -05:00
|
|
|
</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>
|
2020-03-15 23:45:18 -04:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2021-04-30 15:55:37 -07:00
|
|
|
<div class="col col-md-12">
|
2020-11-19 12:24:52 -05:00
|
|
|
{% plugin_full_width_page object %}
|
2016-03-01 11:23:03 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|