You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
1.3 KiB

7 years ago
<section class="item-container{{ $app->droppable }}" data-id="{{ $app->id }}">
7 years ago
<div class="item" style="background-color: {{ $app->colour }}">
@if($app->icon)
<img class="app-icon" src="{{ asset('/storage/'.$app->icon) }}" />
7 years ago
@else
<img class="app-icon" src="{{ asset('/img/heimdall-icon-small.png') }}" />
7 years ago
@endif
<div class="details">
<div class="title{{ title_color($app->colour) }}">{{ $app->title }}</div>
6 years ago
@if($app->enhanced())
6 years ago
<div data-id="{{ $app->id }}" data-dataonly="{{ $app->getconfig()->dataonly ?? '0' }}" class="livestats-container"></div>
@endif
</div>
<a class="link{{ title_color($app->colour) }}"{!! $app->link_target !!} href="{{ $app->link }}"><i class="fas {{ $app->link_icon }}"></i></a>
7 years ago
</div>
7 years ago
<a class="item-edit" href="{{ route($app->link_type.'.edit', [ $app->id ], false) }}"><i class="fas fa-pencil"></i></a>
7 years ago
</section>