misc_pterodactyl-panel/resources/views/templates/wrapper.blade.php

54 lines
2.1 KiB
PHP
Raw Normal View History

2022-07-01 00:23:15 +00:00
<!DOCTYPE html>
2022-11-25 20:25:03 +00:00
<html lang="en">
<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() }}">
<meta name="robots" content="noindex">
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>
2019-12-16 02:05:44 +00:00
window.PterodactylUser = {!! json_encode(Auth::user()->toVueObject()) !!};
</script>
@endif
@if(!empty($siteConfiguration))
<script>
window.SiteConfiguration = {!! json_encode($siteConfiguration) !!};
</script>
@endif
@show
2020-07-03 21:51:40 +00:00
<style>
@import url('//fonts.googleapis.com/css?family=Rubik:300,400,500&display=swap');
@import url('//fonts.googleapis.com/css?family=IBM+Plex+Mono|IBM+Plex+Sans:500&display=swap');
</style>
2020-08-26 04:00:43 +00:00
@yield('assets')
@include('layouts.scripts')
2022-11-25 20:25:03 +00:00
@viteReactRefresh
@vite('resources/scripts/index.tsx')
</head>
<body class="{{ $css['body'] ?? 'bg-neutral-50' }}">
@section('content')
2018-05-27 22:35:54 +00:00
@yield('above-container')
@yield('container')
2018-05-27 22:35:54 +00:00
@yield('below-container')
@show
</body>
</html>