|
@@ -10,10 +10,12 @@
|
|
|
<div class="col col-md-5">
|
|
<div class="col col-md-5">
|
|
|
{% if path %}
|
|
{% if path %}
|
|
|
<div class="text-center my-3">
|
|
<div class="text-center my-3">
|
|
|
- <object data="{{ svg_url }}" class="rack_elevation"></object>
|
|
|
|
|
|
|
+ <object data="{{ svg_url }}" class="rack_elevation"></object>
|
|
|
|
|
+ <div>
|
|
|
<a class="btn btn-outline-primary btn-sm my-3" href="{{ svg_url }}">
|
|
<a class="btn btn-outline-primary btn-sm my-3" href="{{ svg_url }}">
|
|
|
<i class="mdi mdi-file-download"></i> Download SVG
|
|
<i class="mdi mdi-file-download"></i> Download SVG
|
|
|
</a>
|
|
</a>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="trace-end">
|
|
<div class="trace-end">
|
|
|
{% with traced_path=path.origin.trace %}
|
|
{% with traced_path=path.origin.trace %}
|
|
@@ -80,18 +82,16 @@
|
|
|
{% for cablepath in related_paths %}
|
|
{% for cablepath in related_paths %}
|
|
|
<tr{% if cablepath.pk == path.pk %} class="info"{% endif %}>
|
|
<tr{% if cablepath.pk == path.pk %} class="info"{% endif %}>
|
|
|
<td>
|
|
<td>
|
|
|
- <a href="?cablepath_id={{ cablepath.pk }}">
|
|
|
|
|
- {{ cablepath.origin.parent_object }} / {{ cablepath.origin }}
|
|
|
|
|
- </a>
|
|
|
|
|
|
|
+ <a href="?cablepath_id={{ cablepath.pk }}">{{ cablepath.origins|join:", " }}</a>
|
|
|
</td>
|
|
</td>
|
|
|
<td>
|
|
<td>
|
|
|
- {% if cablepath.destination %}
|
|
|
|
|
- {{ cablepath.destination }} ({{ cablepath.destination.parent_object }})
|
|
|
|
|
|
|
+ {% if cablepath.destinations %}
|
|
|
|
|
+ {{ cablepath.destinations|join:", " }}
|
|
|
{% else %}
|
|
{% else %}
|
|
|
<span class="text-muted">Incomplete</span>
|
|
<span class="text-muted">Incomplete</span>
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
</td>
|
|
</td>
|
|
|
- <td class="text-end">
|
|
|
|
|
|
|
+ <td>
|
|
|
{{ cablepath.segment_count }}
|
|
{{ cablepath.segment_count }}
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|