forked from ajenti/ajenti
/
main.py
48 lines (44 loc) · 1.15 KB
/
main.py
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
from jadi import component
from aj.plugins.core.api.sidebar import SidebarItemProvider
@component(SidebarItemProvider)
class ItemProvider(SidebarItemProvider):
def __init__(self, context):
pass
def provide(self):
return [
{
'attach': None,
'id': 'category:general',
'name': 'General',
'children': [
]
},
{
'attach': None,
'id': 'category:tools',
'name': 'Tools',
'children': [
]
},
{
'attach': None,
'id': 'category:software',
'name': 'Software',
'children': [
]
},
{
'attach': None,
'id': 'category:system',
'name': 'System',
'children': [
]
},
{
'attach': None,
'id': 'category:other',
'name': 'Other',
'children': [
]
},
]