Added Sabnzbd support

This commit is contained in:
KodeStar
2018-02-08 22:02:28 +00:00
parent b2dd3f803e
commit 758599804c
5 changed files with 88 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ return [
'apps.username' => 'Username',
'apps.password' => 'Password',
'apps.config' => 'Config',
'apps.apikey' => 'Api Key',
'url' => 'Url',
'title' => 'Title',

View File

@@ -0,0 +1,9 @@
<h2>{{ __('app.apps.config') }} ({{ __('app.optional') }})</h2>
<div class="items">
<input type="hidden" data-config="type" class="config-item" name="config[type]" value="\App\SupportedApps\Sabnzbd" />
<div class="input">
<label>{{ __('app.apps.apikey') }}</label>
{!! Form::text('config[apikey]', null, array('placeholder' => __('app.apps.apikey'), 'data-config' => 'apikey', 'class' => 'form-control config-item')) !!}
</div>
<button id="test_config">Test</button>
</div>