misc_pterodactyl-panel/resources/views/admin/index.blade.php

59 lines
2.5 KiB
PHP
Raw Permalink Normal View History

2017-09-26 02:43:01 +00:00
{{-- Pterodactyl - Panel --}}
2017-02-19 00:31:44 +00:00
{{-- Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com> --}}
2017-09-26 02:43:01 +00:00
{{-- This software is licensed under the terms of the MIT license. --}}
{{-- https://opensource.org/licenses/MIT --}}
2017-02-19 00:31:44 +00:00
@extends('layouts.admin')
@section('title')
Administration
@endsection
@section('content-header')
<h1>Administrative Overview<small>A quick glance at your system.</small></h1>
<ol class="breadcrumb">
<li><a href="{{ route('admin.index') }}">Admin</a></li>
<li class="active">Index</li>
</ol>
@endsection
@section('content')
<div class="row">
<div class="col-xs-12">
<div class="box
2017-08-24 02:34:11 +00:00
@if($version->isLatestPanel())
2017-02-19 00:31:44 +00:00
box-success
@else
box-danger
@endif
">
<div class="box-header with-border">
<h3 class="box-title">System Information</h3>
</div>
<div class="box-body">
2017-08-24 02:34:11 +00:00
@if ($version->isLatestPanel())
You are running Pterodactyl Panel version <code>{{ config('app.version') }}</code>. Your panel is up-to-date!
2017-02-19 00:31:44 +00:00
@else
2017-08-24 02:34:11 +00:00
Your panel is <strong>not up-to-date!</strong> The latest version is <a href="https://github.com/Pterodactyl/Panel/releases/v{{ $version->getPanel() }}" target="_blank"><code>{{ $version->getPanel() }}</code></a> and you are currently running version <code>{{ config('app.version') }}</code>.
2017-02-19 00:31:44 +00:00
@endif
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-6 col-sm-3 text-center">
2017-08-24 02:34:11 +00:00
<a href="{{ $version->getDiscord() }}"><button class="btn btn-warning" style="width:100%;"><i class="fa fa-fw fa-support"></i> Get Help <small>(via Discord)</small></button></a>
2017-02-19 00:31:44 +00:00
</div>
<div class="col-xs-6 col-sm-3 text-center">
2019-12-22 22:03:49 +00:00
<a href="https://pterodactyl.io"><button class="btn btn-primary" style="width:100%;"><i class="fa fa-fw fa-link"></i> Documentation</button></a>
2017-02-19 00:31:44 +00:00
</div>
<div class="clearfix visible-xs-block">&nbsp;</div>
2017-02-19 00:31:44 +00:00
<div class="col-xs-6 col-sm-3 text-center">
2019-12-22 22:03:49 +00:00
<a href="https://github.com/pterodactyl/panel"><button class="btn btn-primary" style="width:100%;"><i class="fa fa-fw fa-support"></i> Github</button></a>
2017-02-19 00:31:44 +00:00
</div>
<div class="col-xs-6 col-sm-3 text-center">
2019-12-22 22:03:49 +00:00
<a href="{{ $version->getDonations() }}"><button class="btn btn-success" style="width:100%;"><i class="fa fa-fw fa-money"></i> Support the Project</button></a>
2017-02-19 00:31:44 +00:00
</div>
</div>
@endsection