* Add custom repository type for updates * Direct to self update module * Formatting
This commit is contained in:
@@ -7,14 +7,24 @@
|
||||
<div class="row" style="padding-top: 5px">
|
||||
<div class="col-sm-12">
|
||||
|
||||
@if ($new_version)
|
||||
<p>An update to version {{ $new_version_tag }} is available.</p>
|
||||
{{ Form::open(['route' => 'admin.maintenance.update']) }}
|
||||
{{ Form::button('Update', ['type' => 'submit', 'class' => 'btn btn-success']) }}
|
||||
{{ Form::close() }}
|
||||
@else
|
||||
<p>There is no new version available</p>
|
||||
@endif
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
@if ($new_version)
|
||||
<p>An update to version {{ $new_version_tag }} is available.</p>
|
||||
{{ Form::open(['route' => 'admin.maintenance.update']) }}
|
||||
{{ Form::button('Update', ['type' => 'submit', 'class' => 'btn btn-success']) }}
|
||||
{{ Form::close() }}
|
||||
@else
|
||||
<p>There is no new version available</p>
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<p>Force new version check</p>
|
||||
{{ Form::open(['route' => 'admin.maintenance.forcecheck']) }}
|
||||
{{ Form::button('Force update check', ['type' => 'submit', 'class' => 'btn btn-success']) }}
|
||||
{{ Form::close() }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -35,19 +35,18 @@
|
||||
@endforeach
|
||||
|
||||
@if(!Auth::check())
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ url('/register') }}">
|
||||
<i class="far fa-id-card"></i>
|
||||
<p>@lang('common.register')</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ url('/login') }}">
|
||||
<i class="fas fa-sign-in-alt"></i>
|
||||
<p>@lang('common.login')</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ url('/register') }}">
|
||||
<i class="far fa-id-card"></i>
|
||||
<p>@lang('common.register')</p>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@else
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ route('frontend.flights.index') }}">
|
||||
|
||||
Reference in New Issue
Block a user