Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/resources/views/templates/wrapper.blade.php
10283 views
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<title>{{ config('app.name', 'Pterodactyl') }}</title>
5
6
@section('meta')
7
<meta charset="utf-8">
8
<meta http-equiv="X-UA-Compatible" content="IE=edge">
9
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
10
<meta name="csrf-token" content="{{ csrf_token() }}">
11
<meta name="robots" content="noindex">
12
<link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png">
13
<link rel="icon" type="image/png" href="/favicons/favicon-32x32.png" sizes="32x32">
14
<link rel="icon" type="image/png" href="/favicons/favicon-16x16.png" sizes="16x16">
15
<link rel="manifest" href="/favicons/manifest.json">
16
<link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#bc6e3c">
17
<link rel="shortcut icon" href="/favicons/favicon.ico">
18
<meta name="msapplication-config" content="/favicons/browserconfig.xml">
19
<meta name="theme-color" content="#0e4688">
20
@show
21
22
@section('user-data')
23
@if(!is_null(Auth::user()))
24
<script>
25
window.PterodactylUser = {!! json_encode(Auth::user()->toVueObject()) !!};
26
</script>
27
@endif
28
@if(!empty($siteConfiguration))
29
<script>
30
window.SiteConfiguration = {!! json_encode($siteConfiguration) !!};
31
</script>
32
@endif
33
@show
34
35
@yield('assets')
36
37
@include('layouts.scripts')
38
</head>
39
<body class="{{ $css['body'] ?? 'bg-neutral-50' }}">
40
@section('content')
41
@yield('above-container')
42
@yield('container')
43
@yield('below-container')
44
@show
45
@section('scripts')
46
{!! $asset->js('main.js') !!}
47
@show
48
</body>
49
</html>
50
51