akaunting 3.0 (the last dance)

This commit is contained in:
Burak Civan
2022-06-01 10:15:55 +03:00
parent cead09f6d4
commit d9c0764572
3812 changed files with 126831 additions and 102949 deletions

View File

@ -1,33 +1,35 @@
@extends('layouts.admin')
<x-layouts.admin>
<x-slot name="title">
{{ trans_choice('general.updates', 2) }}
</x-slot>
@section('title', trans_choice('general.updates', 2))
<x-slot name="buttons">
<x-link href="{{ route('updates.check') }}" kind="primary">
{{ trans('updates.check') }}
</x-link>
</x-slot>
@section('new_button')
<a href="{{ route('updates.check') }}" class="btn btn-warning btn-sm">{{ trans('updates.check') }}</a>
@endsection
<x-slot name="content">
<div class="mt-10">
<div class="flex items-center">
<div class="relative px-4 text-sm text-center pb-2 text-purple font-medium border-purple transition-all after:absolute after:w-full after:h-0.5 after:left-0 after:right-0 after:bottom-0 after:bg-purple after:rounded-tl-md after:rounded-tr-md">
<span>{{ $name }}</span>
</div>
</div>
@section('content')
<div class="card">
<div class="card-header">
<span class="title-filter d-none d-sm-block">{{ $name }}</span>
</div>
<div class="card-body">
<p>
<div class="my-2">
<el-progress :text-inside="true" :stroke-width="24" :percentage="update.total" :status="update.status"></el-progress>
<div id="progress-text" class="mt-3" v-html="update.html"></div>
{{ 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']) }}
</p>
<x-form.input.hidden name="page" value="update" />
<x-form.input.hidden name="name" :value="$name" />
<x-form.input.hidden name="version" :value="$version" />
<x-form.input.hidden name="alias" :value="$alias" />
<x-form.input.hidden name="installed" :value="$installed" />
</div>
</div>
</div>
@endsection
</x-slot>
@push('scripts_start')
<script src="{{ asset('public/js/install/update.js?v=' . version('short')) }}"></script>
@endpush
<x-script folder="install" file="update" />
</x-layouts.admin>