misc_pterodactyl-panel/resources/themes/pterodactyl/templates/wrapper.blade.php

51 lines
1.9 KiB
PHP
Raw Normal View History

<html>
<head>
<title>{{ config('app.name', 'Pterodactyl') }}</title>
@section('meta')
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<meta name="csrf-token" content="{{ csrf_token() }}">
2018-05-27 22:35:54 +00:00
<link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/favicons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/favicons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/favicons/manifest.json">
<link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#bc6e3c">
<link rel="shortcut icon" href="/favicons/favicon.ico">
<meta name="msapplication-config" content="/favicons/browserconfig.xml">
<meta name="theme-color" content="#0e4688">
@show
@section('user-data')
@if(!is_null(Auth::user()))
<script>
window.PterodactylUser = {!! json_encode(Auth::user()->toVueObject()) !!}
</script>
@endif
@show
@section('assets')
2018-06-04 02:35:50 +00:00
{!! $asset->css('main.css') !!}
@show
@include('layouts.scripts')
</head>
2019-02-04 01:27:19 +00:00
<body class="{{ $css['body'] ?? 'bg-grey-lightest' }}">
@section('content')
2018-05-27 22:35:54 +00:00
@yield('above-container')
<div id="pterodactyl" class="flex flex-col">
2018-05-27 22:35:54 +00:00
@yield('container')
</div>
@yield('below-container')
@show
@section('scripts')
2018-06-04 02:35:50 +00:00
{!! $asset->js('main.js') !!}
{!! $asset->js('vue.js') !!}
{!! $asset->js('vendor.js') !!}
{!! $asset->js('locales.js') !!}
@show
</body>
</html>