Removed unnessary controller functions that just call a view, HTML/CSS consistency updates

This commit is contained in:
2024-04-22 14:27:48 +10:00
parent 001618d719
commit ceffc7ff14
45 changed files with 2009 additions and 2011 deletions

View File

@@ -39,7 +39,7 @@ class HomeController extends Controller
})
->get();
return view('file')
return view('widgets.file')
->with('f',$f);
}
@@ -73,20 +73,11 @@ class HomeController extends Controller
->with(['echoarea'])
->get();
return view('packet')
return view('widgets.packet')
->with('nm',$nm)
->with('em',$em);
}
/**
* Render a view that summarises the users permissions
*/
public function permissions()
{
return view('auth.permissions')
->with('user',Auth::user());
}
/**
* Show a packet dump
*