Add project management pages

This commit is contained in:
Nguyen Ngo
2025-08-12 16:31:28 -04:00
parent fb73fa236b
commit fa3a7923e2
9 changed files with 1886 additions and 469 deletions
+24
View File
@@ -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 -->