34 lines
1.2 KiB
PHP
Raw Normal View History

2018-09-27 17:08:00 +03:00
@extends('layouts.admin')
@section('title', trans_choice('general.updates', 2))
@section('new_button')
2020-10-22 15:42:02 +03:00
<a href="{{ route('updates.check') }}" class="btn btn-warning btn-sm header-button-top"><span class="fa fa-history"></span> &nbsp;{{ trans('updates.check') }}</a>
2018-09-27 17:08:00 +03:00
@endsection
@section('content')
2019-11-16 10:21:14 +03:00
<div class="card">
<div class="card-header">
2019-12-16 17:03:53 +03:00
<span class="title-filter d-none d-sm-block">{{ $name }}</span>
2019-11-16 10:21:14 +03:00
</div>
<div class="card-body">
<p>
2019-11-20 13:35:43 +03:00
<el-progress :text-inside="true" :stroke-width="24" :percentage="update.total" :status="update.status"></el-progress>
2019-11-16 10:21:14 +03:00
2020-05-16 11:45:16 +03:00
<div id="progress-text" class="mt-3" v-html="update.html"></div>
2019-11-20 13:35:43 +03:00
{{ Form::hidden('page', 'update', ['id' => 'page']) }}
{{ Form::hidden('name', $name, ['id' => 'name']) }}
{{ Form::hidden('version', $version, ['id' => 'version']) }}
{{ Form::hidden('alias', $alias, ['id' => 'alias']) }}
{{ Form::hidden('installed', $installed, ['id' => 'installed']) }}
2019-11-16 10:21:14 +03:00
</p>
</div>
2018-09-27 17:08:00 +03:00
</div>
@endsection
2019-11-20 13:35:43 +03:00
@push('scripts_start')
<script src="{{ asset('public/js/install/update.js?v=' . version('short')) }}"></script>
2018-09-27 17:08:00 +03:00
@endpush