- Here is your new personal access token. This is the only time it will be shown so don't lose it!
+ Here is your new personal access token. This is the only time it will be shown so don't lose
+ it!
You may now use this token to make API requests.
@@ -146,7 +148,7 @@
@@ -155,144 +157,144 @@
diff --git a/resources/views/account/auth.blade.php b/resources/views/account/auth.blade.php
index de279eb7..6db250f2 100644
--- a/resources/views/account/auth.blade.php
+++ b/resources/views/account/auth.blade.php
@@ -1,111 +1,121 @@
@extends('layouts.layout')
@section('title')
- Authentication
+ Authentication
@endsection
@section('content')
-
-
Account authentication status for:
-
-
-
-
-
-
-
-
-
-
-
-
How to authenticate:
-
-
- Make sure you have the RuneManager plugin enabled
- Enter your RuneManager user credentials in the RuneManager plugin configurations
- Log in on your Old School RuneScape account
- Type in chat:
- !auth {{ $authStatus->code }}
-
- You should get the response:
- Attempting to authenticate account {{ $authStatus->username }} to user {{ $authStatus->user->name }}
-
- And then:
- Account successfully authenticated!
-
-
-
-
Other responses mean:
-
-
-
- Not a supported account type. Valid account types: normal, ironman, hardcore ironman, ultimate ironman
- This means you are attempting to authenticate the account on an unsupported game mode such as DMM, Leagues etc.
- To fix this you have to log in to a normal world
-
-
- This account has no pending status
- This means this account has (or has not successfully) already been authenticated to RuneManager
-
-
- This account is registered as <account type>, not <account type>
- This means you are attempting to authenticate the account with a different account type than the registered account type
- To fix this you can update the account type above
-
-
- Invalid code
- This means you have most likely written the code wrong. Try again
-
-
- Could not fetch player data from hiscores
- This means RuneManager was not able to fetch player hiscores from Old School RuneScape. This is most likely an error on the Old School hiscore server
-
-
-
-@endsection
\ No newline at end of file
+
+
Account authentication status for:
+
+
+
+
+
+
+
+
+
+
+
+
How to authenticate:
+
+
+ Make sure you have the RuneManager plugin enabled
+ Enter your RuneManager user credentials in the RuneManager plugin configurations
+ Log in on your Old School RuneScape account
+ Type in chat:
+ !auth {{ $authStatus->code }}
+
+ You should get the response:
+ Attempting to authenticate account {{ $authStatus->username }} to
+ user {{ $authStatus->user->name }}
+
+ And then:
+ Account successfully authenticated!
+
+
+
+
Other responses mean:
+
+
+
+ Not a supported account type. Valid account types: normal, ironman, hardcore ironman, ultimate
+ ironman
+ This means you are attempting to authenticate the account on an unsupported game mode such as DMM, Leagues etc.
+ To fix this you have to log in to a normal world
+
+
+ This account has no pending status
+ This means this account has (or has not successfully) already been authenticated to RuneManager
+
+
+ This account is registered as <account type>, not <account type>
+ This means you are attempting to authenticate the account with a different account type than the registered account type
+ To fix this you can update the account type above
+
+
+ Invalid code
+ This means you have most likely written the code wrong. Try again
+
+
+ Could not fetch player data from hiscores
+ This means RuneManager was not able to fetch player hiscores from Old School RuneScape. This is most likely an error on the Old School hiscore server
+
+
+
+@endsection
diff --git a/resources/views/account/create.blade.php b/resources/views/account/create.blade.php
index 46ac191c..f5b1aaf3 100644
--- a/resources/views/account/create.blade.php
+++ b/resources/views/account/create.blade.php
@@ -1,66 +1,73 @@
@extends('layouts.layout')
@section('title')
- Link account
+ Link account
@endsection
@section('content')
-
-
+
-@endsection
\ No newline at end of file
+
+
+
+@endsection
diff --git a/resources/views/account/index.blade.php b/resources/views/account/index.blade.php
index c5a81576..13ad9573 100644
--- a/resources/views/account/index.blade.php
+++ b/resources/views/account/index.blade.php
@@ -1,56 +1,85 @@
@extends('layouts.layout')
@section('title')
- Accounts
+ Accounts
@endsection
@section('content')
-
- @if (count($accounts) > 0)
-
+
+ @if ($accounts->isNotEmpty())
+
-
+
+
+
+
+ @if ($query)
+
+ @else
+
+ @endif
+
+
+ @foreach($accounts as $account)
+
+
+
+ @endforeach
+
+ @else
+
+
+
There are no linked accounts
+
Link an account here !
+
+ @endif
+
+@endsection
diff --git a/resources/views/account/show.blade.php b/resources/views/account/show.blade.php
index e0e0999a..436b8d29 100644
--- a/resources/views/account/show.blade.php
+++ b/resources/views/account/show.blade.php
@@ -1,22 +1,28 @@
@extends('layouts.layout')
@section('title')
- {{ $account->username }}
+ {{ $account->username }}
@endsection
@section('content')
-
- @if ($account->user->private === 0 || (Auth::check() && $account->user->id == Auth::user()->id))
-
-
-
+
+ @if ($account->user->private === 0 || (Auth::check() && $account->user->id == Auth::user()->id))
+
+
-
- @else
-
-
-
This user is private
-
- @endif
-
-@endsection
\ No newline at end of file
+
+
+ @else
+
+
+
This user is private
+
+ @endif
+
+@endsection
diff --git a/resources/views/admin/index.blade.php b/resources/views/admin/index.blade.php
index 2c55188d..775909bd 100644
--- a/resources/views/admin/index.blade.php
+++ b/resources/views/admin/index.blade.php
@@ -1,67 +1,67 @@
@extends('layouts.admin')
@section('title')
- TITLE
+ TITLE
@endsection
@section('content')
-
-
-
-
-
-
Total users
-
{{ $users }}
-
-
+
+
+
+
+
+
Total users
+
{{ $users }}
+
+
-
-
-
-
Lorem ipsum
-
dolor sit amet
-
-
+
+
+
+
Lorem ipsum
+
dolor sit amet
+
+
-
-
-
-
Lorem ipsum
-
dolor sit amet
-
-
+
+
+
+
Lorem ipsum
+
dolor sit amet
+
+
-
-
-
-
Lorem ipsum
-
dolor sit amet
-
-
-
+
+
+
+
Lorem ipsum
+
dolor sit amet
+
+
+
-
- @for ($i = 0; $i < 2; $i++)
-
-
-
-
Lorem ipsum
-
dolor sit amet
-
-
- @endfor
-
+
+ @for ($i = 0; $i < 2; $i++)
+
+
+
+
Lorem ipsum
+
dolor sit amet
+
+
+ @endfor
+
-
- @for ($i = 0; $i < 2; $i++)
-
-
-
-
Lorem ipsum
-
dolor sit amet
-
-
- @endfor
-
-
-@endsection
\ No newline at end of file
+
+ @for ($i = 0; $i < 2; $i++)
+
+
+
+
Lorem ipsum
+
dolor sit amet
+
+
+ @endfor
+
+
+@endsection
diff --git a/resources/views/admin/member/create.blade.php b/resources/views/admin/member/create.blade.php
index 12a84b9b..94d12c4d 100644
--- a/resources/views/admin/member/create.blade.php
+++ b/resources/views/admin/member/create.blade.php
@@ -1,29 +1,30 @@
@extends('layouts.admin')
@section('title')
- TITLE
+ TITLE
@endsection
@section('content')
-
Register an OSRS account
-
If you want to preregister an OSRS account for future use / reference, you can do it here.
-
This means this account will not be able to be linked for a new user, but have to be linked manually.
+
Register an OSRS account
+
If you want to preregister an OSRS account for future use / reference, you can do it here.
+
This means this account will not be able to be linked for a new user, but have to be linked manually.
-
-@endsection
\ No newline at end of file
+
+ Register
+
+
+@endsection
diff --git a/resources/views/admin/member/index.blade.php b/resources/views/admin/member/index.blade.php
index e32d19e2..277f9749 100644
--- a/resources/views/admin/member/index.blade.php
+++ b/resources/views/admin/member/index.blade.php
@@ -1,61 +1,66 @@
@extends('layouts.admin')
@section('title')
- TITLE
+ TITLE
@endsection
@section('content')
- @section('navigation')
-
Register account
- @endsection
+@section('navigation')
+
Register account
+@endsection
+
+
+
+
Search for OSRS accounts
+
-
-
-
Search for OSRS accounts
-
+
+
+
+
+
+
+@if ($query)
Search results for "{{ $query }}" @endif
+
+
+ Account ID
+ Username
+ Rank
+ Level
+ XP
+ Linked user
+ Registered
+ Actions
+
+ @foreach ($members as $member)
+
+ {{ $member->id }}
+ {{ $member->username }}
+ {{ number_format($member->rank) }}
+ {{ $member->level }}
+ {{ number_format($member->xp) }}
+ @if ($member->user_id)@if ($member->user->icon_id) @endif{{ $member->user_id }} - {{ $member->user->name }} @endif
+ {{ \Carbon\Carbon::parse($member->created_at)->format('d. M Y H:i') }}
+ Show
+
+ @endforeach
+
+@endsection
diff --git a/resources/views/admin/member/show.blade.php b/resources/views/admin/member/show.blade.php
index 21ddc4d1..092acf04 100644
--- a/resources/views/admin/member/show.blade.php
+++ b/resources/views/admin/member/show.blade.php
@@ -1,70 +1,72 @@
@extends('layouts.admin')
@section('title')
- TITLE
+ TITLE
@endsection
@section('content')
-
-
-
{{ $member->username }}
+
+
+
{{ $member->username }}
- Rank: {{ number_format($member->rank) }}
-
- Total XP: {{ number_format($member->xp) }}
-
- Total Level: {{ $member->level }}
-
- Joined: {{ \Carbon\Carbon::parse($member->created_at)->format('d. M Y') }}
-
+
Rank: {{ number_format($member->rank) }}
+
+
Total XP: {{ number_format($member->xp) }}
+
+
Total Level: {{ $member->level }}
+
+
Joined: {{ \Carbon\Carbon::parse($member->created_at)->format('d. M Y') }}
+
-
-
Transfer ownership of this account:
+
+
Transfer ownership of this account:
-
-
-
+
Transfer
+
+
+
-
-
- Skill
- Level
- XP
- Rank
- Last trained
-
- @foreach (Helper::accountStats($member->id) as $skillId => $skill)
-
-
-
-
- {{ ucfirst(Helper::listSkills()[$skillId]) }}
-
-
- {{ $skill[0]->level }}
- {{ number_format($skill[0]->xp) }}
- {{ number_format($skill[0]->rank) }}
- {{ \Carbon\Carbon::parse($skill[0]->updated_at)->format('d. M Y H:i') }}
-
- @endforeach
-
-@endsection
\ No newline at end of file
+
+
+ Skill
+ Level
+ XP
+ Rank
+ Last trained
+
+ @foreach (Helper::accountStats($member->id) as $skillId => $skill)
+
+
+
+
+ {{ ucfirst(Helper::listSkills()[$skillId]) }}
+
+
+ {{ $skill[0]->level }}
+ {{ number_format($skill[0]->xp) }}
+ {{ number_format($skill[0]->rank) }}
+ {{ \Carbon\Carbon::parse($skill[0]->updated_at)->format('d. M Y H:i') }}
+
+ @endforeach
+
+@endsection
diff --git a/resources/views/admin/news/create.blade.php b/resources/views/admin/news/create.blade.php
index e8dbcc79..ad8dc8e1 100644
--- a/resources/views/admin/news/create.blade.php
+++ b/resources/views/admin/news/create.blade.php
@@ -1,84 +1,88 @@
@extends('layouts.admin')
@section('title')
- TITLE
+ TITLE
@endsection
@section('content')
-
{{ __('title.create-newspost') }}
+
{{ __('title.create-newspost') }}
-
-
-
-
-@endsection
\ No newline at end of file
+ @enderror
+
+
+ Post news
+
+
+
+
+
+@endsection
diff --git a/resources/views/admin/news/edit.blade.php b/resources/views/admin/news/edit.blade.php
index 0a338edf..2b6d8040 100644
--- a/resources/views/admin/news/edit.blade.php
+++ b/resources/views/admin/news/edit.blade.php
@@ -1,126 +1,134 @@
@extends('layouts.admin')
@section('title')
- TITLE
+ TITLE
@endsection
@section('content')
- @section('navigation')
-
- @method('DELETE')
- @csrf
+@section('navigation')
+
+ @method('DELETE')
+ @csrf
- Delete newspost
-
- @endsection
+
Delete newspost
+
+@endsection
-
Update newspost "{{ $post->title }}"
+
Update newspost "{{ $post->title }}"
-
-
-
-
+
+
+
+
-
-
- @method('PATCH')
- @csrf
+
+
+ @method('PATCH')
+ @csrf
-
-
- {{ $post->longstory }}
+ {{ $post->longstory }}
- @error('longstory')
-
+ @error('longstory')
+
{{ $message }}
- @enderror
-
-
- Update news
-
-
-
-
-
-
-
-@endsection
\ No newline at end of file
+ @enderror
+
+
+ Update news
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/admin/news/index.blade.php b/resources/views/admin/news/index.blade.php
index febf92f6..570f1379 100644
--- a/resources/views/admin/news/index.blade.php
+++ b/resources/views/admin/news/index.blade.php
@@ -1,42 +1,42 @@
@extends('layouts.admin')
@section('title')
- TITLE
+ TITLE
@endsection
@section('content')
-
News
+
News
-
-
- News ID
- Title
- Shortstory
- Category
- Author
- Posted
- Actions
-
+
+
+ News ID
+ Title
+ Shortstory
+ Category
+ Author
+ Posted
+ Actions
+
- @foreach ($newsPosts as $news)
-
- {{ $news->id }}
- {{ $news->title }}
- {{ $news->shortstory }}
- {{ $news->category->category }}
- {{ $news->user->name }}
- {{ \Carbon\Carbon::parse($news->created_at)->format('d. M Y H:i') }}
-
- Show
- Edit
-
- @method('DELETE')
- @csrf
+ @foreach ($newsPosts as $news)
+
+ {{ $news->id }}
+ {{ $news->title }}
+ {{ $news->shortstory }}
+ {{ $news->category->category }}
+ {{ $news->user->name }}
+ {{ \Carbon\Carbon::parse($news->created_at)->format('d. M Y H:i') }}
+
+ Show
+ Edit
+
+ @method('DELETE')
+ @csrf
- Delete
-
-
-
- @endforeach
-
-@endsection
\ No newline at end of file
+ Delete
+
+
+
+ @endforeach
+
+@endsection
diff --git a/resources/views/admin/news/show.blade.php b/resources/views/admin/news/show.blade.php
index cd83b7c9..df3d73de 100644
--- a/resources/views/admin/news/show.blade.php
+++ b/resources/views/admin/news/show.blade.php
@@ -1,25 +1,26 @@
@extends('layouts.admin')
@section('title')
- TITLE
+ TITLE
@endsection
@section('content')
- @section('navigation')
-
- @method('DELETE')
- @csrf
+@section('navigation')
+
+ @method('DELETE')
+ @csrf
- Delete newspost
-
- @endsection
+
Delete newspost
+
+@endsection
-
-
-
-
-
{{ $post->title }}
-
{{ $post->shortstory }}
- {!! $post->longstory !!}
-
-@endsection
\ No newline at end of file
+
+
+
+
+
{{ $post->title }}
+
{{ $post->shortstory }}
+ {!! $post->longstory !!}
+
+@endsection
diff --git a/resources/views/admin/rank/index.blade.php b/resources/views/admin/rank/index.blade.php
index aa6d9f9e..92cd2788 100644
--- a/resources/views/admin/rank/index.blade.php
+++ b/resources/views/admin/rank/index.blade.php
@@ -1,24 +1,24 @@
@extends('layouts.admin')
@section('title')
- TITLE
+ TITLE
@endsection
@section('content')
-
Ranks and permissions
+
Ranks and permissions
-
-
- ID
- Rank
- Permissions
-
- @foreach ($roles as $role)
-
- {{ $role->id }}
- {{ $role->name}}
- {{ $role->}}
-
- @endforeach
-
-@endsection
\ No newline at end of file
+
+
+ ID
+ Rank
+ Permissions
+
+ @foreach ($roles as $role)
+
+ {{ $role->id }}
+ {{ $role->name}}
+ {{ $role->}}
+
+ @endforeach
+
+@endsection
diff --git a/resources/views/admin/user/edit.blade.php b/resources/views/admin/user/edit.blade.php
index 549db6c0..cd11a4c6 100644
--- a/resources/views/admin/user/edit.blade.php
+++ b/resources/views/admin/user/edit.blade.php
@@ -1,115 +1,127 @@
@extends('layouts.admin')
@section('title')
- TITLE
+ TITLE
@endsection
@section('content')
- @section('navigation')
-
- Ban user
-
- @endsection
-
-
-
- @if ($user->icon_id)
@endif
-
{{ $user->name }}
-
@role('admin') [Admin] @endrole
-
-
-
- @method('PATCH')
- @csrf
-
-
+
+ @php $accountNumber++ @endphp
+ @endforeach
+ @endif
+
+
+ Update
+
+
+
+@endsection
diff --git a/resources/views/admin/user/index.blade.php b/resources/views/admin/user/index.blade.php
index e543f113..40320d74 100644
--- a/resources/views/admin/user/index.blade.php
+++ b/resources/views/admin/user/index.blade.php
@@ -1,63 +1,71 @@
@extends('layouts.admin')
@section('title')
- TITLE
+ TITLE
@endsection
@section('content')
-
-
-
Search for users
-
+
+
+
Search for users
+
-
- @csrf
+
+ @csrf
-
+
-
-
- @if ($query)Search results for "{{ $query }}" @endif
-
-
- User ID
- Username
- Email
- Private
- Linked OSRS account
- Registered
- Actions
-
- @foreach ($users as $user)
-
- {{ $user->id }}
- @if ($user->icon_id) @endif {{ $user->name }}
- {{ $user->email }}
- {{ ($user->private === 0 ? 'False' : 'True') }}
-
- @foreach ($user->member as $member)
- @if (count($user->member) > 1)
- {{ $member->id }} - {{ $member->username }}
- @else
- {{ $member->id }} - {{ $member->username }}
- @endif
- @endforeach
-
- {{ \Carbon\Carbon::parse($user->created_at)->format('d. M Y H:i') }}
- Show Edit Ban?
-
- @endforeach
-
-@endsection
\ No newline at end of file
+ @enderror
+
+
+
+
+
+
+ @if ($query)
Search results for "{{ $query }}" @endif
+
+
+ User ID
+ Username
+ Email
+ Private
+ Linked OSRS account
+ Registered
+ Actions
+
+ @foreach ($users as $user)
+
+ {{ $user->id }}
+ @if ($user->icon_id) @endif {{ $user->name }}
+ {{ $user->email }}
+ {{ ($user->private === 0 ? 'False' : 'True') }}
+
+ @foreach ($user->member as $member)
+ @if (count($user->member) > 1)
+ {{ $member->id }}
+ - {{ $member->username }}
+ @else
+ {{ $member->id }}
+ - {{ $member->username }}
+ @endif
+ @endforeach
+
+ {{ \Carbon\Carbon::parse($user->created_at)->format('d. M Y H:i') }}
+ Show Edit Ban?
+
+ @endforeach
+
+@endsection
diff --git a/resources/views/admin/user/show.blade.php b/resources/views/admin/user/show.blade.php
index edafc75a..a6900ee2 100644
--- a/resources/views/admin/user/show.blade.php
+++ b/resources/views/admin/user/show.blade.php
@@ -1,70 +1,73 @@
@extends('layouts.admin')
@section('title')
- TITLE
+ TITLE
@endsection
@section('content')
- @section('navigation')
-
Edit
+@section('navigation')
+
Edit
-
- Ban user
-
- @endsection
+
+ Ban user
+
+@endsection
+
+
+
+
+ @if ($user->icon_id)
+
+
+
+ @endif
+
{{ $user->name }}
+
rank
-
-
-
- @if ($user->icon_id)
-
-
-
- @endif
-
{{ $user->name }}
-
rank
+
About
+
Email: {{ $user->email }}
+
Icon ID: {{ (is_null($user->icon_id)) ? 'None' : $user->icon_id }}
+
Private: {{ ($user->private === 0 ? 'False' : 'True') }}
+
User ID: {{ $user->id }}
+
Joined: {{ \Carbon\Carbon::parse($user->created_at)->format('d. M Y H:i') }}
+
Last updated: {{ \Carbon\Carbon::parse($user->updated_at)->format('d. M Y H:i') }}
+
+
-
About
-
Email: {{ $user->email }}
-
Icon ID: {{ (is_null($user->icon_id)) ? 'None' : $user->icon_id }}
-
Private: {{ ($user->private === 0 ? 'False' : 'True') }}
-
User ID: {{ $user->id }}
-
Joined: {{ \Carbon\Carbon::parse($user->created_at)->format('d. M Y H:i') }}
-
Last updated: {{ \Carbon\Carbon::parse($user->updated_at)->format('d. M Y H:i') }}
-
-
+
+
+
OSRS accounts
-
-
-
OSRS accounts
+ @foreach ($accounts as $amount => $account)
+
+
+
+
@if (count($user->member) > 1) {{ ++$amount }} - @endif{{ $account->username }}
+
+ Rank: {{ number_format($account->rank) }} |
+ Level: {{ $account->level }} |
+ Total XP: {{ number_format($account->xp) }}
+
+
+
- @foreach ($accounts as $amount => $account)
-
-
-
-
@if (count($user->member) > 1) {{ ++$amount }} - @endif{{ $account->username }}
-
- Rank: {{ number_format($account->rank) }} |
- Level: {{ $account->level }} |
- Total XP: {{ number_format($account->xp) }}
-
-
-
+
+
+ @foreach (Helper::accountStats($account->id) as $skillId => $skill)
+
+
-
-
- @endforeach
-
-
-
-@endsection
\ No newline at end of file
+
{{ json_decode($skill[0]->level, true) }}
+
+ @endforeach
+
+
+
+ @endforeach
+
+
+
+@endsection
diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php
index 3f72c10e..4c73420c 100644
--- a/resources/views/auth/login.blade.php
+++ b/resources/views/auth/login.blade.php
@@ -1,73 +1,76 @@
@extends('layouts.layout')
@section('title')
- Login
+ Login
@endsection
@section('content')
-
-
+
+
-
- @csrf
+
+ @csrf
-
-
-
-
+
+
+
+@endsection
diff --git a/resources/views/auth/passwords/confirm.blade.php b/resources/views/auth/passwords/confirm.blade.php
index ca78fc1d..924f076d 100644
--- a/resources/views/auth/passwords/confirm.blade.php
+++ b/resources/views/auth/passwords/confirm.blade.php
@@ -1,49 +1,52 @@
@extends('layouts.app')
@section('content')
-
-
-
-
-
+
+
+
+
+
-
- {{ __('Please confirm your password before continuing.') }}
+
+ {{ __('Please confirm your password before continuing.') }}
-
- @csrf
+
+ @csrf
-
-
@endsection
diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php
index 1fea9845..bb7e36ca 100644
--- a/resources/views/auth/passwords/email.blade.php
+++ b/resources/views/auth/passwords/email.blade.php
@@ -1,47 +1,50 @@
@extends('layouts.app')
@section('content')
-
-
-
-
-
+
+
+
+
+
-
- @if (session('status'))
-
- {{ session('status') }}
-
- @endif
+
+ @if (session('status'))
+
+ {{ session('status') }}
+
+ @endif
-
- @csrf
+
+ @csrf
-
-
@endsection
diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php
index 989931d3..7d7682ca 100644
--- a/resources/views/auth/passwords/reset.blade.php
+++ b/resources/views/auth/passwords/reset.blade.php
@@ -1,65 +1,73 @@
@extends('layouts.app')
@section('content')
-
-
-
-
-
+
+
+
+
+
-
@endsection
diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php
index 7d081349..37f17901 100644
--- a/resources/views/auth/register.blade.php
+++ b/resources/views/auth/register.blade.php
@@ -15,10 +15,11 @@
{{ __('Name') }}
-@endsection
\ No newline at end of file
+@endsection
diff --git a/resources/views/auth/verify.blade.php b/resources/views/auth/verify.blade.php
index 9f8c1bc0..52d2446b 100644
--- a/resources/views/auth/verify.blade.php
+++ b/resources/views/auth/verify.blade.php
@@ -1,28 +1,30 @@
@extends('layouts.app')
@section('content')
-
-
-
-
-
+
+
+
+
+
-
- @if (session('resent'))
-
- {{ __('A fresh verification link has been sent to your email address.') }}
-
- @endif
+
+ @if (session('resent'))
+
+ {{ __('A fresh verification link has been sent to your email address.') }}
+
+ @endif
- {{ __('Before proceeding, please check your email for a verification link.') }}
- {{ __('If you did not receive the email') }},
-
- @csrf
- {{ __('click here to request another') }} .
-
+ {{ __('Before proceeding, please check your email for a verification link.') }}
+ {{ __('If you did not receive the email') }},
+
+ @csrf
+ {{ __('click here to request another') }}
+ .
+
+
-
@endsection
diff --git a/resources/views/hiscore.blade.php b/resources/views/hiscore.blade.php
index 40705be4..5b99be66 100644
--- a/resources/views/hiscore.blade.php
+++ b/resources/views/hiscore.blade.php
@@ -1,70 +1,92 @@
@extends('layouts.layout')
@section('title')
- {{ ucfirst($hiscore) }}
+ {{ ucfirst(Helper::collectionAttribute($hiscoreName, "alias")) }}
@endsection
@section('content')
-
+
-
-
-
-
-
-
-
Skills
-
-
+
-
-
+
+
- @foreach ($hiscoreListTop as $skill)
-
- @endforeach
+ @foreach ($hiscoreListTop as $hiscore)
+
+
+
+ @endforeach
-
-
{{ ucfirst($hiscore) }}
- @foreach ($hiscoreList as $skill)
-
{{ ucfirst($skill) }}
- @endforeach
-
-
- @foreach ($hiscoreListBottom as $skill)
-
- @endforeach
+
+
+
+
+ {{ ucfirst(($hiscoreType === "boss" ? Helper::collectionAttribute($hiscoreName, "alias") : $hiscoreName)) }}
+
+
+
+ @foreach ($hiscoreListBottom as $hiscore)
+
+
+
+ @endforeach
-
-
+
+
- @if ($accountCount > 0)
-
-
-
-
-
+ @if ($accountCount > 0)
+
+
+
- @if ($hiscoreType == "skill")
-
- @elseif ($hiscoreType == "boss")
-
- @endif
- @else
-
-
-
No accounts, no hiscores...
-
Link an account here !
-
- @endif
-
-@endsection
\ No newline at end of file
+ @if ($hiscoreType == "skill")
+
+ @elseif ($hiscoreType == "boss")
+
+ @endif
+ @else
+
+
+
No accounts, no hiscores...
+
Link an account here !
+
+ @endif
+
+@endsection
diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php
index 6a83179a..ceae6e89 100644
--- a/resources/views/home.blade.php
+++ b/resources/views/home.blade.php
@@ -1,74 +1,94 @@
@extends('layouts.layout')
@section('title')
- {{ Auth::user()->name }}
+ {{ Auth::user()->name }}
@endsection
@section('content')
-
-
-
+
+
+
+
+
Welcome, {{ Auth::user()->name }}
-
-
Welcome, {{ Auth::user()->name }}
+
Joined: {{ \Carbon\Carbon::parse($user->created_at)->format('d. M Y') }}
+
-
Joined: {{ \Carbon\Carbon::parse($user->created_at)->format('d. M Y') }}
-
+
+
Current status:
+
+ @if ($user->private === 0)
+
+
Not private
+ @else
+
+
Private
+ @endif
-
- @if ($user->private === 0)
-
Current status:
-
-
-
Not private
- @else
-
Current status:
-
-
-
Private
- @endif
-
-
+
Edit profile
+
+
-
-
Accounts
+
+
+
+
Accounts
-
+
- @foreach ($user->account as $account)
-
-
-
@if ($account->account_type != "normal") @endif{{ $account->username }}
-
+ @foreach ($user->account as $account)
+
+
+
+ @if ($account->account_type !== "normal")
+
+ @endif
+ {{ $account->username }}
+
+
-
- Total level:
-
- {{ $account->level }}
-
-
+
+ Total level:
+
+ {{ $account->level }}
+
+
-
- @endforeach
+
+ @endforeach
-
-
+
+
+
+
- @foreach ($user->account as $account)
-
-
- @endforeach
-
-@endsection
\ No newline at end of file
+ @foreach ($user->account as $account)
+
+
+ @endforeach
+
+@endsection
diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php
index f87963fb..8b9bbddd 100644
--- a/resources/views/index.blade.php
+++ b/resources/views/index.blade.php
@@ -1,144 +1,168 @@
@extends('layouts.layout')
@section('title')
- Home
+ Home
@endsection
@section('content')
-
-
-
-
-
-
Welcome to {{ config('app.name', 'RuneManager') }}
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
-
-
-
-
-
-
-
-
-
-
-
- @forelse ($recentPosts as $post)
-
-
-
-
-
-
-
-
{{ $post->shortstory }}
-
Read more
-
-
-
-
- {{ \Carbon\Carbon::parse($post->created_at)->format('M') }}
-
- {{ \Carbon\Carbon::parse($post->created_at)->format('d') }}
-
-
-
-
- @empty
-
test
- @endforelse
-
- @if (!empty($recentPosts))
-
Read more
- @endif
-
-@endsection
\ No newline at end of file
+
+
+
+
+
+
Welcome to {{ config('app.name', 'RuneManager') }}
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+
+
+
+
+ @if ($recentPosts->isNotEmpty())
+
+
+
+ @foreach ($recentPosts as $post)
+
+
+
+
+
+
+ {{ \Carbon\Carbon::parse($post->created_at)->format('M') }}
+
+ {{ \Carbon\Carbon::parse($post->created_at)->format('d') }}
+
+
+
+
+
+ @if ($loop->last)
+
+ Read more
+
+ @endif
+ @endforeach
+
+ @endif
+@endsection
diff --git a/resources/views/layouts/admin.blade.php b/resources/views/layouts/admin.blade.php
index eb504e6c..2ecf551c 100644
--- a/resources/views/layouts/admin.blade.php
+++ b/resources/views/layouts/admin.blade.php
@@ -16,145 +16,150 @@
-
+
-