2020-06-30 12:04:34 +00:00
|
|
|
@extends("app.layout.base")
|
|
|
|
|
|
|
|
@section("title")
|
|
|
|
Account
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section("content")
|
2020-08-11 07:27:07 +00:00
|
|
|
<script src="{{ asset("/js/jquery-3.2.1.min.js") }}"></script>
|
2020-08-11 16:21:51 +00:00
|
|
|
<main style="justify-content: unset">
|
|
|
|
<h1 class="text-center sde-blue mt-1">{{__('msg.konto')}}</h1>
|
2020-08-24 09:27:17 +00:00
|
|
|
@if(\App\Resource::query()->where("id", "=", Auth::user()->resource_id)->first() !== null)
|
|
|
|
<img style="width: calc(100% - 72px); margin: auto;" src="{{ \App\Resource::query()->where("id", "=",Auth::user()->resource_id)->first()->filename }}">
|
|
|
|
@else
|
|
|
|
@if(request()->cookie("mode") == "dark")
|
|
|
|
<img style="width: calc(100% - 72px); margin: auto;" src="{{ asset("/images/icons/user-hvid.svg") }}">
|
|
|
|
@else
|
|
|
|
<img style="width: calc(100% - 72px); margin: auto;" src="{{ asset("/images/icons/user.svg") }}">
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
<h4 class="mt-2">{{__('msg.navn')}}: {{ Auth::user()->name_first . " " . Auth::user()->name_last }}</h4>
|
2020-08-06 18:33:46 +00:00
|
|
|
<h4 class="mt-0">{{__('msg.email')}}: {{ Auth::user()->email }}</h4>
|
|
|
|
<h4 class="mt-0">{{__('msg.telefon')}} Nr.: {{ Auth::user()->phone }}</h4>
|
2020-08-12 08:46:36 +00:00
|
|
|
|
2020-07-31 07:28:58 +00:00
|
|
|
{!! session()->get('success#credentialschanged') !!}
|
2020-08-06 18:33:46 +00:00
|
|
|
<a class="btn text-center btn-sde-blue mt-1" href="{{ route("users.accountedit") }}">{{__('msg.redigeroplysninger')}}</a>
|
|
|
|
<a class="btn text-center btn-sde-blue mt-1" href="{{ route("users.accounteditpass") }}">{{__('msg.ændrepassword')}}</a>
|
2020-08-12 08:46:36 +00:00
|
|
|
<a class="btn text-center btn-sde-blue mt-1" href="{{ route("users.accounteditpic") }}">{{__('msg.ændrebillede')}}</a>
|
2020-06-30 12:04:34 +00:00
|
|
|
</main>
|
|
|
|
@endsection
|