Add project management pages
This commit is contained in:
@@ -535,6 +535,30 @@
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="project_id">
|
||||
<i class="fas fa-folder"></i>
|
||||
Project (Optional)
|
||||
</label>
|
||||
<select id="project_id" name="project_id" class="form-select">
|
||||
<option value="">No project assigned</option>
|
||||
{% for project in projects %}
|
||||
<option value="{{ project.id }}"
|
||||
{% if qr_code.project_id == project.id %}selected{% endif %}>
|
||||
{{ project.name }} ({{ project.qr_count }} QR codes)
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<small class="form-help">
|
||||
<i class="fas fa-info-circle"></i>
|
||||
{% if qr_code.project %}
|
||||
Currently assigned to: <strong>{{ qr_code.project.name }}</strong>
|
||||
{% else %}
|
||||
This QR code is not assigned to any project
|
||||
{% endif %}
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Location Details Section -->
|
||||
|
||||
Reference in New Issue
Block a user