Merge pull request #197 from finish06/master

Add App - Flood
This commit is contained in:
KodeStar 2018-06-13 15:20:24 +01:00 committed by GitHub
commit 8666daa07d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 2 deletions

View file

@ -34,6 +34,7 @@ class Item extends Model
'Dokuwiki' => \App\SupportedApps\Dokuwiki::class,
'Duplicati' => \App\SupportedApps\Duplicati::class,
'Emby' => \App\SupportedApps\Emby::class,
'Flood' => \App\SupportedApps\Flood::class,
'Gitea' => \App\SupportedApps\Gitea::class,
'Glances' => \App\SupportedApps\Glances::class,
'Grafana' => \App\SupportedApps\Grafana::class,
@ -114,7 +115,7 @@ class Item extends Model
$output->view = $view;
}
if(!isset($output->dataonly)) $output->dataonly = '0';
}
return (object)$output;
}
@ -134,7 +135,7 @@ class Item extends Model
}
}
//die(var_dump($store))
$config['enabled'] = ($store) ? true : false;
$config = json_encode($config);
}

View file

@ -0,0 +1,12 @@
<?php namespace App\SupportedApps;
class Flood implements Contracts\Applications {
public function defaultColour()
{
return '##00D091';
}
public function icon()
{
return 'supportedapps/Flood.png';
}
}

View file

@ -79,6 +79,7 @@ Supported applications are recognized by the title of the application as entered
- unRAID
- pfSense
- pyLoad
- rTorrent/Flood
- rTorrent/ruTorrent
- Syncthing
- Watcher3

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB