added explicit classes for widgets (#3170)
This commit is contained in:
@@ -11,6 +11,12 @@ namespace App\Widget;
|
||||
|
||||
interface WidgetInterface
|
||||
{
|
||||
public const COLOR_TODAY = 'green';
|
||||
public const COLOR_WEEK = 'blue';
|
||||
public const COLOR_MONTH = 'purple';
|
||||
public const COLOR_YEAR = 'yellow';
|
||||
public const COLOR_TOTAL = 'red';
|
||||
|
||||
/**
|
||||
* Returns a unique ID for this widget.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user