-
-
Notifications
You must be signed in to change notification settings - Fork 331
Expand file tree
/
Copy pathconfig.blade.php
More file actions
executable file
·14 lines (14 loc) · 827 Bytes
/
config.blade.php
File metadata and controls
executable file
·14 lines (14 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<h2>{{ __('app.apps.config') }} ({{ __('app.optional') }}) @include('items.enable')</h2>
<div class="items">
<div class="input">
<label>{{ __('app.apps.apikey') }}</label>
{!! Form::text('config[apikey]', isset($item) ? $item->getconfig()->apikey : null, ['placeholder' => __('app.apps.apikey'), 'data-config' => 'apikey', 'class' => 'form-control config-item']) !!}
</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>