commit
ba48a45d39
9 changed files with 52 additions and 0 deletions
|
@ -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()
|
||||
|
|
12
app/SupportedApps/HomeAssistant.php
Normal file
12
app/SupportedApps/HomeAssistant.php
Normal 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';
|
||||
}
|
||||
}
|
12
app/SupportedApps/Jackett.php
Normal file
12
app/SupportedApps/Jackett.php
Normal 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';
|
||||
}
|
||||
}
|
12
app/SupportedApps/Radarr.php
Normal file
12
app/SupportedApps/Radarr.php
Normal 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';
|
||||
}
|
||||
}
|
12
app/SupportedApps/Sonarr.php
Normal file
12
app/SupportedApps/Sonarr.php
Normal 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';
|
||||
}
|
||||
}
|
BIN
storage/app/public/supportedapps/homeassistant.png
Normal file
BIN
storage/app/public/supportedapps/homeassistant.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
BIN
storage/app/public/supportedapps/jackett.png
Normal file
BIN
storage/app/public/supportedapps/jackett.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.2 KiB |
BIN
storage/app/public/supportedapps/radarr.png
Normal file
BIN
storage/app/public/supportedapps/radarr.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
BIN
storage/app/public/supportedapps/sonarr.png
Normal file
BIN
storage/app/public/supportedapps/sonarr.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
Loading…
Reference in a new issue