Updated Fontawesome to v5

This commit is contained in:
Deon George 2020-05-06 16:30:16 +10:00
parent b3924ea239
commit 87819891a1
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254
8 changed files with 42 additions and 33 deletions

View File

@ -8,7 +8,7 @@
@if(isset($login_note) AND $login_note) @if(isset($login_note) AND $login_note)
<div class="alert alert-info alert-dismissible m-auto"> <div class="alert alert-info alert-dismissible m-auto">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<h5><i class="icon fa fa-info"></i> NOTE!</h5> <h5><i class="icon fas fa-info"></i> NOTE!</h5>
{!! $login_note !!} {!! $login_note !!}
</div> </div>
<br> <br>
@ -46,18 +46,27 @@
<form method="post"> <form method="post">
{{ csrf_field() }} {{ csrf_field() }}
<div class="input-group mb-3">
<input type="email" name="email" class="form-control" placeholder="Email"> <div class="row">
<div class="input-group-append"> <div class="col-12">
<span class="fa fa-envelope input-group-text"></span> <div class="input-group mb-3">
</div> <input type="email" name="email" class="form-control" placeholder="Email">
</div> <div class="input-group-append">
<div class="input-group mb-3"> <span class="input-group-text"><i class="fas fa-envelope fa-fw"></i></span>
<input type="password" name="password" class="form-control" placeholder="Password"> </div>
<div class="input-group-append"> </div>
<span class="fa fa-lock input-group-text"></span> </div>
<div class="col-12">
<div class="input-group mb-3">
<input type="password" name="password" class="form-control" placeholder="Password">
<div class="input-group-append">
<span class="input-group-text"><i class="fas fa-key fa-fw"></i></span>
</div>
</div>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-8"> <div class="col-8">
<div class="checkbox icheck"> <div class="checkbox icheck">
@ -66,9 +75,10 @@
</label> </label>
</div> </div>
</div> </div>
<!-- /.col --> <!-- /.col -->
<div class="col-4"> <div class="col-4">
<button type="submit" name="submit" class="btn btn-primary btn-block btn-flat">Sign In</button> <button type="submit" name="submit" class="btn btn-primary mr-0 float-right">Sign In</button>
</div> </div>
<!-- /.col --> <!-- /.col -->
</div> </div>

View File

@ -1,8 +1,8 @@
<div class="social-auth-links text-center mb-3"> <div class="social-auth-links text-center mb-3">
<p>- OR -</p> <p>- OR -</p>
@foreach(config('auth.social') as $o) @foreach(config('auth.social') as $o)
<a href="{{ url('/auth/'.$o['id']) }}" class="btn btn-block btn-{{ $o['class'] }}"> <a href="{{ url('/auth/'.$o['id']) }}" class="btn btn-block {{ $o['class'] }}">
<i class="fa fa-{{ $o['icon'] }} mr-2"></i> {{ trans('adminlte_lang::message.sign'.$o['name']) }} <i class="{{ $o['icon'] }} fa-fw mr-2"></i> {{ trans('adminlte_lang::message.sign'.$o['name']) }}
</a> </a>
@endforeach @endforeach
</div> </div>

View File

@ -39,7 +39,7 @@
<div class="input-group mb-3"> <div class="input-group mb-3">
<input type="email" name="email" class="form-control" placeholder="Email" required> <input type="email" name="email" class="form-control" placeholder="Email" required>
<div class="input-group-append"> <div class="input-group-append">
<span class="fa fa-envelope input-group-text"></span> <span class="fas fa-envelope input-group-text"></span>
</div> </div>
</div> </div>
<div class="row"> <div class="row">

View File

@ -31,19 +31,19 @@
<div class="input-group mb-3"> <div class="input-group mb-3">
<input type="email" name="email" class="form-control" placeholder="Email" required> <input type="email" name="email" class="form-control" placeholder="Email" required>
<div class="input-group-append"> <div class="input-group-append">
<span class="fa fa-envelope input-group-text"></span> <span class="fas fa-envelope fa-fw input-group-text"></span>
</div> </div>
</div> </div>
<div class="input-group mb-3"> <div class="input-group mb-3">
<input type="password" name="password" class="form-control" placeholder="Password" required> <input type="password" name="password" class="form-control" placeholder="Password" required>
<div class="input-group-append"> <div class="input-group-append">
<span class="fa fa-lock input-group-text"></span> <span class="fas fa-lock input-group-text"></span>
</div> </div>
</div> </div>
<div class="input-group mb-3"> <div class="input-group mb-3">
<input type="password" name="password_confirmation" class="form-control" placeholder="Confirm Password" data-match="#password" required> <input type="password" name="password_confirmation" class="form-control" placeholder="Confirm Password" data-match="#password" required>
<div class="input-group-append"> <div class="input-group-append">
<span class="fa fa-lock input-group-text"></span> <span class="fas fa-lock input-group-text"></span>
</div> </div>
</div> </div>
<div class="row"> <div class="row">

View File

