Heimdall-Apps/Jellystat/config.blade.php
kekZiger 6a4c63fa31
Add JellyStat as enhanced (#732)
* First Version
- Icon is not the right size
- "Something went wrong"
* Rename icon
* Overhaul...
* Remove all debug stuff
* changes for PHPCS
* PHPCS
2024-05-18 00:42:54 +02:00

15 lines
822 B
PHP

<h2>{{ __('app.apps.config') }} ({{ __('app.optional') }}) @include('items.enable')</h2>
<div class="items">
<div class="input">
<label>{{ strtoupper(__('app.url')) }}</label>
{!! Form::text('config[override_url]', isset($item) ? $item->getconfig()->override_url : null, ['placeholder' => __('app.apps.override'), 'id' => 'override_url', 'class' => 'form-control']) !!}
</div>
<div class="input">
<label>API token</label>
{!! Form::input('text', 'config[x_api_token]', isset($item) ? $item->getconfig()->x_api_token : null, ['placeholder' => __('Api Token'), 'data-config' => 'x_api_token', 'class' => 'form-control config-item']) !!}
</div>
<div class="input">
<button style="margin-top: 32px;" class="btn test" id="test_config">Test</button>
</div>
</div>