Add Mojang's status to dashboard

Also adds a Cache table to the database. Contains incomplete routes.
This commit is contained in:
2020-05-03 00:45:29 +01:00
parent 5e87fb7683
commit 669fbc1ae5
9 changed files with 111 additions and 29 deletions

View File

@@ -3,9 +3,41 @@
@section('title', 'Raspberry Network Team Management')
@section('content_header')
<h1>Backoffice</h1>
<h1>Team Management Panel | Backoffice</h1>
@stop
@section('content')
<p>Welcome to this beautiful admin panel.</p>
<div class="row">
<div class="col">
@if (!is_null($mcstatus))
@if($mcstatus[4]['sessionserver.mojang.com'] == 'red')
<div class="alert alert-danger">
<h4>Mojang's session servers are (apparently) down</h4>
<p>If you see missing profile pictures in our dashboard or in the staff list (homepage), or are unable to login to Raspberry Network or Minecraft itself, be advised that Mojang's session server is currently experiencing technical difficulties.</p>
<p>We hope this issue is resolved soon! For more information please visit the Mojang <a href="https://help.minecraft.net/hc/en-us">Support Center</a>.</p>
<p class="text-bold">Raspberry Network and Spacejewel Hosting are not affiliated with Mojang AB or Microsoft Corporation. Minecraft() is a trademark of Mojang AB.</p>
</div>
@else
<div class="alert alert-success">
<p>All OK! Feel free to explore the team management dashboard, manage your applications, or join our server.</p>
</div>
@endif
@endif
</div>
</div>
@stop