Merge branch 'master' of https://github.com/brkcvn/akaunting into page-title
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
{{ $button['text'] }}
|
||||
|
||||
@if (! empty($button['active_badge']))
|
||||
<div class="absolute w-7 h-7 opacity-100 z-20 -top-1.5 -right-8">
|
||||
<div class="absolute w-7 h-7 opacity-100 z-10 -top-1.5 -right-8">
|
||||
<div class="absolute w-5 h-5 left-0 top-1 border border-gray-100 rounded-full animate-pulsate_transparent bg-white"></div>
|
||||
<div class="absolute w-2 h-2 top-2.5 left-1.5 rounded-full bg-green-400"></div>
|
||||
</div>
|
||||
|
@ -2,27 +2,36 @@
|
||||
<div class="flex items-center">
|
||||
@if ($file->aggregate_type == 'image')
|
||||
<span class="material-icons text-base">image</span>
|
||||
@else
|
||||
<span class="material-icons text-base">attach_file</span>
|
||||
@else
|
||||
<span class="material-icons text-base">attach_file</span>
|
||||
@endif
|
||||
|
||||
<div class="flex flex-col text-gray-500 ltr:ml-3 rtl:mr-3 gap-y-1">
|
||||
<span class="w-64 text-sm truncate">{{ $file->basename }}</span>
|
||||
<span class="text-xs mb-0">{{ $file->readableSize() }}</span>
|
||||
<span class="w-64 text-sm truncate">
|
||||
{{ $file->basename }}
|
||||
</span>
|
||||
|
||||
<span class="text-xs mb-0">
|
||||
{{ $file->readableSize() }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-row lg:flex-col gap-x-1">
|
||||
@can('delete-common-uploads')
|
||||
<a href="javascript:void();" id="remove-{{ $column_name }}" @click="onDeleteFile('{{ $file->id }}', '{{ route('uploads.destroy', $file->id) }}', '{{ trans('general.title.delete', ['type' => $column_name]) }}', '{{ trans('general.delete_confirm', ['name' => $file->basename, 'type' => $column_name]) }} ', '{{ trans('general.cancel') }}', '{{ trans('general.delete') }}')" type="button" class="group">
|
||||
<span class="material-icons text-base text-red px-1.5 py-1 rounded-lg group-hover:bg-gray-100">delete</span>
|
||||
</a>
|
||||
</a>
|
||||
|
||||
@if ($options)
|
||||
<input type="hidden" name="page_{{ $file->id}}" id="file-page-{{ $file->id}}" value="{{ $options['page'] }}" />
|
||||
<input type="hidden" name="key_{{ $file->id}}" id="file-key-{{ $file->id}}" value="{{ $options['key'] }}" />
|
||||
<input type="hidden" name="value_{{ $file->id}}" id="file-value-{{ $file->id}}" value="{{ $file->id }}" />
|
||||
@endif
|
||||
<a href="{{ route('uploads.download', $file->id) }}" type="button" class="group">
|
||||
<span class="material-icons text-base text-purple px-1.5 py-1 rounded-lg group-hover:bg-gray-100">download</span>
|
||||
</a>
|
||||
@endcan
|
||||
|
||||
<a href="{{ route('uploads.download', $file->id) }}" type="button" class="group">
|
||||
<span class="material-icons text-base text-purple px-1.5 py-1 rounded-lg group-hover:bg-gray-100">download</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user