This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2022-01-25 11:54:11 +00:00
|
|
|
<div class="modal fade" id="addingTagModal" 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 tag</h5>
|
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<form action="{{ url_for('inventory.devices.tag_devices_add') }}" method="post">
|
|
|
|
{{ form_tag_device.csrf_token }}
|
|
|
|
<div class="modal-body">
|
|
|
|
Please write a name of a tag
|
|
|
|
<select class="form-control selectpicker" id="selectTag" name="tag" data-live-search="true">
|
|
|
|
{% for tag in tags %}
|
|
|
|
<option value="{{ tag.id }}">{{ tag.id }}</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
<input class="devicesList" type="hidden" name="device" />
|
2022-02-04 12:16:27 +00:00
|
|
|
<p class="text-danger pol">
|
2022-01-25 11:54:11 +00:00
|
|
|
You need select first some device for adding this in a tag
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
2022-02-18 10:18:54 +00:00
|
|
|
<input type="submit" class="btn btn-primary" style="display: none;" value="Save changes" />
|
2022-01-25 11:54:11 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|