Commit ad8225e2 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_web_renderjs_ui: add generic panel which is used to declare gadget inside

parent 929e498b
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
CACHE MANIFEST\n CACHE MANIFEST\n
# generated on 12 Nov 2015 16:31:00 +0000\n # generated on Fri, 13 Nov 2015 11:50:00 +0000\n
# XXX + fonts\n # XXX + fonts\n
# images/ajax-loader.gif\n # images/ajax-loader.gif\n
CACHE:\n CACHE:\n
...@@ -116,6 +116,8 @@ URI.js\n ...@@ -116,6 +116,8 @@ URI.js\n
erp5_launcher.html\n erp5_launcher.html\n
erp5_launcher.js\n erp5_launcher.js\n
gadget_erp5.css\n gadget_erp5.css\n
gadget_erp5_editor_panel.html\n
gadget_erp5_editor_panel.js\n
gadget_erp5_field_checkbox.html\n gadget_erp5_field_checkbox.html\n
gadget_erp5_field_checkbox.js\n gadget_erp5_field_checkbox.js\n
gadget_erp5_field_datetime.html\n gadget_erp5_field_datetime.html\n
...@@ -334,7 +336,7 @@ NETWORK:\n ...@@ -334,7 +336,7 @@ NETWORK:\n
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>947.3675.43345.17766</string> </value> <value> <string>947.5050.51365.30634</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -352,7 +354,7 @@ NETWORK:\n ...@@ -352,7 +354,7 @@ NETWORK:\n
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1447342304.46</float> <float>1447420514.96</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -153,6 +153,11 @@ ...@@ -153,6 +153,11 @@
<div data-gadget-url="${jio_gadget}"\n <div data-gadget-url="${jio_gadget}"\n
data-gadget-scope="jio_gadget"\n data-gadget-scope="jio_gadget"\n
data-gadget-sandbox="public"></div>\n data-gadget-sandbox="public"></div>\n
\n
\n
<div data-gadget-url="gadget_erp5_editor_panel.html"\n
data-gadget-scope="editor_panel"\n
data-gadget-sandbox="public"></div>\n
\n \n
<div data-gadget-url="${panel_gadget}"\n <div data-gadget-url="${panel_gadget}"\n
data-gadget-scope="panel"\n data-gadget-scope="panel"\n
...@@ -289,7 +294,7 @@ ...@@ -289,7 +294,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>romain</string> </value> <value> <string>zope</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -303,7 +308,7 @@ ...@@ -303,7 +308,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>945.54056.18010.56797</string> </value> <value> <string>946.64733.4438.11997</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -321,8 +326,8 @@ ...@@ -321,8 +326,8 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1442581000.11</float> <float>1447067588.44</float>
<string>GMT</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
</object> </object>
......
...@@ -489,7 +489,9 @@ ...@@ -489,7 +489,9 @@
.allowPublicAcquisition(\'triggerPanel\', function () {\n .allowPublicAcquisition(\'triggerPanel\', function () {\n
return route(this, "panel", "toggle");\n return route(this, "panel", "toggle");\n
})\n })\n
\n .allowPublicAcquisition(\'renderEditorPanel\', function (param_list) {\n
return route(this, "editor_panel", \'render\', param_list);\n
})\n
.allowPublicAcquisition("jio_allDocs", function (param_list) {\n .allowPublicAcquisition("jio_allDocs", function (param_list) {\n
return callJioGadget(this, "allDocs", param_list);\n return callJioGadget(this, "allDocs", param_list);\n
})\n })\n
...@@ -549,6 +551,12 @@ ...@@ -549,6 +551,12 @@
.push(function (panel_gadget) {\n .push(function (panel_gadget) {\n
return panel_gadget.close();\n return panel_gadget.close();\n
})\n })\n
.push(function () {\n
return gadget.getDeclaredGadget(\'editor_panel\');\n
})\n
.push(function (editor_panel) {\n
return editor_panel.close();\n
})\n
.push(function () {\n .push(function () {\n
return gadget.getDeclaredGadget(\'router\');\n return gadget.getDeclaredGadget(\'router\');\n
})\n })\n
...@@ -783,7 +791,7 @@ ...@@ -783,7 +791,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>946.46191.44015.43298</string> </value> <value> <string>947.3905.58968.48008</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -801,7 +809,7 @@ ...@@ -801,7 +809,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1446546583.8</float> <float>1447351473.68</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment