Remove delete functionality from vehicles and buildings

- Remove DELETE endpoints for vehicles and buildings from api.py
- Remove delete_vehicle() method from vehicle service
- Remove delete buttons from vehicles.html and buildings.html
This commit is contained in:
Reditus committed 2026-05-19 05:56:27 +01:00
1 parent 6e7a850ba2
commit e977f8cd5b
4 files changed
+2 -71

No files matched your search

-1
View File
@@ -57,7 +57,6 @@
<td>{% if v.pilot_name %}<span class="badge badge-online">Active</span> <a href="/players/{{ v.pilot_pawn_id }}">{{ v.pilot_name }}</a>{% else %}&mdash;{% endif %}</td>
<td>{{ v.map or 'N/A' }}</td>
<td style="font-size:11px;font-family:monospace;max-width:250px;word-break:break-all;">{{ v.transform_text or '' }}</td>
<td><button class="btn-delete" data-id="{{ v.id }}" data-type="vehicle" title="Delete">🗑️</button></td>
</tr>
{% else %}
<tr><td colspan="8" class="empty">No vehicles found</td></tr>