-
Notifications
You must be signed in to change notification settings - Fork 3
/
Plugin.php
54 lines (46 loc) · 1.35 KB
/
Plugin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/**
* A modern CSS theme for Kanboard.
* ============================================================================
* Copyright © Stack Strategy Inc. All Rights Reserved.
* Website: https://viggo.coding.me/blog/
* ----------------------------------------------------------------------------
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* ============================================================================
* Author: Viggo <leanclose@gmail.com>
* Date: 2019-07-24
*/
namespace Kanboard\Plugin\Spectre;
use Kanboard\Core\Plugin\Base;
class Plugin extends Base
{
public function initialize()
{
$this->hook->on('template:layout:css', ['template' => 'plugins/Spectre/skin.min.css']);
}
public function getPluginName()
{
return 'Spectre Theme';
}
public function getPluginDescription()
{
return t('A CSS-only theme for Kanboard');
}
public function getPluginAuthor()
{
return 'viggo <leanclose@gmail.com>';
}
public function getPluginVersion()
{
return '1.0.3';
}
public function getCompatibleVersion()
{
return '>=1.2.10';
}
public function getPluginHomepage()
{
return 'https://github.com/kuerme/kanboard-theme-spectre';
}
}