Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
0cc0f3c9
Commit
0cc0f3c9
authored
Feb 28, 2013
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to use latest RenderJs.
parent
1accdd93
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
36 deletions
+40
-36
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/gadgets/tabular_gadget/gadget.xml
...erp5_xhtml_gadget_style/gadgets/tabular_gadget/gadget.xml
+1
-1
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/view_main_disable.xml
...ortal_skins/erp5_xhtml_gadget_style/view_main_disable.xml
+38
-34
bt5/erp5_xhtml_gadget_style/bt/revision
bt5/erp5_xhtml_gadget_style/bt/revision
+1
-1
No files found.
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/gadgets/tabular_gadget/gadget.xml
View file @
0cc0f3c9
...
...
@@ -74,7 +74,7 @@
tal:attributes=
"id action_form;\n
class python: action == current_action and \'selected\' or \'not_selected\'"
>
\n
\n
<a
tal:attributes=
"onclick python: \'\'\'javascript: RenderJs.TabbularGadget.addNewTabGadget(\'form_gadget\', \'
%s/Form_asRenderJSGadget\', \'ERP5Form.update\', \'Form_asJSON?form_id=%s\');; RenderJs.TabbularGadget.toggleVisibility($(\'#%s\'));; ERP5Form.setCurrentFormId(\'%s\');;return false ;;\'\'\' %(
action_form, action_form, action_form, action_form)"
>
\n
<a
tal:attributes=
"onclick python: \'\'\'javascript: RenderJs.TabbularGadget.addNewTabGadget(\'form_gadget\', \'
gadget-%s\', \'%s/Form_asRenderJSGadget\', \'ERP5Form.update\', \'Form_asJSON?form_id=%s\');; RenderJs.TabbularGadget.toggleVisibility($(\'#%s\'));; ERP5Form.setCurrentFormId(\'%s\');;return false ;;\'\'\' %(action_form,
action_form, action_form, action_form, action_form)"
>
\n
<span
i18n:translate=
""
\n
i18n:domain=
"ui"
\n
tal:content=
"action/name"
>
action_name
</span>
\n
...
...
bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/view_main_disable.xml
View file @
0cc0f3c9
...
...
@@ -34,13 +34,11 @@
</item>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<unicode
encoding=
"cdata"
>
<![CDATA[
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
<value>
<unicode>
\074tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
xmlns:metal="http://xml.zope.org/namespaces/metal"\n
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
>
\n
<tal:block
metal:define-macro=
"master"
>
\n
<
tal:block
\n
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
\076
\n
\074tal:block metal:define-macro="master"\076
\n
\074
tal:block\n
tal:define="object_uid here/getUid | nothing;\n
object_path here/getPath | nothing;\n
form nocall: form | nothing;\n
...
...
@@ -49,40 +47,46 @@
form_action python: form and form.action not in (\'\', None) and portal.portal_membership.checkPermission(\'Modify portal content\', here) and form.action or nothing;\n
local_parameter_list local_parameter_list | python: {};\n
dummy python: local_parameter_list.update({\'object_uid\': object_uid, \'object_path\': object_path, \'form_id\': form_id});\n
title python: \'%s - %s\' % (portal.Base_translateString(template.title_or_id()), here.getTitle());"
>
\n
title python: \'%s - %s\' % (portal.Base_translateString(template.title_or_id()), here.getTitle());"
\076
\n
\n
<tal:block
metal:use-macro=
"here/main_template/macros/master"
>
\n
<tal:block
metal:fill-slot=
"context_bar"
>
\n
<tal:block
metal:use-macro=
"here/context_box_render/macros/master"
/>
\n
</tal:block>
\n
<tal:block
metal:fill-slot=
"main"
>
\n
\074tal:block metal:use-macro="here/main_template/macros/master"\076
\n
\074tal:block metal:fill-slot="context_bar"\076
\n
\074tal:block metal:use-macro="here/context_box_render/macros/master" /\076
\n
\074/tal:block\076
\n
\074tal:block metal:fill-slot="main"\076
\n
\n
<!-- Experimental gadget form rendering -->
\n
<!-- XXX: move to listbox gadget asap -->
\n
<script
src=
"jquery/ui/js/jquery-ui.js"
type=
"text/javascript"
></script>
\n
\074!-- Experimental gadget form rendering --\076
\n
\074!-- XXX: move to listbox gadget asap --\076
\n
\074script src="jquery/ui/js/jquery-ui.js" type="text/javascript"\076\074/script\076
\n
\n
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"jquery/plugin/jqgrid/ui.jqgrid.css"
/>
\n
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"jquery/ui/css/erp5-theme/jquery-ui.css"
/>
\n
<script
type=
"text/javascript"
src=
"jquery/plugin/jqgrid/grid.locale-en.js"
></script>
\n
<script
type=
"text/javascript"
src=
"jquery/plugin/jqgrid/jquery.jqGrid.src.js"
></script>
\n
<!--[if IE]>\n
<script type="text/javascript" src="jquery/plugin/jstorage/jquery.json-2.3.js"></script>\n
<!--<![endif]-->
\n
<script
src=
"jquery/plugin/jstorage/jstorage.js"
type=
"text/javascript"
></script>
\n
<script
src=
"jquery/plugin/renderjs/renderjs.js"
></script>
\n
<script
src=
"erp5_form.js"
></script>
\n
\074link rel="stylesheet" type="text/css" media="screen" href="jquery/plugin/jqgrid/ui.jqgrid.css" /\076\n
\074link rel="stylesheet" type="text/css" media="screen" href="jquery/ui/css/erp5-theme/jquery-ui.css" /\076\n
\074script type="text/javascript" src="jquery/plugin/jqgrid/i18n/grid.locale-en.js"\076\074/script\076\n
\074script type="text/javascript" src="jquery/plugin/jqgrid/jquery.jqGrid.src.js"\076\074/script\076\n
\074!--[if IE]\076\n
\074script type="text/javascript" src="jquery/plugin/jstorage/jquery.json-2.3.js"\076\074/script\076\n
\074!--\074![endif]--\076\n
\074script src="jquery/plugin/renderjs/renderjs.js"\076\074/script\076\n
\074script src="erp5_form.js"\076\074/script\076\n
\n
<div
id=
"content"
\n
\074script type="text/javascript" language="javascript"\076\n
//\074![CDATA[\n
$(document).ready(function() {\n
// we need to explicitly fire it\n
RenderJs.init();\n
});\n
//]]\076\n
\074/script\076\n
\n
\074div id="content"\n
data-gadget="gadgets/content/gadget"\n
tal:attributes=
"data-gadget string:gadgets/tabular_gadget/gadget?object_path=${object_path}
¤t_form_id=${form_id}"
></div>
\n
tal:attributes="data-gadget string:gadgets/tabular_gadget/gadget?object_path=${object_path}
\046current_form_id=${form_id}"\076\074/div\076
\n
\n
</tal:block>
\n
</tal:block>
\n
</tal:block>
\n
</tal:block>
\n
</tal:block>
]]>
</unicode>
</value>
\074/tal:block\076\n
\074/tal:block\076\n
\074/tal:block\076\n
\074/tal:block\076\n
\074/tal:block\076
</unicode>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
...
...
bt5/erp5_xhtml_gadget_style/bt/revision
View file @
0cc0f3c9
11
\ No newline at end of file
12
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment