small changes to the layouts and their css files, nothing really impacting
This commit is contained in:
@@ -55,6 +55,11 @@ class UserController extends Controller
|
||||
return redirect()->back()->with('error', 'Missing credentials');
|
||||
}
|
||||
|
||||
public function nojs()
|
||||
{
|
||||
return view('nojs');
|
||||
}
|
||||
|
||||
public function logout()
|
||||
{
|
||||
if(!auth()->check()) return redirect()->back()->with('warning', 'You are not logged in');
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 616 KiB After Width: | Height: | Size: 675 KiB |
@@ -20,7 +20,7 @@ Route::get('/', ['as' => 'home', function () {
|
||||
|
||||
}])->middleware('auth');
|
||||
|
||||
Route::post('nojs', 'UserController@nojs');
|
||||
Route::get('nojs', function() { return view('nojs'); });
|
||||
|
||||
Route::post('filter', 'UserController@filter');
|
||||
|
||||
@@ -108,9 +108,6 @@ Route::group(["middleware" => "theme"], function() {
|
||||
Route::get('rules', function() { return view('rules'); });
|
||||
Route::get('contact', function() { return view('contact'); });
|
||||
Route::get('privacy', function() { return view('privacy'); });
|
||||
Route::get('teamspeak', function() { return view('teamspeak'); });
|
||||
Route::get('news', function() { return view('news'); });
|
||||
Route::get('0x40', function() { return view('0x40'); });
|
||||
Route::get('stats', function() {
|
||||
return view('stats', [
|
||||
'user_count' => \App\Models\User::count(),
|
||||
@@ -137,7 +134,6 @@ Route::group(["middleware" => "theme"], function() {
|
||||
# 'donations' => \App\Models\Donation::orderBy('timestamp', 'DESC')->get()
|
||||
# ]);
|
||||
#});
|
||||
Route::get('transparency', function() { return view('transparency'); });
|
||||
Route::get('login', function() { return view('login'); });
|
||||
#Route::get('counter-strike', function() { return view('counter-strike'); });
|
||||
|
||||
|
Reference in New Issue
Block a user