from engine.plugin import Plugin
class SimpleList (Plugin) :
-
- def render_content (self, request):
- return render_to_string ("widget-simplelist.html",{})
+
+ # SimpleList is useless per se anyways
+ def title (self) : return "Title for Simple List"
+
+ def template (self): return "simplelist.html"
+
+ def requirements (self):
+ return { 'js_files' : [ "js/simplelist.js" ],
+ 'css_files': [ "css/simplelist.css" ],
+# for tests
+# 'js_chunks' : "/* a javascript chunk */",
+# 'css_chunks': "/* a css style */ ",
+ }