Merge branch 'feature/vuejs' into feature/vue-serverview
This commit is contained in:
commit
f2d2725ca0
130 changed files with 2275 additions and 1363 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
@section('container')
|
||||
<div class="w-full max-w-xs sm:max-w-sm m-auto mt-8">
|
||||
<div class="text-center">
|
||||
<div class="text-center hidden sm:block">
|
||||
<img src="/assets/img/pterodactyl-flat.svg" class="max-w-xxs">
|
||||
</div>
|
||||
<router-view></router-view>
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
@section('below-container')
|
||||
<div class="flex-grow"></div>
|
||||
<div class="w-full m-auto mt-0 container">
|
||||
<p class="text-right text-grey-dark text-xs">
|
||||
<p class="text-center sm:text-right text-grey-dark text-xs">
|
||||
{!! trans('strings.copyright', ['year' => date('Y')]) !!}
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -18,6 +18,14 @@
|
|||
<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')
|
||||
{!! $asset->css('main.css') !!}
|
||||
@show
|
||||
|
|
Reference in a new issue