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)
7 years ago
<img class="app-icon" src="/storage/{{ $app->icon }}" />
7 years ago
@else
7 years ago
<img class="app-icon" src="/img/heimdall-icon-small.png" />
7 years ago
@endif
<div class="details">
<div class="title">{{ $app->title }}</div>
@if(isset($app->config->enabled) && ((bool)$app->config->enabled === true))
<div data-id="{{ $app->id }}" data-dataonly="{{ $app->config->dataonly or '0' }}" class="livestats-container"></div>
@endif
</div>
<a class="link"{!! $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>