32 lines
1.1 KiB
PHP
32 lines
1.1 KiB
PHP
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="form-container">
|
|
<h6><i class="fas fa-clock"></i>
|
|
Update
|
|
</h6>
|
|
<div class="row" style="padding-top: 5px">
|
|
<div class="col-sm-12">
|
|
<div class="row">
|
|
<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 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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|