@ -9,12 +9,11 @@
<link rel="stylesheet" href="{{ asset('/css/app.css') }}"> <link rel="stylesheet" href="{{ asset('/css/app.css') }}">
<!-- Font Awesome Icons --> <!-- Font Awesome Icons -->
<link rel="stylesheet" href="{{ asset('/plugin/font-awesome/css/font-awesome.min.css') }}"> <link rel="stylesheet" href="{{ asset('//use.fontawesome.com/releases/v5.13.0/css/all.css') }}">
<!-- IonIcons --> <link rel="stylesheet" href="{{ asset('//use.fontawesome.com/releases/v5.13.0/css/v4-shims.css') }}">
<link rel="stylesheet" href="{{ request()->getScheme() }}://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<!-- Google Font: Source Sans Pro --> <!-- Google Font: Source Sans Pro -->
<link href="{{ request()->getScheme() }}://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300&display=swap" rel="stylesheet">
@if(file_exists('css/social.css')) @if(file_exists('css/social.css'))
<!-- Social Logins --> <!-- Social Logins -->

View File

@ -4,7 +4,7 @@
<!-- Left navbar links --> <!-- Left navbar links -->
<ul class="navbar-nav"> <ul class="navbar-nav">
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" data-widget="pushmenu" href="#"><i class="fa fa-bars"></i></a> <a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a>
</li> </li>
</ul> </ul>
@ -14,10 +14,10 @@
<input class="form-control form-control-navbar" name="q" type="search" placeholder="Search" aria-label="Search" autocomplete="off"> <input class="form-control form-control-navbar" name="q" type="search" placeholder="Search" aria-label="Search" autocomplete="off">
<div class="input-group-append"> <div class="input-group-append">
<button class="btn btn-navbar" type="submit"> <button class="btn btn-navbar" type="submit">
<i class="fa fa-search"></i> <i class="fas fa-search"></i>
</button> </button>
</div> </div>
<span name="searching" class="d-none"><i class="fa fa-spinner fa-spin fa-fw" style="margin-top: .33em; width: 1em; height: 1em;"></i></span> <span name="searching" class="d-none"><i class="fas fa-spinner fa-spin fa-fw" style="margin-top: .33em; width: 1em; height: 1em;"></i></span>
<div id="search_results"></div> <div id="search_results"></div>
</div> </div>
</form> </form>
@ -30,7 +30,7 @@
<!-- Profile Settings --> <!-- Profile Settings -->
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<a class="nav-link" data-toggle="dropdown" href="#"> <a class="nav-link" data-toggle="dropdown" href="#">
<i class="fa fa-cog"></i> <i class="fas fa-cog"></i>
</a> </a>
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-right"> <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
<span class="dropdown-item dropdown-header @if($user->switched) bg-danger @endif"> <span class="dropdown-item dropdown-header @if($user->switched) bg-danger @endif">
@ -43,30 +43,30 @@
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<a href="{{ url('settings') }}" class="dropdown-item"> <a href="{{ url('settings') }}" class="dropdown-item">
<i class="fa fa-user mr-2"></i> Settings <i class="fas fa-user mr-2"></i> Settings
</a> </a>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
@if ($user->switched) @if ($user->switched)
<a href="{{ url('/admin/switch/stop') }}" class="dropdown-item" id="switch"> <a href="{{ url('/admin/switch/stop') }}" class="dropdown-item" id="switch">
<i class="fa fa-sign-out mr-2"></i> {{ trans('adminlte_lang::message.switchoff') }} <i class="fas fa-sign-out-alt mr-2"></i> {{ trans('adminlte_lang::message.switchoff') }}
</a> </a>
@else @else
<a href="{{ url('logout') }}" class="dropdown-item"> <a href="{{ url('logout') }}" class="dropdown-item">
<i class="fa fa-sign-out mr-2"></i> Log Out <i class="fas fa-sign-out-alt mr-2"></i> Log Out
</a> </a>
@endif @endif
</div> </div>
</li> </li>
@else @else
<a href="{{ url()->current().'?login=1' }}" class="text-muted pr-2"><i class="fa fa-lock"></i></a> <a href="{{ url()->current().'?login=1' }}" class="text-muted pr-2"><i class="fas fa-lock"></i></a>
@endif @endif
<!-- Control Side Bar --> <!-- Control Side Bar -->
@isset($controlsidebar) @isset($controlsidebar)
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#"> <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#">
<i class="fa fa-th-large"></i> <i class="fas fa-th"></i>
</a> </a>
</li> </li>
@endisset @endisset

View File

@ -14,7 +14,7 @@
@if($user->exists) @if($user->exists)
<img src="{{ Gravatar::get(($user->exists AND $user->email) ? $user->email : 'nobody@example.com') }}" class="img-circle elevation-2" alt="User"> <img src="{{ Gravatar::get(($user->exists AND $user->email) ? $user->email : 'nobody@example.com') }}" class="img-circle elevation-2" alt="User">
@else @else
<a name="login" href="{{ url()->current().'?login=1' }}" class="d-block"><i class="pl-1 fa fa-3x fa-lock"></i></a> <a name="login" href="{{ url()->current().'?login=1' }}" class="d-block"><i class="pl-1 fas fa-lock fa-2x"></i></a>
@endif @endif
</div> </div>

View File

@ -2,7 +2,7 @@
<li class="nav-item"> <li class="nav-item">
<a href="#" class="nav-link @if(Route::current()->getName() == 'home') active @endif"> <a href="#" class="nav-link @if(Route::current()->getName() == 'home') active @endif">
<i class="nav-icon fa fa-th"></i> <i class="nav-icon fas fa-th"></i>
<p> <p>
My Link Title My Link Title
<span class="right badge badge-danger">New</span> <span class="right badge badge-danger">New</span>