mirror of
https://github.com/linuxserver/Heimdall-Apps.git
synced 2026-01-09 06:51:35 +08:00
* Improve config fields for all enhanced apps * Further standardised password fields * Standardised API Key field * Standardised all overwrite url fields * Standardise Username field * Standardise password field * Update package-lock.json * Put all blade files through a Blade formatter Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
15 lines
830 B
PHP
Executable File
15 lines
830 B
PHP
Executable File
<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>Stats to show</label>
|
|
{!! Form::select('config[availablestats][]', App\SupportedApps\SpeedtestTracker\SpeedtestTracker::getAvailableStats(), isset($item) ? $item->getConfig()->availablestats ?? null : null, ['multiple' => 'multiple']) !!}
|
|
</div>
|
|
<div class="input">
|
|
<button style="margin-top: 32px;" class="btn test" id="test_config">Test</button>
|
|
</div>
|
|
</div>
|