renamed template/static files where they belong
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 20 Dec 2012 09:22:30 +0000 (10:22 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 20 Dec 2012 09:22:30 +0000 (10:22 +0100)
Makefile
engine/plugin.py
engine/templates/plugin.html [moved from templates/widget-plugin.html with 100% similarity]
plugins/static/js/with-datatables.js [moved from engine/static/js/with-datatables.js with 100% similarity]

index 19418db..92f9d13 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,13 @@ tags: force
 ftags: force
        find . -type f | fgrep -v '/.git/' | xargs etags
 
+list-html: force
+       @find . -type f -name '*.html'
+list-js: force
+       @find . -type f -name '*.js' | grep -v '/all-static/'
+list-css: force
+       @find . -type f -name '*.css' | grep -v '/all-static/'
+
 #################### manage static contents (extract from all the modules into the single all-static location)
 static: force
        ./manage.py collectstatic --noinput 
index 0d840eb..c7df2d3 100644 (file)
@@ -71,7 +71,7 @@ class Plugin:
         # expose _settings in json format to js
         settings_json = json.dumps (self._settings, separators=(',',':'))
 
-        result = render_to_string ('widget-plugin.html',
+        result = render_to_string ('plugin.html',
                                    {'uuid':uuid, 
                                     'classname':classname,
                                     'visible':self.is_visible(),