Merge pull request #73 from cheesemarathon/master

Add apps
This commit is contained in:
KodeStar 2018-02-13 17:58:50 +00:00 committed by GitHub
commit ba48a45d39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 52 additions and 0 deletions

View file

@ -42,6 +42,10 @@ class Item extends Model
'Traefik' => \App\SupportedApps\Traefik::class,
'UniFi' => \App\SupportedApps\Unifi::class,
'pFsense' => \App\SupportedApps\Pfsense::class,
'Sonarr' => \App\SupportedApps\Sonarr::class,
'Radarr' => \App\SupportedApps\Radarr::class,
'Home Assistant' => \App\SupportedApps\HomeAssistant::class,
'Jackett' => \App\SupportedApps\Jackett::class,
];
}
public static function supportedOptions()

View file

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

View file

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

View file

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

View file

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB