Merge branch 'main' of https://github.com/Thomasluigi07/MORBLOX-WEBSITE
This commit is contained in:
commit
14bb681a7a
|
|
@ -175,6 +175,7 @@ h6 {
|
||||||
}
|
}
|
||||||
.NewPanel .SearchCloseBtn{
|
.NewPanel .SearchCloseBtn{
|
||||||
color: #af1400;
|
color: #af1400;
|
||||||
|
transition: .1s linear;
|
||||||
left: auto;
|
left: auto;
|
||||||
margin-left: -105px;
|
margin-left: -105px;
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
|
|
@ -344,29 +345,67 @@ h6 {
|
||||||
height: 12px;
|
height: 12px;
|
||||||
display: block;
|
display: block;
|
||||||
float: right;
|
float: right;
|
||||||
top: -6px;
|
top: -12px;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
.NewPanel .website {
|
.NewPanel .website {
|
||||||
background: linear-gradient(0deg, #0087e0 0%, #005085 49%,#005a85 50%, #0099ff 95%, #fff 100%);
|
background: linear-gradient(0deg, #0087e0 0%, #005085 49%,#005a85 50%, #0099ff 95%, #fff 100%);
|
||||||
|
border: 2px solid #111;
|
||||||
width: 12px;
|
width: 12px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
display: block;
|
display: block;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
margin: -5px;
|
margin: -8px;
|
||||||
}
|
}
|
||||||
.NewPanel .offline {
|
.NewPanel .offline {
|
||||||
background: linear-gradient(0deg, #a3a3a3 0%, #7a7a7a 49%, #797979 50%, #c9c9c9 95%, #fff 100%);
|
background: linear-gradient(0deg, #a3a3a3 0%, #7a7a7a 49%, #797979 50%, #c9c9c9 95%, #fff 100%);
|
||||||
|
border: 2px solid #111;
|
||||||
width: 12px;
|
width: 12px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
display: block;
|
display: block;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
margin: -5px;
|
margin: -8px;
|
||||||
}
|
}
|
||||||
.NewPanel.AdminPanel .flex {
|
.NewPanel.AdminPanel .flex {
|
||||||
display: table!important;
|
display: table!important;
|
||||||
}
|
}
|
||||||
|
.NewPanel .InvitationUserName {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 20px;
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 600;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.NewPanel .InvitationSubName {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 100;
|
||||||
|
}
|
||||||
|
.NewPanel .InvitationSubName .InvitationText {
|
||||||
|
display: inline-block;
|
||||||
|
font-weight: 100;
|
||||||
|
cursor: default;
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-khtml-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
.NewPanel .InvitationSubText {
|
||||||
|
text-align: center;
|
||||||
|
cursor: default;
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-khtml-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
.NewPanel .InvitationSubName li {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width:1000px) {
|
@media (max-width:1000px) {
|
||||||
.NewPanel .AdminSubHeader ul {
|
.NewPanel .AdminSubHeader ul {
|
||||||
|
|
|
||||||
|
|
@ -14,28 +14,43 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('Body')
|
@section('Body')
|
||||||
<div id="Body" style="width: 970px;">
|
<div id="Body" style="width: 970px;">
|
||||||
<h2 class="MainHeader">
|
<h2 class="MainHeader">
|
||||||
Invite Tree
|
Invite Tree
|
||||||
</h2>
|
</h2>
|
||||||
<div class="Userlist">
|
@if (!request()->has('q'))
|
||||||
<form method="GET" action="{{ route('admin_tree') }}">
|
<h5 class="SubHeader">Enter a Username or ID.</h5>
|
||||||
<div>
|
@elseif (!$user)
|
||||||
<input type="text" id="SearchInput" name="q" placeholder="Search" value="{{ request()->q }}">
|
<h5 class="SubHeader text-error">Unable to find user, please check if you entered the correct information.</h5>
|
||||||
@if (request()->query('q'))
|
@endif
|
||||||
<a href="{{ route('admin_tree') }}" class="SearchCloseBtn">X</a>
|
<div class="Userlist">
|
||||||
@endif
|
<form method="GET" action="{{ route('admin_tree') }}">
|
||||||
</input>
|
<div>
|
||||||
<button class="btn-neutral btn-small" name="searchBy" value="name">Search by Username</button>
|
<input type="text" id="SearchInput" name="q" placeholder="Search" value="{{ request()->q }}">
|
||||||
<button class="btn-neutral btn-small" name="searchBy" value="id">Search by ID</button>
|
@if (request()->query('q'))
|
||||||
</div>
|
<a href="{{ route('admin_tree') }}" class="SearchCloseBtn">X</a>
|
||||||
</form>
|
@endif
|
||||||
@if ($user)
|
<button class="btn-neutral btn-small" name="searchBy" value="name" type="submit">Search by
|
||||||
<div class="UserList">
|
Username</button>
|
||||||
</div>
|
<button class="btn-neutral btn-small" name="searchBy" value="id" type="submit">Search by
|
||||||
@endif
|
ID</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</form>
|
||||||
|
@if ($user)
|
||||||
|
<a class="InvitationUserName AuthenticatedUserName" href="{{ route('profile', $user->id) }}">{{ $user->name }}</a>
|
||||||
|
<div class="InvitationSubName">
|
||||||
|
<h4 class="InvitationText">Invited By </h4>
|
||||||
|
<a href="{{ route('profile', App\Models\User::where('name', $invited_by)->first()->id) }}" class="AuthenticatedUserName">{{ $invited_by }}</a>
|
||||||
|
<h5 class="InvitationSubText">{{ $user->name }} Invited</h5>
|
||||||
|
@foreach ($children as $child)
|
||||||
|
<li>
|
||||||
|
<a href="{{ route('profile', $child->id) }}" target="_blank" class="AuthenticatedUserName">{{ $child->name }}</a>
|
||||||
|
</li>
|
||||||
|
@endforeach
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
@section('content')
|
@section('content')
|
||||||
<div id="UserList">
|
<div id="UserList">
|
||||||
|
|
@ -55,15 +70,16 @@
|
||||||
<h2>User Found: {{ $user->name }}</h2>
|
<h2>User Found: {{ $user->name }}</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<h3><a
|
<h3><a href="{{ route('profile', App\Models\User::where('name', $invited_by)->first()->id) }}"
|
||||||
href="{{ route('profile', App\Models\User::where('name', $invited_by)->first()->id) }}" target="_blank">{{ $invited_by }}</a>
|
target="_blank">{{ $invited_by }}</a>
|
||||||
</h3>
|
</h3>
|
||||||
</li>
|
</li>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{{ route('profile', $user->id) }}" target="_blank">{{ $user->name }}</a></li>
|
<li><a href="{{ route('profile', $user->id) }}" target="_blank">{{ $user->name }}</a></li>
|
||||||
<ul>
|
<ul>
|
||||||
@foreach ($children as $child)
|
@foreach ($children as $child)
|
||||||
<li><a href="{{ route('profile', $child->id) }}" target="_blank">{{ $child->name }}</a></li>
|
<li><a href="{{ route('profile', $child->id) }}" target="_blank">{{ $child->name }}</a>
|
||||||
|
</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@
|
||||||
@if (request()->query('q'))
|
@if (request()->query('q'))
|
||||||
<a href="{{ route('admin_users') }}" class="SearchCloseBtn">X</a>
|
<a href="{{ route('admin_users') }}" class="SearchCloseBtn">X</a>
|
||||||
@endif
|
@endif
|
||||||
</input>
|
|
||||||
<button class="btn-neutral btn-small" name="searchBy" value="name">Search by Username</button>
|
<button class="btn-neutral btn-small" name="searchBy" value="name">Search by Username</button>
|
||||||
<button class="btn-neutral btn-small" name="searchBy" value="id">Search by ID</button>
|
<button class="btn-neutral btn-small" name="searchBy" value="id">Search by ID</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -131,12 +130,12 @@
|
||||||
{{ Auth::user()->getMutualFriendsCount($user) }}
|
{{ Auth::user()->getMutualFriendsCount($user) }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="Row hidden">
|
<div class="Row">
|
||||||
<div class="text-secondary">
|
<div class="text-secondary">
|
||||||
Total Badges :
|
Total Badges :
|
||||||
</div>
|
</div>
|
||||||
<a class="text-secondary">
|
<a class="text-secondary">
|
||||||
N/A
|
{{ sizeof($user->badges) }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="Row hidden">
|
<div class="Row hidden">
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
<body>
|
<body>
|
||||||
@yield('alert')
|
@yield('alert')
|
||||||
|
|
||||||
<div id="MasterContainer" class="AdminPanel" style="width: 100%;">
|
<div id="MasterContainer" class="NewPanel AdminPanel" style="width: 100%;">
|
||||||
<div id="AdminWrapper" class="Navigation">
|
<div id="AdminWrapper" class="Navigation">
|
||||||
<div class="AdminHeader">
|
<div class="AdminHeader">
|
||||||
<span class="SiteBrand" href="{{ route('home') }}">
|
<span class="SiteBrand" href="{{ route('home') }}">
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@
|
||||||
@default
|
@default
|
||||||
@endswitch
|
@endswitch
|
||||||
@endauth
|
@endauth
|
||||||
<a id="logo_full" href="{{ route('home') }}"><img alt="ARCHBLOX Logo" class = "btn-logo" src="{{ asset('img/MORBLOXlogo.png') }}"/></a>
|
<a id="logo_full" href="{{ route('home') }}"><img alt="ARCHBLOX Logo" class="btn-logo" src="{{ asset('img/MORBLOXlogo.png') }}"/></a>
|
||||||
<a id="logo_small" href="{{ route('home') }}"><img alt="ARCHBLOX Logo"
|
<a id="logo_small" href="{{ route('home') }}"><img alt="ARCHBLOX Logo"
|
||||||
src="{{ asset('img/MORBLOXlogoshort.png') }}"/></a>
|
src="{{ asset('img/MORBLOXlogoshort.png') }}"/></a>
|
||||||
<div id="NewRedesign" class="navbarbuttoncontainer NavigationRedesign">
|
<div id="NewRedesign" class="navbarbuttoncontainer NavigationRedesign">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue