feat: implement server tag management with individual fields and update routes

This commit is contained in:
2025-12-18 21:09:45 -05:00
parent db04b8a6c3
commit b0f7c7f20d
6 changed files with 167 additions and 217 deletions

View File

@@ -42,13 +42,11 @@ Route::group([
Route::get('{server}/help', Help::class)->name('server.help');
});
// Server Tag Routes - separate prefix to match frontend URL
// Server Tag Routes
Route::group([
'prefix' => 'proxmox/server',
'as' => 'proxmox.server.',
'middleware' => ['web', 'auth'],
], function () {
Route::get('{server}/tags', [ServerTagController::class, 'show'])->name('tags.show');
Route::post('{server}/tags', [ServerTagController::class, 'update'])->name('tags.update');
Route::get('tags/colors', [ServerTagController::class, 'colors'])->name('tags.colors');
});