Browse Source

Add apps

Adds jackett, radarr, sonarr and home asssistant as foundation apps
pull/73/head
cheesemarathon 7 years ago
parent
commit
260a88623e
  1. 4
      app/Item.php
  2. 12
      app/SupportedApps/HomeAssistant.php
  3. 12
      app/SupportedApps/Jackett.php
  4. 12
      app/SupportedApps/Radarr.php
  5. 12
      app/SupportedApps/Sonarr.php
  6. BIN
      storage/app/public/supportedapps/homeassistant.png
  7. BIN
      storage/app/public/supportedapps/jackett.png
  8. BIN
      storage/app/public/supportedapps/radarr.png
  9. BIN
      storage/app/public/supportedapps/sonarr.png

4
app/Item.php

@ -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

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

12
app/SupportedApps/Jackett.php

@ -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

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

12
app/SupportedApps/Sonarr.php

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

BIN
storage/app/public/supportedapps/homeassistant.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
storage/app/public/supportedapps/jackett.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

BIN
storage/app/public/supportedapps/radarr.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
storage/app/public/supportedapps/sonarr.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Loading…
Cancel
Save