activity for users
[myslice.git] / plugins / lists / testbedlist.py
1 from plugins.lists.simplelist import SimpleList
2
3 class TestbedList (SimpleList):
4     
5     def __init__ (self, **settings):
6         SimpleList.__init__(self, key='platform', classname='testbedlist', **settings)
7
8     # writing a js plugin for that would be overkill, just use SimpleList
9     def plugin_classname (self):
10         return 'SimpleList'
11
12     def requirements (self):
13         req = SimpleList.requirements(self)
14         req['css_files'] += [ 'css/testbedlist.css' ]
15         return req