vrf.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {% extends 'generic/object.html' %}
  2. {% load buttons %}
  3. {% load helpers %}
  4. {% load plugins %}
  5. {% load i18n %}
  6. {% block title %}{% trans "VRF" %} {{ object }}{% endblock %}
  7. {% block content %}
  8. <div class="row">
  9. <div class="col col-md-6">
  10. <div class="card">
  11. <h5 class="card-header">{% trans "VRF" %}</h5>
  12. <table class="table table-hover attr-table">
  13. <tr>
  14. <th scope="row">{% trans "Route Distinguisher" %}</th>
  15. <td>{{ object.rd|placeholder }}</td>
  16. </tr>
  17. <tr>
  18. <th scope="row">{% trans "Tenant" %}</th>
  19. <td>
  20. {% if object.tenant.group %}
  21. {{ object.tenant.group|linkify }} /
  22. {% endif %}
  23. {{ object.tenant|linkify|placeholder }}
  24. </td>
  25. </tr>
  26. <tr>
  27. <th scope="row">{% trans "Unique IP Space" %}</th>
  28. <td>{% checkmark object.enforce_unique %}</td>
  29. </tr>
  30. <tr>
  31. <th scope="row">{% trans "Description" %}</th>
  32. <td>{{ object.description|placeholder }}</td>
  33. </tr>
  34. </table>
  35. </div>
  36. {% include 'inc/panels/tags.html' %}
  37. {% plugin_left_page object %}
  38. </div>
  39. <div class="col col-md-6">
  40. {% include 'inc/panels/related_objects.html' %}
  41. {% include 'inc/panels/custom_fields.html' %}
  42. {% include 'inc/panels/comments.html' %}
  43. {% plugin_right_page object %}
  44. </div>
  45. </div>
  46. <div class="row">
  47. <div class="col col-md-6">
  48. {% include 'inc/panel_table.html' with table=import_targets_table heading="Import Route Targets" %}
  49. </div>
  50. <div class="col col-md-6">
  51. {% include 'inc/panel_table.html' with table=export_targets_table heading="Export Route Targets" %}
  52. </div>
  53. </div>
  54. <div class="row">
  55. <div class="col col-md-12">
  56. {% plugin_full_width_page object %}
  57. </div>
  58. </div>
  59. {% endblock %}