change parth for part in device details
This commit is contained in:
parent
6079e34627
commit
2528775296
|
@ -85,7 +85,7 @@
|
||||||
<div class="tab-content pt-2">
|
<div class="tab-content pt-2">
|
||||||
|
|
||||||
<div class="tab-pane fade show active" id="details">
|
<div class="tab-pane fade show active" id="details">
|
||||||
<h5 class="card-title">Details Real parth</h5>
|
<h5 class="card-title">Details Real part</h5>
|
||||||
<div class="row mb-3">
|
<div class="row mb-3">
|
||||||
<div class="col-lg-3 col-md-4 label ">
|
<div class="col-lg-3 col-md-4 label ">
|
||||||
(<a href="{{ url_for('inventory.device_edit', id=placeholder.device.devicehub_id)}}">Edit Device</a>)
|
(<a href="{{ url_for('inventory.device_edit', id=placeholder.device.devicehub_id)}}">Edit Device</a>)
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if placeholder.binding %}
|
{% if placeholder.binding %}
|
||||||
<h5 class="card-title">Details Abstract parth</h5>
|
<h5 class="card-title">Details Abstract part</h5>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-3 col-md-4 label ">Type</div>
|
<div class="col-lg-3 col-md-4 label ">Type</div>
|
||||||
<div class="col-lg-9 col-md-8">{{ placeholder.binding.type }}</div>
|
<div class="col-lg-9 col-md-8">{{ placeholder.binding.type }}</div>
|
||||||
|
@ -227,13 +227,13 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tab-pane fade profile-overview" id="components">
|
<div class="tab-pane fade profile-overview" id="components">
|
||||||
<h5 class="card-title">Components Real parth</h5>
|
<h5 class="card-title">Components Real part</h5>
|
||||||
<div class="list-group col-6">
|
<div class="list-group col-6">
|
||||||
{{ placeholder.components or '' }}
|
{{ placeholder.components or '' }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if placeholder.binding %}
|
{% if placeholder.binding %}
|
||||||
<h5 class="card-title">Components Abstract parth</h5>
|
<h5 class="card-title">Components Abstract part</h5>
|
||||||
<div class="list-group col-6">
|
<div class="list-group col-6">
|
||||||
{% for component in placeholder.binding.components|sort(attribute='type') %}
|
{% for component in placeholder.binding.components|sort(attribute='type') %}
|
||||||
<div class="list-group-item">
|
<div class="list-group-item">
|
||||||
|
|
Reference in New Issue