202dc1b3341c976785eab77935fe04ffe6082244
[myslice.git] / plugins / simplelist.py
1 from engine.plugin import Plugin
2
3 class SimpleList (Plugin) :
4     
5     def render_content (self):
6         return """<ul><li>this hard-wired list</li>
7 <li>is defined</li>
8 <li>in plugins.simplelist.py</li>
9 <li>while it should of course</li>
10 <li>instead issue a query</li>
11 <li>and fill the DOM in js from there</li>
12 <li>it would however maybe make sense</li>
13 <li>to offer the option to 'datatablify'</li>
14 <li>the list from the python code</li>
15 <li>just like a standard plugin can be set as visible or not</li>
16 <li>IMHO there should be explicit subclasses of SimpleList for slices or testbeds</li>
17 </ul>"""