123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <div class="d-flex">
- @if($row->logo)
- <img data-action='preview-img' src='{!! $row->logo !!}' style='max-width:40px;max-height:40px;cursor:pointer' class='img img-thumbnail' />
- @endif
- <span class="ext-name">
- @if($row->homepage)
- <a href='{!! $row->homepage !!}' target='_blank' class="feather {{ $linkIcon }}"></a>
- @endif
- @if($row->alias)
- {{ $row->alias }} <br><small class="text-80">{{ $value }}</small>
- @else
- {{ $value }}
- @endif
- </span>
- @if($row->new_version || ! $row->version)
-
- <span class="badge bg-primary">New</span>
- @endif
- </div>
- <div style="height: 10px"></div>
- @if($row->type === Dcat\Admin\Extend\ServiceProvider::TYPE_THEME)
- <span>{{ trans('admin.theme') }}</span>
- @endif
- @if($row->version)
- @if($row->type === Dcat\Admin\Extend\ServiceProvider::TYPE_THEME)
- |
- @endif
- @if($row->enabled)
- {!! $disableAction !!}
- @else
- {!! $enableAction !!}
- @endif
- <span class="hover-display" onclick="$(this).css({display: 'inline'})">
- | {!! $uninstallAction !!}
- </span>
- @endif
- <style>
- .badge {
- max-height: 22px
- }
- .hover-display {
- display:none;
- }
- table tbody tr:hover .hover-display {
- display: inline;
- }
- .ext-name {
- font-size: 1.15rem;
- }
- </style>
|