mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
82 lines
2.5 KiB
HTML
82 lines
2.5 KiB
HTML
{% extends 'generic/object.html' %}
|
|
{% load helpers %}
|
|
{% load plugins %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col col-md-6">
|
|
<div class="card">
|
|
<h5 class="card-header">Route Target</h5>
|
|
<div class="card-body">
|
|
<table class="table table-hover attr-table">
|
|
<tr>
|
|
<th scope="row">Name</th>
|
|
<td class="font-monospace">{{ object.name }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Tenant</th>
|
|
<td>{{ object.tenant|linkify|placeholder }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Description</th>
|
|
<td>{{ object.description|placeholder }}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{% include 'inc/panels/tags.html' %}
|
|
{% plugin_left_page object %}
|
|
</div>
|
|
<div class="col col-md-6">
|
|
{% include 'inc/panels/custom_fields.html' %}
|
|
{% include 'inc/panels/comments.html' %}
|
|
{% plugin_right_page object %}
|
|
</div>
|
|
</div>
|
|
<div class="row mb-3">
|
|
<div class="col col-md-6">
|
|
<div class="card">
|
|
<h5 class="card-header">Importing VRFs</h5>
|
|
<div class="card-body htmx-container table-responsive"
|
|
hx-get="{% url 'ipam:vrf_list' %}?import_target_id={{ object.pk }}"
|
|
hx-trigger="load"
|
|
></div>
|
|
</div>
|
|
</div>
|
|
<div class="col col-md-6">
|
|
<div class="card">
|
|
<h5 class="card-header">Exporting VRFs</h5>
|
|
<div class="card-body htmx-container table-responsive"
|
|
hx-get="{% url 'ipam:vrf_list' %}?export_target_id={{ object.pk }}"
|
|
hx-trigger="load"
|
|
></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row mb-3">
|
|
<div class="col col-md-6">
|
|
<div class="card">
|
|
<h5 class="card-header">Importing L2VPNs</h5>
|
|
<div class="card-body htmx-container table-responsive"
|
|
hx-get="{% url 'ipam:l2vpn_list' %}?import_target_id={{ object.pk }}"
|
|
hx-trigger="load"
|
|
></div>
|
|
</div>
|
|
</div>
|
|
<div class="col col-md-6">
|
|
<div class="card">
|
|
<h5 class="card-header">Exporting L2VPNs</h5>
|
|
<div class="card-body htmx-container table-responsive"
|
|
hx-get="{% url 'ipam:l2vpn_list' %}?export_target_id={{ object.pk }}"
|
|
hx-trigger="load"
|
|
></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col col-md-12">
|
|
{% plugin_full_width_page object %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|