Chris
6 years ago
6 changed files with 101 additions and 24 deletions
@ -1,4 +1,4 @@ |
|||
{ |
|||
"/css/app.css": "/css/app.css?id=24e9bb4fa993b66f0572", |
|||
"/css/app.css": "/css/app.css?id=d60b65455c61760b1750", |
|||
"/js/app.js": "/js/app.js?id=f18d23b8fc7a094a2c66" |
|||
} |
|||
|
@ -0,0 +1,21 @@ |
|||
<?php |
|||
$item = $item ?? new App\Item; |
|||
?> |
|||
<section class="item-container" data-id=""> |
|||
<div class="item" style="background-color: {{ $item->colour ?? '#222' }}"> |
|||
@if(isset($item->icon) && !empty($item->icon)) |
|||
<img class="app-icon" src="{{ asset('/storage/'.$item->icon) }}" /> |
|||
@else |
|||
<img class="app-icon" src="{{ asset('/img/heimdall-icon-small.png') }}" /> |
|||
@endif |
|||
<div class="details"> |
|||
<div class="title{{ title_color($item->colour) ?? 'white' }}">{{ $item->title ?? '' }}</div> |
|||
@if($item->enhanced()) |
|||
<div data-id="{{ $item->id }}" data-dataonly="{{ $item->getconfig()->dataonly ?? '0' }}" class="livestats-container"></div> |
|||
@endif |
|||
</div> |
|||
<a class="link{{ title_color($item->colour) }}"{!! $item->link_target !!} href="{{ $item->link }}"><i class="fas {{ $item->link_icon }}"></i></a> |
|||
</div> |
|||
<a class="item-edit" href="{{ route($item->link_type.'.edit', [ $item->id ], false) }}"><i class="fas fa-pencil"></i></a> |
|||
|
|||
</section> |
Loading…
Reference in new issue