Author: reebalazs
Date: Wed Sep 26 08:22:33 2007
New Revision: 46886
Added:
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/README.txt_tmpl
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/demoview.py_tmpl
- copied unchanged from r46857,
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/demoview.py_templ
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/my_demo.kss_tmpl
- copied unchanged from r46857,
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/my_demo.kss_templ
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/my_demo.pt_tmpl
- copied, changed from r46857,
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/my_demo.pt_templ
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/selenium_tests/README.txt_tmpl
- copied unchanged from r46857,
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/selenium_tests/README.txt_templ
Removed:
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/demoview.py_templ
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/my_demo.kss_templ
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/my_demo.pt_templ
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/selenium_tests/README.txt_templ
Modified:
kukit/kss.templates/trunk/kss/templates/plugin/+package+/javascript/plugin.js_tmpl
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/zopeconfig.py_tmpl
Log:
Fix templates
Modified:
kukit/kss.templates/trunk/kss/templates/plugin/+package+/javascript/plugin.js_tmpl
==============================================================================
---
kukit/kss.templates/trunk/kss/templates/plugin/+package+/javascript/plugin.js_tmpl
(original)
+++
kukit/kss.templates/trunk/kss/templates/plugin/+package+/javascript/plugin.js_tmpl
Wed Sep 26 08:22:33 2007
@@ -92,7 +92,7 @@
ExampleEventBinder.prototype.__bind__ =
function(name, func_to_bind, oper) {
// The following is used for logging
-;;; oper.componentName = '[${namespace}-example] event binding';
+;;; oper.componentName = '[${namespace}-exampleEvent] event binding';
// Validate the parameters to this action, you can add multiple
// required or optional parameters. Optional parameters will be
Added:
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/README.txt_tmpl
==============================================================================
--- (empty file)
+++
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/README.txt_tmpl
Wed Sep 26 08:22:33 2007
@@ -0,0 +1,8 @@
+================================================
+${project.center(48)}
+================================================
+
+Explain a bit a about your project here.
+
+(XXX TODO add zope-specific text here)
+
Deleted:
/kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/demoview.py_templ
==============================================================================
---
/kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/demoview.py_templ
Wed Sep 26 08:22:33 2007
+++ (empty file)
@@ -1,11 +0,0 @@
-from kss.core import KSSView, kssaction
-
-class KSSDemoView(KSSView):
-
- # Create the server actions needed for your demo.
- # Use the following method as example.
- @kssaction
- def myDemoAction(self):
- """my demo action"""
- # XXX replace this with what you need to do
- self.getCommandSet('core').clearChildNodes('div#demo')
Deleted:
/kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/my_demo.kss_templ
==============================================================================
---
/kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/my_demo.kss_templ
Wed Sep 26 08:22:33 2007
+++ (empty file)
@@ -1,10 +0,0 @@
-
-/* Set up kss rules needed for your demo.
- * Use the following rule as an example only.
- */
-
-div#exampleId:click {
- action-server: myAction;
- myAction-value: kssAttr(myattr);
-}
-
Deleted:
/kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/my_demo.pt_templ
==============================================================================
---
/kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/my_demo.pt_templ
Wed Sep 26 08:22:33 2007
+++ (empty file)
@@ -1,16 +0,0 @@
-<html>
- <head>
- <link rel="kinetic-stylesheet" type="text/css"
- tal:attributes="href
string:${context/@@absolute_url}/++resource++my_demo.kss"/>
- <metal:header use-macro="context/@@header_macros/header_resources" />
- </head>
- <body>
- <p><a href=".">All demos</a></p>
- <p><a href="./++resource++my_demo.kss">View KSS resource</a></p>
-
- <h3>My demo</h3>
- <div id="exampleId">
- click me!
- </div>
- </body>
-</html>
Copied:
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/my_demo.pt_tmpl
(from r46857,
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/my_demo.pt_templ)
==============================================================================
---
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/my_demo.pt_templ
(original)
+++
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/my_demo.pt_tmpl
Wed Sep 26 08:22:33 2007
@@ -1,7 +1,7 @@
<html>
<head>
<link rel="kinetic-stylesheet" type="text/css"
- tal:attributes="href
string:${context/@@absolute_url}/++resource++my_demo.kss"/>
+ tal:attributes="href
string:$${context/@@absolute_url}/++resource++my_demo.kss"/>
<metal:header use-macro="context/@@header_macros/header_resources" />
</head>
<body>
Deleted:
/kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/selenium_tests/README.txt_templ
==============================================================================
---
/kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/selenium_tests/README.txt_templ
Wed Sep 26 08:22:33 2007
+++ (empty file)
@@ -1,4 +0,0 @@
-
-Save sour selenium tests into this directory, in html format.
-All the tests ending with .html will be processed automatically.
-
Modified:
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/zopeconfig.py_tmpl
==============================================================================
---
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/zopeconfig.py_tmpl
(original)
+++
kukit/kss.templates/trunk/kss/templates/zope_plugin/+package+/demo/zopeconfig.py_tmpl
Wed Sep 26 08:22:33 2007
@@ -23,7 +23,7 @@
demos = (
# List your demos here.
# (Second parameter can be a subcategory within the demo if needed.)
- KSSDemo('##NAMESPACE##', '', "my_demo.html", "My demo (change this
title)"),
+ KSSDemo('${namespace}', '', 'my_demo.html', 'My demo (change this
title)'),
)
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins