Remove unused views
This commit is contained in:
parent
4b37fd6d87
commit
89647f6ed5
|
@ -1,33 +0,0 @@
|
||||||
<div class="modal fade" id="addingLotModal" tabindex="-1" style="display: none;" aria-hidden="true">
|
|
||||||
<div class="modal-dialog">
|
|
||||||
<div class="modal-content">
|
|
||||||
|
|
||||||
<div class="modal-header">
|
|
||||||
<h5 class="modal-title">Adding to a lot</h5>
|
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form action="{{ url_for('inventory.lot_devices_add') }}" method="post">
|
|
||||||
{{ form_lot_device.csrf_token }}
|
|
||||||
<div class="modal-body">
|
|
||||||
Please write a name of a lot
|
|
||||||
<select class="form-control selectpicker" id="selectLot" name="lot" data-live-search="true">
|
|
||||||
{% for lot in lots %}
|
|
||||||
<option value="{{ lot.id }}">{{ lot.name }}</option>
|
|
||||||
{% endfor %}
|
|
||||||
</select>
|
|
||||||
<input class="devicesList" type="hidden" name="devices" />
|
|
||||||
<p class="text-danger pol">
|
|
||||||
You need select first some device for adding this in a lot
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="modal-footer">
|
|
||||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
|
||||||
<input type="submit" class="btn btn-primary" style="display: none;" value="Save changes" />
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
|
@ -395,9 +395,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{% include "inventory/addDeviceslot.html" %}
|
|
||||||
{% include "inventory/addDevicestag.html" %}
|
{% include "inventory/addDevicestag.html" %}
|
||||||
{% include "inventory/removeDeviceslot.html" %}
|
|
||||||
{% include "inventory/lot_delete_modal.html" %}
|
{% include "inventory/lot_delete_modal.html" %}
|
||||||
{% include "inventory/actions.html" %}
|
{% include "inventory/actions.html" %}
|
||||||
{% include "inventory/allocate.html" %}
|
{% include "inventory/allocate.html" %}
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
<div class="modal fade" id="removeLotModal" tabindex="-1" style="display: none;" aria-hidden="true">
|
|
||||||
<div class="modal-dialog">
|
|
||||||
<div class="modal-content">
|
|
||||||
<div class="modal-header">
|
|
||||||
<h5 class="modal-title">Remove from lot</h5>
|
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form action="{{ url_for('inventory.lot_devices_del') }}" method="post">
|
|
||||||
{{ form_lot_device.csrf_token }}
|
|
||||||
<div class="modal-body">
|
|
||||||
Please write a name of a lot
|
|
||||||
<select class="form-control selectpicker" id="selectLot" name="lot" data-live-search="true">
|
|
||||||
{% for lot in lots %}
|
|
||||||
<option value="{{ lot.id }}">{{ lot.name }}</option>
|
|
||||||
{% endfor %}
|
|
||||||
</select>
|
|
||||||
<input class="devicesList" type="hidden" name="devices" />
|
|
||||||
<p class="text-danger pol">
|
|
||||||
You need select first some device for remove this from a lot
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="modal-footer">
|
|
||||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
|
||||||
<input type="submit" class="btn btn-primary" style="display: none;" value="Save changes" />
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
Reference in New Issue