theme support for downloads page
This commit is contained in:
parent
585826f0bb
commit
26bf4ae038
|
|
@ -8,4 +8,4 @@
|
|||
<h5>Administration Area</h5><br>
|
||||
<p><strong>{{ App\Models\User::count() }}</strong> users registered, <strong>{{ App\Models\User::where('admin', true)->count() }}</strong> total admins, <strong>{{ App\Models\User::where('last_seen', '>', Carbon\Carbon::now()->subDay()->toDateTimeString())->count(); }}</strong> users online in the past 24 hours.</p><br>
|
||||
<p><strong>{{ App\Models\InviteKey::count() }}</strong> invite keys exist, <strong>{{ App\Models\InviteKey::where('active', true)->count() }}</strong> keys haven't been used yet.</p>
|
||||
@endsection
|
||||
@endsection
|
||||
|
|
@ -16,7 +16,23 @@
|
|||
<link rel="apple-touch-startup-image" href="{{ asset('img/MORBLOXsplash.png') }}" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
||||
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
|
||||
@auth
|
||||
@switch (Auth::user()->settings->theme)
|
||||
@case(3)
|
||||
<link href="{{ asset('css/app.css?id=' . Str::random(8)) }}" rel="stylesheet">
|
||||
<link href="{{ asset('css/appdark.css?id=' . Str::random(8)) }}" rel="stylesheet">
|
||||
@break
|
||||
@case(2)
|
||||
<link href="{{ asset('css/app.css?id=' . Str::random(8)) }}" rel="stylesheet">
|
||||
<link href="{{ asset('css/2018.css?id=' . Str::random(8)) }}" rel="stylesheet">
|
||||
@break
|
||||
|
||||
@default
|
||||
<link href="{{ asset('css/app.css?id=' . Str::random(8)) }}" rel="stylesheet">
|
||||
@endswitch
|
||||
@else
|
||||
<link href="{{ asset('css/app.css?id=' . Str::random(8)) }}" rel="stylesheet">
|
||||
@endauth
|
||||
</head>
|
||||
<body>
|
||||
<br>
|
||||
|
|
|
|||
Loading…
Reference in New Issue