forked from AzuriomCommunity/Plugin-LiteBans
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to Azuriom V1 (Fix AzuriomCommunity#1)
- Loading branch information
Showing
18 changed files
with
230 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# Plugin-LiteBans | ||
|
||
Display the LiteBans punishments on your website. | ||
|
||
Now updated by Elikill58. | ||
|
||
If you have an issue or want to ask for suggestion, it's [here](https://github.com/AzuriomCommunity/Plugin-LiteBans/issues). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,27 @@ | ||
<h2>{{ trans('litebans::messages.title') }}</h2> | ||
|
||
<nav class="navbar navbar-expand-lg navbar-light bg-white border rounded"> | ||
<div class="container-fluid"> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" | ||
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
<nav class="navbar navbar-expand-lg border rounded mb-4"> | ||
<div class="container-fluid"> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbarSupportedContent"> | ||
<ul class="navbar-nav mr-auto"> | ||
<li class="nav-item {{ request()->routeIs('litebans.index') ? 'active' : ''}}"> | ||
<a class="nav-link" href="{{ route('litebans.index') }}">{{ trans('litebans::messages.navigation.bans') }} | ||
({{ $bansCount }})</a> | ||
</li> | ||
<li class="nav-item {{ request()->routeIs('litebans.mute') ? 'active' : ''}}"> | ||
<a class="nav-link" href="{{ route('litebans.mute') }}">{{ trans('litebans::messages.navigation.mutes') }} | ||
({{ $mutesCount }})</a> | ||
</li> | ||
<li class="nav-item {{ request()->routeIs('litebans.kick') ? 'active' : ''}}"> | ||
<a class="nav-link" href="{{ route('litebans.kick') }}">{{ trans('litebans::messages.navigation.kicks') }} | ||
({{ $kicksCount }})</a> | ||
</li> | ||
<li class="nav-item {{ request()->routeIs('litebans.warn') ? 'active' : ''}}"> | ||
<a class="nav-link" href="{{ route('litebans.warn') }}">{{ trans('litebans::messages.navigation.warns') }} | ||
({{ $warnsCount }})</a> | ||
</li> | ||
<ul class="navbar-nav mr-auto"> | ||
<li class="nav-item {{ request()->routeIs('litebans.index') ? 'active' : ''}}"><a class="nav-link" href="{{ route('litebans.index') }}">{{ trans('litebans::messages.navigation.bans') }}({{ $bansCount }})</a></li> | ||
<li class="nav-item {{ request()->routeIs('litebans.mute') ? 'active' : ''}}"><a class="nav-link" href="{{ route('litebans.mute') }}">{{ trans('litebans::messages.navigation.mutes') }}({{ $mutesCount }})</a></li> | ||
<li class="nav-item {{ request()->routeIs('litebans.kick') ? 'active' : ''}}"><a class="nav-link" href="{{ route('litebans.kick') }}">{{ trans('litebans::messages.navigation.kicks') }}({{ $kicksCount }})</a></li> | ||
<li class="nav-item {{ request()->routeIs('litebans.warn') ? 'active' : ''}}"><a class="nav-link" href="{{ route('litebans.warn') }}">{{ trans('litebans::messages.navigation.warns') }}({{ $warnsCount }})</a></li> | ||
</ul> | ||
<form class="form-inline my-2 my-lg-0" action="{{ route('litebans.search') }}" method="GET"> | ||
<input class="form-control mr-sm-2" type="text" | ||
placeholder="{{ trans('litebans::messages.navigation.search') }}" aria-label="Search" name="q"> | ||
<button class="btn btn-primary my-2 my-sm-0" type="submit"><i class="fas fa-search"></i></button> | ||
</form> | ||
</div> | ||
</div> | ||
</nav> | ||
|
||
@if(session()->has('error-search')) | ||
<div class="alert alert-danger alert-search alert-dismissible fade show mt-3" role="alert"> | ||
<i class="fas fa-exclamation-circle"></i> | ||
{{ session()->get('error-search') }} | ||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
<i class="bi bi-exclamation-circle-fill"></i> | ||
{{ session()->get('error-search') }} | ||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
</div> | ||
@endif | ||
@endif |
Oops, something went wrong.