2020-06-30 09:26:32 -04:00
|
|
|
<div style="margin-left: -30px">
|
2022-06-24 11:04:38 -04:00
|
|
|
<object data="{% url 'dcim-api:rack-elevation' pk=object.pk %}?face={{face}}&render=svg{% if extra_params %}&{{ extra_params }}{% endif %}" class="rack_elevation"></object>
|
2020-06-30 09:26:32 -04:00
|
|
|
</div>
|
2021-03-13 02:19:42 -07:00
|
|
|
<div class="text-center mt-3">
|
2022-06-24 11:04:38 -04:00
|
|
|
<a class="btn btn-outline-primary btn-sm" href="{% url 'dcim-api:rack-elevation' pk=object.pk %}?face={{face}}&render=svg{% if extra_params %}&{{ extra_params }}{% endif %}">
|
2021-04-21 11:31:28 -07:00
|
|
|
<i class="mdi mdi-file-download"></i> Download SVG
|
2020-02-21 13:28:18 -05:00
|
|
|
</a>
|
|
|
|
</div>
|