diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_css.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_css.xml new file mode 100644 index 0000000000000000000000000000000000000000..f3d654cd8e4128221c04576eb7d2a5d7b9e2141f --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_css.xml @@ -0,0 +1,601 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Style" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest.css</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_css</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Style</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +/* =========================================================================*/\n +/* ======================== Custom Overwrites ============================= */\n +/* =========================================================================*/\n +/* force padding-top on div.ui-page */\n +html body div.ui-page {\n + padding-top: 0 !important;\n +}\n +/* initializing page */\n +html body .custom-init .ui-header {\n + position: absolute;\n + z-index: 100;\n + width: 100%;\n + background-color: transparent;\n +}\n +html body .custom-init .ui-content {\n + padding-top: 1em;\n +}\n +html body .custom-init .ui-header-fixed {\n + left: 0;\n +\tright: 0;\n +\twidth: 100%;\n +\tposition: fixed;\n +\tz-index: 1000;\n +}\n +html body .custom-view .ui-header-fixed {\n + position: absolute;\n +}\n +html body .custom-init .ui-header .ui-subheader {\n + display: none;\n +}\n +/* background dimensions */\n +.custom-background {\n + height: 400px;\n + height: 30vh;\n + padding: 15% 0;\n +}\n +html body section.custom-landing-page {\n + height: 600px;\n + height: 75vh;\n + border: 0;\n + position: relative;\n + border-radius: 0;\n + max-width: none;\n + margin: -16px -16px 0;\n + -webkit-box-shadow: 0 1px 3px #aaa;\n + -moz-box-shadow: 0 1px 3px #aaa;\n + box-shadow: 0 1px 3px #aaa;\n +}\n +html body section.custom-landing-page > div {\n + border-radius: 0;\n + width: auto;\n +}\n +html body .ui-content-header-section .ui-content-title.custom-title {\n + padding-top: 0;\n +}\n +.custom-title:after {\n + bottom: 30%;\n + content: "";\n + left: 0;\n + margin: 0 auto 1px;\n + position: absolute;\n + right: 0;\n + width: 30%;\n + border-bottom: 1px solid rgb(115, 115, 115); /* IE8 */\n + border-bottom: 1px solid rgba(0, 0, 0, 0.55);\n +}\n +.custom-title:before {\n + bottom: 30%;\n + content: "";\n + left: 0;\n + margin: 0 auto;\n + position: absolute;\n + right: 0;\n + width: 30%;\n + border-bottom: 1px solid rgb(232, 232, 232); /* IE8 */\n + border-bottom: 1px solid rgba(232, 232, 232, 0.5);\n +}\n +\n +/* miserable text placement */\n +html.ui-mobile body .custom-tagline {\n + padding-top: 20%;\n + padding-top: 20vh; \n +}\n +@media (max-width: 62em) {\n + html.ui-mobile body .custom-tagline {\n + padding-top: 25%;\n + padding-top: 25vh; \n + }\n +}\n +@media (max-width: 48em) {\n + html.ui-mobile body .custom-tagline {\n + padding-top: 30%;\n + padding-top: 30vh; \n + }\n +}\n +\n +/* custom card-deck width */\n +@media (min-width: 62em) {\n + html.ui-mobile body .ui-card-deck.custom-deck > .ui-li-static,\n + html.ui-mobile body .ui-card-deck.custom-deck > li > .ui-btn {\n + width: 33.1%;\n + margin: .625em 1%;\n + max-width: 33.1%;\n + }\n +}\n +@media (min-width: 48em) {\n + html.ui-mobile body .ui-card-deck.custom-deck > .ui-li-static,\n + html.ui-mobile body .ui-card-deck.custom-deck > li > .ui-btn {\n + width: 30.9333%;\n + margin: .5625em 1.2%;\n + max-width: 30.9333%;\n + }\n +}\n +\n +/* footer section */\n +.custom-footer {\n + margin: 0;\n + padding: 0;\n +}\n +.custom-footer .ui-controlgroup {\n + margin: 0;\n + padding: 0;\n + text-align: right;\n + padding-right: 1em;\n +}\n +.custom-footer .ui-controlgroup .ui-btn {\n + border: 0 none;\n +}\n +.custom-footer .custom-fineprint {\n + margin: 0;\n + padding-left: 1em;\n + font-size: .8em;\n +}\n +\n +/* center elements on small screen */\n +@media (max-width: 48em) {\n + .custom-footer .custom-fineprint {\n + padding-top: .25em;\n + }\n + .custom-footer .ui-controlgroup,\n + .custom-footer .custom-fineprint {\n + text-align: center;\n + }\n +}\n +/* readonly */\n +.custom-readonly {\n + opacity: 1;\n +}\n +/* invalid */\n +.custom-invalid {\n + color: red !important;\n +}\n +/* align button left/right */\n +.custom-right {\n + text-align: right;\n + padding-right: 2%;\n +}\n +@media (max-width: 48em) {\n + .custom-right {\n + text-align: center;\n + }\n +}\n +.jsbin-embed {\n + text-align: center;\n +}\n +/* hide button background, borders, hardcode dimensions */\n +div.custom-iframe-loader {\n + -moz-box-shadow: none;\n + -webkit-box-shadow: none;\n + box-shadow: none;\n + border: 0 none;\n + background: 0 none;\n + background-image: none !important;\n + background-color: transparent;\n + min-width: 60%;\n + min-height: 50px;\n +}\n +.italic {\n + font-style: italic;\n +}\n +.align-center {\n + text-align: center;\n +}\n +.xl {\n + font-size: 2em;\n +}\n +.l {\n + font-size: 1em;\n +}\n +.m {\n + font-size: .8em;\n +}\n +.s {\n + font-size: .6em;\n +}\n +.middle {\n + vertical-align: middle;\n +}\n +.fade {\n + opacity: .25;\n +}\n +.turq {\n + color: turquoise;\n +}\n +.orange {\n + color: orange;\n +}\n +.custom-icongrid {\n + max-width: 80%;\n + margin: 0 auto;\n +}\n +@media (min-width: 48em) {\n + .custom-icongrid {\n + max-width: 50%;\n + margin: 0 auto;\n + }\n +}\n +.custom-hr {\n + max-width: 50%;\n + color: #e6e6e6;\n + opacity: .25;\n +}\n +\n +.ui-grid-container > ul > li > iframe {\n + width: 99% !important;\n +}\n +\n +/* ==================== More overrides from porting ========================= */\n +/* fix panel listview margin */\n +html .ui-panel .ui-content > .ui-listview {\n + margin: -1em;\n +}\n +\n +/* fix width of content sections */\n +.ui-content-header-section,\n +.ui-content-section {\n + max-width: 85%;\n +\n +}\n +.ui-content-header-plain {\n + max-width: 85%;\n +}\n +\n +/* fix padding of content header and section */\n +.ui-content-header-section ~ .ui-content-section {\n + padding-top: .5em;\n +}\n +\n +/* fix borders */\n +.ui-content-header-section {\n + -webkit-border-top-left-radius: .3125em;\n + -webkit-border-top-right-radius: .3125em;\n + border-top-left-radius: .3125em;\n + border-top-right-radius: .3125em;\n +}\n +\n +.ui-content-header-plain ~ .ui-content-section {\n + -webkit-border-top-left-radius: .3125em;\n + -webkit-border-top-right-radius: .3125em;\n + border-top-left-radius: .3125em;\n + border-top-right-radius: .3125em;\n +}\n +\n +.ui-content-header-section ~ .ui-content-section:first-child {\n + -webkit-border-top-left-radius: 0;\n + -webkit-border-top-right-radius: 0;\n + border-top-left-radius: 0;\n + border-top-right-radius: 0;\n +}\n +\n +/* iframe */\n +iframe {\n + width: auto;\n + border: 0 none;\n +} + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest CSS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432300336.52</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.16586.52705.3891</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432555331.43</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432300237.43</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_content_css.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_content_css.xml new file mode 100644 index 0000000000000000000000000000000000000000..8c4ea8d8c8b7934dd56a6dbf9806b8de49611584 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_content_css.xml @@ -0,0 +1,325 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Style" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_content.css</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_content_css</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Style</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Content CSS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304335.73</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12418.25147.49954</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304796.88</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304318.3</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_content_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_content_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..583033fe2f7c6aeebcf7c329670401ff2f6c27de --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_content_html.xml @@ -0,0 +1,400 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_content.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_content_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html> \n + <head>\n + <title>Header</title>\n + <meta charset="utf-8">\n + <meta name="viewport" content="width=device-width, initial-scale=1">\n +\n + <link rel="stylesheet" href="normalize.css">\n + <link href=\'//fonts.googleapis.com/css?family=Open+Sans:700,400,300\' rel=\'stylesheet\' type=\'text/css\'>\n + <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />\n + <link rel="stylesheet" href="jquerymobile.css">\n + <link rel="stylesheet" href="gadget_erp5.css">\n + <link rel="stylesheet" href="gadget_manifest.css">\n + <link rel="stylesheet" href="gadget_manifest_example_content.css">\n +\n +\n + </head>\n + <body>\n + \n + <article class="ui-content">\n + <section class="ui-content-header-fullwidth ui-grid-container ui-body-a">\n + <ul>\n + <li>\n + <h3 class="ui-content-title">Fullwidth Title</h3>\n + <p class="ui-content-subtitle">Subtitle</p>\n + </li>\n + <li>\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-content-menu">\n + <div class="ui-controlgroup-controls">\n + <a href="#" class="ui-btn ui-first-child ui-icon-facebook ui-btn-icon-notext ui-icon-custom">Like me</a>\n + <a href="#" class="ui-btn ui-icon-google-plus ui-last-child ui-btn-icon-notext ui-icon-custom">Plus me</a>\n + </div>\n + </div>\n + </li>\n + </ul>\n + </section>\n +\n + <section class="ui-content-header-section ui-body-a ui-radial">\n + <h3 class="ui-content-title">Fullwidth Title</h3>\n + <p class="ui-content-subtitle">Subtitle</p>\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-content-menu">\n + <div class="ui-controlgroup-controls">\n + <a href="#" class="ui-btn ui-first-child ui-icon-facebook ui-btn-icon-notext ui-icon-custom">Like me</a>\n + <a href="#" class="ui-btn ui-icon-google-plus ui-last-child ui-btn-icon-notext ui-icon-custom">Plus me</a>\n + </div>\n + </div>\n + </section>\n + <section class="ui-body-c ui-content-section ui-grid-container">\n + <span>Some random text </span>\n + </section>\n +\n + <section class="ui-content-header-plain">\n + <h3 class="ui-content-title ui-bar-c">\n + <span class="ui-icon ui-icon-custom ui-icon-file-text-o"> </span>\n + Plain Title\n + </h3>\n + </section>\n +\n + <section class="ui-body-c ui-content-section ui-grid-container">\n + <h3 class="ui-content-header-inline">Inline Title</h3>\n + <span>Some text below </span>\n + </section>\n + </article>\n +\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="URI.js" type="text/javascript"></script>\n + <script src="jquery.js" type="text/javascript"></script>\n + <script src="jquerymobile.js" type="text/javascript"></script>\n + <script src="gadget_manifest_example_content.js" type="text/javascript"></script>\n + </body>\n +</html> + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Content</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304403.35</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12412.23920.27477</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304471.55</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304388.41</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_content_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_content_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..1aa3bdd1b575e0edc7a2215c0d4881c64aa79a51 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_content_js.xml @@ -0,0 +1,368 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_content.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_content_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>/*global window, rJS, RSVP */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod("render", function () {\n + return this;\n + });\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n +\n +}(window, rJS, RSVP));\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Content JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304370.47</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12411.13849.15513</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304365.79</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304352.66</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_forms_css.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_forms_css.xml new file mode 100644 index 0000000000000000000000000000000000000000..0fc28aea6bd9c276ff3bb1972170e56e5d9b2f92 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_forms_css.xml @@ -0,0 +1,344 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Style" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_forms.css</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_forms_css</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Style</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +html.ui-mobile head + body div.ui-field-contain > a.ui-btn,\n +html.ui-mobile head + body .ui-field-contain > :first-child:nth-last-child(2) ~ .ui-btn{\n + margin: 0;\n + height: 2.3em;\n +}\n +html.ui-mobile head + body .ui-controlgroup-horizontal .ui-controlgroup-controls .ui-select {\n + width: 29%;\n +}\n +html.ui-mobile head + body .ui-controlgroup-horizontal .ui-controlgroup-controls .ui-select:last-child {\n + -webkit-border-top-right-radius: 0;\n + -webkit-border-bottom-right-radius: 0;\n + border-top-right-radius: 0;\n + border-bottom-right-radius: 0;\n +}\n +\n + + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Forms CSS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432309398.82</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12506.43802.39748</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432310154.3</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>empty</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432309384.67</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_forms_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_forms_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..734993dd9f20fddf9ebee7bb8ca44f0a0b01d36d --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_forms_html.xml @@ -0,0 +1,797 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_forms.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_forms_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html> \n + <head>\n + <title>Header</title>\n + <meta charset="utf-8">\n + <meta name="viewport" content="width=device-width, initial-scale=1">\n +\n + <link rel="stylesheet" href="normalize.css">\n + <link href=\'//fonts.googleapis.com/css?family=Open+Sans:700,400,300\' rel=\'stylesheet\' type=\'text/css\'>\n + <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />\n + <link rel="stylesheet" href="jquerymobile.css">\n + <link rel="stylesheet" href="gadget_erp5.css">\n + <link rel="stylesheet" href="gadget_manifest.css">\n + <link rel="stylesheet" href="gadget_manifest_example_forms.css">\n +\n +\n + </head>\n + <body>\n + \n + <article class="ui-content ui-body-c">\n + <section class="ui-content-header-plain">\n + <h3 class="ui-content-title ui-body-c">\n + <span class="ui-icon ui-icon-custom ui-icon-envelope"> </span>\n + Drop Us A line\n + </h3>\n + </section>\n + <section class="ui-body-c ui-content-section">\n + <form method="post" action="#">\n + <div class="ui-form-left left">\n + <div class="ui-field-contain">\n + <label for="first_name">First Name</label>\n + <input type="text" id="first_name" name="last_name" data-clear-btn="true" />\n + </div>\n + <div class="ui-field-contain">\n + <label for="last_name">Last Name</label>\n + <input type="text" disabled="disabled" id="last_name" name="last_name" data-clear-btn="true" />\n + </div>\n + <div class="ui-field-contain">\n + <label for="email">Email</label>\n + <input type="email" id="email" name="email" data-clear-btn="true" />\n + <a href="#" class="ui-btn ui-corner-all ui-btn-icon-notext ui-icon-plane ui-btn-inline">I want to fly away, yeah, yeah!</a>\n + </div>\n + </div>\n + <div class="ui-form-right right">\n + <div class="ui-field-contain">\n + <label for="country">Country</label>\n + <select id="country" name="country" data-icon="globe">\n + <option selected="selected" value="">---------</option>\n + <option value="AFG">Afghanistan</option>\n + <option value="ALA">è„œland Islands</option>\n + <option value="ALB">Albania</option>\n + <option value="DZA">Algeria</option>\n + <option value="ASM">American Samoa</option>\n + <option value="AND">Andorra</option>\n + <option value="AGO">Angola</option>\n + <option value="AIA">Anguilla</option>\n + <option value="ATA">Antarctica</option>\n + <option value="ATG">Antigua and Barbuda</option>\n + <option value="ARG">Argentina</option>\n + <option value="ARM">Armenia</option>\n + <option value="ABW">Aruba</option>\n + <option value="AUS">Australia</option>\n + <option value="AUT">Austria</option>\n + <option value="AZE">Azerbaijan</option>\n + <option value="BHS">Bahamas</option>\n + <option value="BHR">Bahrain</option>\n + <option value="BGD">Bangladesh</option>\n + <option value="BRB">Barbados</option>\n + <option value="BLR">Belarus</option>\n + <option value="BEL">Belgium</option>\n + <option value="BLZ">Belize</option>\n + <option value="BEN">Benin</option>\n + <option value="BMU">Bermuda</option>\n + <option value="BTN">Bhutan</option>\n + <option value="BOL">Bolivia</option>\n + <option value="BES">Bonaire, Sint Eustatius and Saba</option>\n + <option value="BIH">Bosnia and Herzegovina</option>\n + <option value="BWA">Botswana</option>\n + <option value="BVT">Bouvet Island</option>\n + <option value="BRA">Brazil</option>\n + <option value="IOT">British Indian Ocean Territory</option>\n + <option value="BRN">Brunei Darussalam</option>\n + <option value="BGR">Bulgaria</option>\n + <option value="BFA">Burkina Faso</option>\n + <option value="BDI">Burundi</option>\n + <option value="KHM">Cambodia</option>\n + <option value="CMR">Cameroon</option>\n + <option value="CAN">Canada</option>\n + <option value="CPV">Cape Verde</option>\n + <option value="CYM">Cayman Islands</option>\n + <option value="CAF">Central African Republic</option>\n + <option value="TCD">Chad</option>\n + <option value="CHL">Chile</option>\n + <option value="CHN">China</option>\n + <option value="CXR">Christmas Island</option>\n + <option value="CCK">Cocos (Keeling) Islands</option>\n + <option value="COL">Colombia</option>\n + <option value="COM">Comoros</option>\n + <option value="COG">Congo</option>\n + <option value="COD">Congo, The Democratic Republic of the</option>\n + <option value="COK">Cook Islands</option>\n + <option value="CRI">Costa Rica</option>\n + <option value="CIV">C么te d\'Ivoire</option>\n + <option value="HRV">Croatia</option>\n + <option value="CUB">Cuba</option>\n + <option value="CUW">Cura莽ao</option>\n + <option value="CYP">Cyprus</option>\n + <option value="CZE">Czech Republic</option>\n + <option value="DNK">Denmark</option>\n + <option value="DJI">Djibouti</option>\n + <option value="DMA">Dominica</option>\n + <option value="DOM">Dominican Republic</option>\n + <option value="ECU">Ecuador</option>\n + <option value="EGY">Egypt</option>\n + <option value="SLV">El Salvador</option>\n + <option value="GNQ">Equatorial Guinea</option>\n + <option value="ERI">Eritrea</option>\n + <option value="EST">Estonia</option>\n + <option value="ETH">Ethiopia</option>\n + <option value="FLK">Falkland Islands (Malvinas)</option>\n + <option value="FRO">Faroe Islands</option>\n + <option value="FJI">Fiji</option>\n + <option value="FIN">Finland</option>\n + <option value="FRA">France</option>\n + <option value="GUF">French Guiana</option>\n + <option value="PYF">French Polynesia</option>\n + <option value="ATF">French Southern Territories</option>\n + <option value="GAB">Gabon</option>\n + <option value="GMB">Gambia</option>\n + <option value="GEO">Georgia</option>\n + <option value="DEU">Germany</option>\n + <option value="GHA">Ghana</option>\n + <option value="GIB">Gibraltar</option>\n + <option value="GRC">Greece</option>\n + <option value="GRL">Greenland</option>\n + <option value="GRD">Grenada</option>\n + <option value="GLP">Guadeloupe</option>\n + <option value="GUM">Guam</option>\n + <option value="GTM">Guatemala</option>\n + <option value="GGY">Guernsey</option>\n + <option value="GIN">Guinea</option>\n + <option value="GNB">Guinea-Bissau</option>\n + <option value="GUY">Guyana</option>\n + <option value="HTI">Haiti</option>\n + <option value="HMD">Heard Island and McDonald Islands</option>\n + <option value="VAT">Holy See (Vatican City State)</option>\n + <option value="HND">Honduras</option>\n + <option value="HKG">Hong Kong</option>\n + <option value="HUN">Hungary</option>\n + <option value="ISL">Iceland</option>\n + <option value="IND">India</option>\n + <option value="IDN">Indonesia</option>\n + <option value="IRN">Iran, Islamic Republic of</option>\n + <option value="IRQ">Iraq</option>\n + <option value="IRL">Ireland</option>\n + <option value="IMN">Isle of Man</option>\n + <option value="ISR">Israel</option>\n + <option value="ITA">Italy</option>\n + <option value="JAM">Jamaica</option>\n + <option value="JPN">Japan</option>\n + <option value="JEY">Jersey</option>\n + <option value="JOR">Jordan</option>\n + <option value="KAZ">Kazakhstan</option>\n + <option value="KEN">Kenya</option>\n + <option value="KIR">Kiribati</option>\n + <option value="PRK">Korea, Democratic People\'s Republic of</option>\n + <option value="KOR">Korea, Republic of</option>\n + <option value="KWT">Kuwait</option>\n + <option value="KGZ">Kyrgyzstan</option>\n + <option value="LAO">Lao People\'s Democratic Republic</option>\n + <option value="LVA">Latvia</option>\n + <option value="LBN">Lebanon</option>\n + <option value="LSO">Lesotho</option>\n + <option value="LBR">Liberia</option>\n + <option value="LBY">Libya</option>\n + <option value="LIE">Liechtenstein</option>\n + <option value="LTU">Lithuania</option>\n + <option value="LUX">Luxembourg</option>\n + <option value="MAC">Macao</option>\n + <option value="MKD">Macedonia, Republic of</option>\n + <option value="MDG">Madagascar</option>\n + <option value="MWI">Malawi</option>\n + <option value="MYS">Malaysia</option>\n + <option value="MDV">Maldives</option>\n + <option value="MLI">Mali</option>\n + <option value="MLT">Malta</option>\n + <option value="MHL">Marshall Islands</option>\n + <option value="MTQ">Martinique</option>\n + <option value="MRT">Mauritania</option>\n + <option value="MUS">Mauritius</option>\n + <option value="MYT">Mayotte</option>\n + <option value="MEX">Mexico</option>\n + <option value="FSM">Micronesia, Federated States of</option>\n + <option value="MDA">Moldova</option>\n + <option value="MCO">Monaco</option>\n + <option value="MNG">Mongolia</option>\n + <option value="MNE">Montenegro</option>\n + <option value="MSR">Montserrat</option>\n + <option value="MAR">Morocco</option>\n + <option value="MOZ">Mozambique</option>\n + <option value="MMR">Myanmar</option>\n + <option value="NAM">Namibia</option>\n + <option value="NRU">Nauru</option>\n + <option value="NPL">Nepal</option>\n + <option value="NLD">Netherlands</option>\n + <option value="NCL">New Caledonia</option>\n + <option value="NZL">New Zealand</option>\n + <option value="NIC">Nicaragua</option>\n + <option value="NER">Niger</option>\n + <option value="NGA">Nigeria</option>\n + <option value="NIU">Niue</option>\n + <option value="NFK">Norfolk Island</option>\n + <option value="MNP">Northern Mariana Islands</option>\n + <option value="NOR">Norway</option>\n + <option value="OMN">Oman</option>\n + <option value="PAK">Pakistan</option>\n + <option value="PLW">Palau</option>\n + <option value="PSE">Palestine, State of</option>\n + <option value="PAN">Panama</option>\n + <option value="PNG">Papua New Guinea</option>\n + <option value="PRY">Paraguay</option>\n + <option value="PER">Peru</option>\n + <option value="PHL">Philippines</option>\n + <option value="PCN">Pitcairn</option>\n + <option value="POL">Poland</option>\n + <option value="PRT">Portugal</option>\n + <option value="PRI">Puerto Rico</option>\n + <option value="QAT">Qatar</option>\n + <option value="REU">R茅union</option>\n + <option value="ROU">Romania</option>\n + <option value="RUS">Russian Federation</option>\n + <option value="RWA">Rwanda</option>\n + <option value="BLM">Saint Barth茅lemy</option>\n + <option value="SHN">Saint Helena, Ascension and Tristan da Cunha</option>\n + <option value="KNA">Saint Kitts and Nevis</option>\n + <option value="LCA">Saint Lucia</option>\n + <option value="MAF">Saint Martin (French part)</option>\n + <option value="SPM">Saint Pierre and Miquelon</option>\n + <option value="VCT">Saint Vincent and the Grenadines</option>\n + <option value="WSM">Samoa</option>\n + <option value="SMR">San Marino</option>\n + <option value="STP">Sao Tome and Principe</option>\n + <option value="SAU">Saudi Arabia</option>\n + <option value="SEN">Senegal</option>\n + <option value="SRB">Serbia</option>\n + <option value="SYC">Seychelles</option>\n + <option value="SLE">Sierra Leone</option>\n + <option value="SGP">Singapore</option>\n + <option value="SXM">Sint Maarten (Dutch part)</option>\n + <option value="SVK">Slovakia</option>\n + <option value="SVN">Slovenia</option>\n + <option value="SLB">Solomon Islands</option>\n + <option value="SOM">Somalia</option>\n + <option value="ZAF">South Africa</option>\n + <option value="SGS">South Georgia and the South Sandwich Islands</option>\n + <option value="ESP">Spain</option>\n + <option value="LKA">Sri Lanka</option>\n + <option value="SDN">Sudan</option>\n + <option value="SUR">Suriname</option>\n + <option value="SSD">South Sudan</option>\n + <option value="SJM">Svalbard and Jan Mayen</option>\n + <option value="SWZ">Swaziland</option>\n + <option value="SWE">Sweden</option>\n + <option value="CHE">Switzerland</option>\n + <option value="SYR">Syrian Arab Republic</option>\n + <option value="TWN">Taiwan</option>\n + <option value="TJK">Tajikistan</option>\n + <option value="TZA">Tanzania, United Republic of</option>\n + <option value="THA">Thailand</option>\n + <option value="TLS">Timor-Leste</option>\n + <option value="TGO">Togo</option>\n + <option value="TKL">Tokelau</option>\n + <option value="TON">Tonga</option>\n + <option value="TTO">Trinidad and Tobago</option>\n + <option value="TUN">Tunisia</option>\n + <option value="TUR">Turkey</option>\n + <option value="TKM">Turkmenistan</option>\n + <option value="TCA">Turks and Caicos Islands</option>\n + <option value="TUV">Tuvalu</option>\n + <option value="UGA">Uganda</option>\n + <option value="UKR">Ukraine</option>\n + <option value="ARE">United Arab Emirates</option>\n + <option value="GBR">United Kingdom</option>\n + <option value="USA">United States</option>\n + <option value="UMI">United States Minor Outlying Islands</option>\n + <option value="URY">Uruguay</option>\n + <option value="UZB">Uzbekistan</option>\n + <option value="VUT">Vanuatu</option>\n + <option value="VEN">Venezuela</option>\n + <option value="VNM">Viet Nam</option>\n + <option value="VGB">Virgin Islands, British</option>\n + <option value="VIR">Virgin Islands, U.S.</option>\n + <option value="WLF">Wallis and Futuna</option>\n + <option value="ESH">Western Sahara</option>\n + <option value="YEM">Yemen</option>\n + <option value="ZMB">Zambia</option>\n + <option value="ZWE">Zimbabwe</option>\n + </select>\n + </div>\n + </div>\n + <div class="ui-form-left left">\n + <div class="ui-field-contain">\n + <fieldset data-role="controlgroup" data-type="horizontal">\n + <legend>Date of Birth</legend>\n + \n + <label for="dob_year">Year</label>\n + <select name="dob_year" id="dob_year">\n + <option selected="selected" value="">----</option>\n + <option value="1970">1970</option>\n + <option value="1971">1971</option>\n + <option value="1972">1972</option>\n + <option value="1973">1973</option>\n + <option value="1974">1974</option>\n + <option value="1975">1975</option>\n + <option value="1976">1976</option>\n + <option value="1977">1977</option>\n + <option value="1978">1978</option>\n + <option value="1979">1979</option>\n + <option value="1980">1980</option>\n + <option value="1981">1981</option>\n + <option value="1982">1982</option>\n + <option value="1983">1983</option>\n + <option value="1984">1984</option>\n + <option value="1985">1985</option>\n + <option value="1986">1986</option>\n + <option value="1987">1987</option>\n + <option value="1988">1988</option>\n + <option value="1989">1989</option>\n + <option value="1990">1990</option>\n + <option value="1991">1991</option>\n + <option value="1992">1992</option>\n + <option value="1993">1993</option>\n + <option value="1994">1994</option>\n + <option value="1995">1995</option>\n + <option value="1996">1996</option>\n + <option value="1997">1997</option>\n + <option value="1998">1998</option>\n + <option value="1999">1999</option>\n + <option value="2000">2000</option>\n + <option value="2001">2001</option>\n + <option value="2002">2002</option>\n + <option value="2003">2003</option>\n + <option value="2004">2004</option>\n + <option value="2005">2005</option>\n + <option value="2006">2006</option>\n + <option value="2007">2007</option>\n + <option value="2008">2008</option>\n + <option value="2009">2009</option>\n + <option value="2010">2010</option>\n + <option value="2011">2011</option>\n + <option value="2012">2012</option>\n + <option value="2013">2013</option>\n + <option value="2014">2014</option>\n + </select>\n + <label for="dob_month">Month</label>\n + <select name="dob_month" id="dob_month">\n + <option selected="selected" value="--">--</option>\n + <option value="01">01</option>\n + <option value="02">02</option>\n + <option value="03">03</option>\n + <option value="04">04</option>\n + <option value="05">05</option>\n + <option value="06">06</option>\n + <option value="07">07</option>\n + <option value="08">08</option>\n + <option value="09">09</option>\n + <option value="10">10</option>\n + <option value="11">11</option>\n + <option value="12">12</option>\n + </select>\n + <label for="dob_day">Day</label>\n + <select id="dob_day" name="dob_day">\n + <option selected="selected" value="--">--</option>\n + <option value="01">01</option>\n + <option value="02">02</option>\n + <option value="03">03</option>\n + <option value="04">04</option>\n + <option value="05">05</option>\n + <option value="06">06</option>\n + <option value="07">07</option>\n + <option value="08">08</option>\n + <option value="09">09</option>\n + <option value="10">10</option>\n + <option value="11">11</option>\n + <option value="12">12</option>\n + <option value="13">13</option>\n + <option value="14">14</option>\n + <option value="15">15</option>\n + <option value="16">16</option>\n + <option value="17">17</option>\n + <option value="18">18</option>\n + <option value="19">19</option>\n + <option value="20">20</option>\n + <option value="21">21</option>\n + <option value="22">22</option>\n + <option value="23">23</option>\n + <option value="24">24</option>\n + <option value="25">25</option>\n + <option value="26">26</option>\n + <option value="27">27</option>\n + <option value="28">28</option>\n + <option value="29">29</option>\n + <option value="30">30</option>\n + <option value="31">31</option>\n + </select>\n + \n + </fieldset>\n + <a href="#" class="ui-btn ui-corner-all ui-btn-icon-notext ui-icon-calendar ui-btn-inline">Yeah you wish...</a>\n + </div>\n + </div>\n + <div class="ui-form-right right">\n + <div class="ui-field-contain">\n + <fieldset class="ui-controlgroup ui-corner-all">\n + <div class="ui-controlgroup-label" role="heading">\n + <legend>Receive Updates</legend>\n + </div>\n + <div class="ui-controlgroup-controls">\n + <label>\n + Inform about updates\n + <input type="checkbox" value="a" class="checkboxradio" />\n + </label>\n + </div>\n + </fieldset>\n + </div>\n + \n + <div class="ui-field-contain">\n + <fieldset class="ui-controlgroup ui-corner-all">\n + <div class="ui-controlgroup-label" role="heading">\n + <legend>How have you heard from us</legend>\n + </div>\n + <div class="ui-controlgroup-controls">\n + <label>Facebook\n + <input type="radio" value="On" name="heard_about" id="heard_about_a" class="checkboxradio" />\n + </label>\n + <label>Google\n + <input type="radio" value="Off" name="heard_about" id="heard_about_b" class="checkboxradio" />\n + </label>\n + <label>Other\n + <input type="radio" value="Other" name="heard_about" id="heard_about_c" class="checkboxradio" />\n + </label>\n + </div>\n + </fieldset>\n + </div>\n + </div>\n + <div class="ui-form-center center">\n + <div class="ui-field-contain">\n + <label for"message">Messsage</label>\n + <textarea id="message" name="message"></textarea>\n + </div>\n + </div>\n + <div class="ui-form-bottom bottom custom-container">\n + <div data-role="controlgroup" data-type="horizontal" class="custom-right">\n + <input type="button" value="Reset" data-icon="ban" data-iconpos="left" />\n + <input type="submit" data-theme="d" value="Submit" data-wrapper-class="ui-bar-d" data-icon="check" data-iconpos="left" />\n + </div>\n + </div>\n + </form>\n + </section>\n + \n + </article>\n +\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="URI.js" type="text/javascript"></script>\n + <script src="jquery.js" type="text/javascript"></script>\n + <script src="jquerymobile.js" type="text/javascript"></script>\n + <script src="gadget_manifest_example_forms.js" type="text/javascript"></script>\n + </body>\n +</html> + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Froms</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432309363.74</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12495.1203.23586</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432309736.66</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432309344.3</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_forms_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_forms_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..edd87b29aff5f6cb7055c0e7cf455b7d040c23d8 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_forms_js.xml @@ -0,0 +1,368 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_forms.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_forms_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>/*global window, rJS, RSVP */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod("render", function () {\n + return this;\n + });\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n +\n +}(window, rJS, RSVP));\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Forms JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432309436.01</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12495.46569.62071</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432309431.52</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432309422.62</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_grid_css.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_grid_css.xml new file mode 100644 index 0000000000000000000000000000000000000000..6037543542f7f76b04f40b2d88369226f9ba4a58 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_grid_css.xml @@ -0,0 +1,329 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Style" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_grid.css</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_grid_css</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Style</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +html.ui-mobile body .ui-grid-container.ui-responsive > ul > li {\n + width: auto;\n +} + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Grid CSS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305103.44</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12430.60990.54289</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305569.46</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305084.18</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_grid_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_grid_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..a8b898b86088acac0a14191d9ec3e79abc311b66 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_grid_html.xml @@ -0,0 +1,406 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_grid.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_grid_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html> \n + <head>\n + <title>Header</title>\n + <meta charset="utf-8">\n + <meta name="viewport" content="width=device-width, initial-scale=1">\n +\n + <link rel="stylesheet" href="normalize.css">\n + <link href=\'//fonts.googleapis.com/css?family=Open+Sans:700,400,300\' rel=\'stylesheet\' type=\'text/css\'>\n + <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />\n + <link rel="stylesheet" href="jquerymobile.css">\n + <link rel="stylesheet" href="gadget_erp5.css">\n + <link rel="stylesheet" href="gadget_manifest.css">\n + <link rel="stylesheet" href="gadget_manifest_example_grid.css">\n +\n +\n + </head>\n + <body>\n + \n + <!-- sample -->\n + <div data-role="panel" data-position="left" id="leftpanel" data-display="overlay" class="ui-body-d ui-linear">\n +\n + <div data-role="header">\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right">\n + <div class="ui-controlgroup-controls">\n + <a data-rel="close" class="responsive ui-first-child ui-last-child ui-btn ui-btn-icon-left ui-icon-times">Close</a>\n + </div>\n + </div>\n + <h1>Navigation</h1>\n + </div>\n + </div>\n + \n + <div data-role="panel" data-position="right" id="rightpanel" data-display="overlay" class="ui-body-c ui-linear">\n +\n + <div data-role="header">\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right">\n + <div class="ui-controlgroup-controls">\n + <a data-rel="close" class="responsive ui-first-child ui-last-child ui-btn ui-btn-icon-left ui-icon-times">Close</a>\n + </div>\n + </div>\n + <h1>Search</h1>\n + </div>\n + </div>\n + \n + \n + <article class="ui-content">\n + <section class="ui-content-header-plain ui-bar-c">\n + <h3>\n + <span class="ui-icon ui-icon-custom ui-icon-envelope"> </span>\n + Grid\n + </h3>\n + </section>\n + <section class="ui-content-section ui-body-c ui-grid-container ui-responsive">\n + <ul class="grid-items">\n + <li>Row 1-1</li>\n + <li>Row 1-2</li>\n + <li>Row 1-3</li>\n + </ul>\n + <ul class="grid-items">\n + <li>Row 2-1</li>\n + <li>Row 2-2</li>\n + <li>Row 2-3</li>\n + <li>Row 2-4</li>\n + <li>Row 2-5</li>\n + <li>Row 2-6</li>\n + </ul>\n + \n + </section>\n + </article>\n +\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="URI.js" type="text/javascript"></script>\n + <script src="jquery.js" type="text/javascript"></script>\n + <script src="jquerymobile.js" type="text/javascript"></script>\n + <script src="gadget_manifest_example_grid.js" type="text/javascript"></script>\n + </body>\n +</html> + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Grid</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304896.29</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12426.5051.27374</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305425.71</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304875.9</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_grid_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_grid_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..d24dac4a33d452d57eea937ffdc7c1f85ca1ab22 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_grid_js.xml @@ -0,0 +1,368 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_grid.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_grid_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>/*global window, rJS, RSVP */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod("render", function () {\n + return this;\n + });\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n +\n +}(window, rJS, RSVP));\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Grid JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305024.0</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12422.7890.42820</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305017.54</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305007.2</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_alternative_css.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_alternative_css.xml new file mode 100644 index 0000000000000000000000000000000000000000..72caf7fddfacf4bd2197425a5ff2677f299ba47b --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_alternative_css.xml @@ -0,0 +1,326 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Style" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_header_alternative.css</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_header_alternative_css</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Style</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>html .ui-header .ui-title {\n + margin: 0 59% 0 1%;\n + text-align: left;\n +}</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Header Alternative CSS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303078.93</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12388.43989.29832</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303017.99</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432302994.09</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_alternative_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_alternative_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..a0d5da3037803df49e8e1fe3e17fca2fd51a3ab1 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_alternative_html.xml @@ -0,0 +1,366 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_header_alternative.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_header_alternative_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html> \n + <head>\n + <title>Header</title>\n + <meta charset="utf-8">\n + <meta name="viewport" content="width=device-width, initial-scale=1">\n +\n + <link rel="stylesheet" href="normalize.css">\n + <link href=\'//fonts.googleapis.com/css?family=Open+Sans:700,400,300\' rel=\'stylesheet\' type=\'text/css\'>\n + <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />\n + <link rel="stylesheet" href="jquerymobile.css">\n + <link rel="stylesheet" href="gadget_erp5.css">\n + <link rel="stylesheet" href="gadget_manifest.css">\n + <link rel="stylesheet" href="gadget_manifest_iframe.css">\n +\n +\n + </head>\n + <body>\n + \n + <!-- sample -->\n + <div data-role="header" data-theme="a" data-position="fixed">\n + <h1 class="ui-title">Nexedi</h1>\n +\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right">\n + <div class="ui-controlgroup-controls">\n + <a href="#x" class="responsive ui-btn ui-icon-bars ui-btn-icon-left ui-first-child">Menu</a>\n + </div>\n + </div>\n + </div>\n +\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="URI.js" type="text/javascript"></script>\n + <script src="jquery.js" type="text/javascript"></script>\n + <script src="jquerymobile.js" type="text/javascript"></script>\n + <script src="gadget_manifest_example_header_alternative.js" type="text/javascript"></script>\n + </body>\n +</html> + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Header Alternative</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432302572.47</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12389.21182.53179</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303874.43</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432302550.49</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_alternative_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_alternative_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..8bfe99fe81e4d7b17b13833ecac6ca7586537bf3 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_alternative_js.xml @@ -0,0 +1,368 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_header_alternative.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_header_alternative_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>/*global window, rJS, RSVP */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod("render", function () {\n + return this;\n + });\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n +\n +}(window, rJS, RSVP));\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Header Alternative JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432302521.96</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12380.15452.13209</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432302507.61</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432302494.12</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_css.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_css.xml new file mode 100644 index 0000000000000000000000000000000000000000..654e52c20a42b4c5a1d645b66d3c1506c0465e25 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_css.xml @@ -0,0 +1,329 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Style" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_header.css</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_header_css</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Style</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>.ui-header .ui-controlgroup, .ui-panel .ui-header .ui-controlgroup {\n + min-width: inherit;\n + max-width: none;\n +}\n +.ui-header .ui-controlgroup-horizontal .ui-controlgroup-controls a.ui-btn {\n + width: auto;\n +}</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Header CSS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432301440.66</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12396.59040.55586</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303564.93</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432301424.51</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..a0c3450f10cdd1396507a6c99986052611b92727 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_html.xml @@ -0,0 +1,376 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_header.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_header_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html> \n + <head>\n + <title>Header</title>\n + <meta charset="utf-8">\n + <meta name="viewport" content="width=device-width, initial-scale=1">\n +\n + <link rel="stylesheet" href="normalize.css">\n + <link href=\'//fonts.googleapis.com/css?family=Open+Sans:700,400,300\' rel=\'stylesheet\' type=\'text/css\'>\n + <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />\n + <link rel="stylesheet" href="jquerymobile.css">\n + <link rel="stylesheet" href="gadget_erp5.css">\n + <link rel="stylesheet" href="gadget_manifest.css">\n + <link rel="stylesheet" href="gadget_manifest_example_header.css">\n +\n +\n + </head>\n + <body>\n + \n + <!-- sample -->\n + \n + <div data-role="header" data-theme="a" data-position="fixed">\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-left">\n + <div class="ui-controlgroup-controls">\n + <a href="#" class="responsive ui-btn ui-icon-bars ui-btn-icon-left ui-first-child">Menu</a>\n + <a href="#" class="responsive ui-btn ui-icon-home ui-btn-icon-left ui-last-child">Home</a>\n + </div>\n + </div>\n + \n + <h1 class="ui-title">Nexedi</h1>\n +\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right">\n + <div class="ui-controlgroup-controls">\n + <a href="#" class="responsive ui-btn ui-icon-info ui-btn-icon-left">About</a>\n + <a href="#" class="responsive ui-btn ui-icon-envelope-o ui-btn-icon-left ui-last-child">Contact</a>\n + </div>\n + </div>\n + \n + </div>\n +\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="URI.js" type="text/javascript"></script>\n + <script src="jquery.js" type="text/javascript"></script>\n + <script src="jquerymobile.js" type="text/javascript"></script>\n + <script src="gadget_manifest_example_header.js" type="text/javascript"></script>\n + </body>\n +</html> + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Header</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432299616.84</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12375.41334.29115</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432302983.65</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432299200.1</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..f2ae7d786acfec17d3ec7824d4ae772478104451 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_js.xml @@ -0,0 +1,368 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_header.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_header_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>/*global window, rJS, RSVP */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod("render", function () {\n + return this;\n + });\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n +\n +}(window, rJS, RSVP));\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Header JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432299680.34</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12332.59359.17629</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432299665.6</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432299654.33</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_panel_css.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_panel_css.xml new file mode 100644 index 0000000000000000000000000000000000000000..128db476ba2ba452501cd3166e9a285241e764e3 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_panel_css.xml @@ -0,0 +1,332 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Style" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_header_panel.css</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_header_panel_css</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Style</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>.ui-header .ui-controlgroup, .ui-panel .ui-header .ui-controlgroup {\n + min-width: inherit;\n + max-width: none;\n +}\n +.ui-header .ui-controlgroup-horizontal .ui-controlgroup-controls a.ui-btn {\n + width: auto;\n +}\n +.ui-panel .ui-panel-inner {\n + padding: 0;\n +}</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Header Panel CSS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304030.16</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12406.8459.59852</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304230.93</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304012.33</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_panel_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_panel_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..2e7c7eb18b2474639f439ea7e610a674722ed1de --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_panel_html.xml @@ -0,0 +1,396 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_header_panel.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_header_panel_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html> \n + <head>\n + <title>Header</title>\n + <meta charset="utf-8">\n + <meta name="viewport" content="width=device-width, initial-scale=1">\n +\n + <link rel="stylesheet" href="normalize.css">\n + <link href=\'//fonts.googleapis.com/css?family=Open+Sans:700,400,300\' rel=\'stylesheet\' type=\'text/css\'>\n + <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />\n + <link rel="stylesheet" href="jquerymobile.css">\n + <link rel="stylesheet" href="gadget_erp5.css">\n + <link rel="stylesheet" href="gadget_manifest.css">\n + <link rel="stylesheet" href="gadget_manifest_example_header_panel.css">\n +\n +\n + </head>\n + <body>\n + \n + <!-- sample -->\n + <div data-role="panel" data-position="left" id="leftpanel" data-display="overlay" class="ui-body-d ui-linear">\n +\n + <div data-role="header">\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right">\n + <div class="ui-controlgroup-controls">\n + <a data-rel="close" class="responsive ui-first-child ui-last-child ui-btn ui-btn-icon-left ui-icon-times">Close</a>\n + </div>\n + </div>\n + <h1>Navigation</h1>\n + </div>\n + </div>\n + \n + <div data-role="panel" data-position="right" id="rightpanel" data-display="overlay" class="ui-body-c ui-linear">\n +\n + <div data-role="header">\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right">\n + <div class="ui-controlgroup-controls">\n + <a data-rel="close" class="responsive ui-first-child ui-last-child ui-btn ui-btn-icon-left ui-icon-times">Close</a>\n + </div>\n + </div>\n + <h1>Search</h1>\n + </div>\n + </div>\n + \n + \n + <div data-role="header" data-theme="a" data-position="fixed" class="custom-headroom-header">\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-left">\n + <div class="ui-controlgroup-controls">\n + <a href="#leftpanel" class="responsive ui-btn ui-icon-bars ui-btn-icon-left ui-first-child ui-last-child">Menu</a>\n + </div>\n + </div>\n + \n + <h1 class="ui-title">Nexedi</h1>\n +\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right">\n + <div class="ui-controlgroup-controls">\n + <a role="button" href="#rightpanel" class="responsive ui-btn ui-icon-search ui-btn-icon-left ui-first-child ui-last-child">About</a>\n + </div>\n + </div>\n +\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="URI.js" type="text/javascript"></script>\n + <script src="jquery.js" type="text/javascript"></script>\n + <script src="jquerymobile.js" type="text/javascript"></script>\n + <script src="gadget_manifest_example_header_panel.js" type="text/javascript"></script>\n + </body>\n +</html> + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Header Panel</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303944.87</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12407.5870.52070</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432304118.81</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303923.11</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_panel_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_panel_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..3520a32d8c182b4b2952c010cb6c9d30d4d2752f --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_header_panel_js.xml @@ -0,0 +1,368 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_header_panel.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_header_panel_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>/*global window, rJS, RSVP */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod("render", function () {\n + return this;\n + });\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n +\n +}(window, rJS, RSVP));\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Header Panel JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303987.86</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12404.54723.1587</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303981.81</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303970.08</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_lists_css.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_lists_css.xml new file mode 100644 index 0000000000000000000000000000000000000000..5565866cf8109162a796675911757b29b6dc056c --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_lists_css.xml @@ -0,0 +1,325 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Style" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_lists.css</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_lists_css</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Style</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>.ui-listview .ui-btn-icon-right .ui-li-count {\n + top: 23%;\n +}</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Lists CSS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432310241.34</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12518.42843.31931</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432555460.66</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432310230.54</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_lists_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_lists_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..fb30babfc022c5424eda2d6926ec7e0af18cd573 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_lists_html.xml @@ -0,0 +1,391 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_lists.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_lists_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html> \n + <head>\n + <title>Header</title>\n + <meta charset="utf-8">\n + <meta name="viewport" content="width=device-width, initial-scale=1">\n +\n + <link rel="stylesheet" href="normalize.css">\n + <link href=\'//fonts.googleapis.com/css?family=Open+Sans:700,400,300\' rel=\'stylesheet\' type=\'text/css\'>\n + <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />\n + <link rel="stylesheet" href="jquerymobile.css">\n + <link rel="stylesheet" href="gadget_erp5.css">\n + <link rel="stylesheet" href="gadget_manifest.css">\n + <link rel="stylesheet" href="gadget_manifest_example_lists.css">\n +\n +\n + </head>\n + <body>\n + \n + <article class="ui-content ui-body-c">\n + <ul data-role="listview" data-inset="true">\n + <li data-role="list-divider"><h1>Headline only</h1></li>\n + <li><a href="#">Headline</a></li>\n + <li data-role="list-divider"><h1>Headline with subtext</h1></li>\n + <li><a href="#"><h1>Headline</h1><p>with subtext</p></a></li>\n + <li data-role="list-divider"><h1>Headline (with subtext) with image</h1></li>\n + <li><a href="#"><img src="data:image/gif;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8SEhEPERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEUHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh7/wAARCABzAHMDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDP+Nvxl8Z+C/Ht/oei2OjS2VusJRri3d3O6JXOSHA6se1cH/w0v8RT00zw97/6JJ/8crpfj1Z3kfxW1DVNPYrPGsDKwUHH7hB3ryXX9a8U2lk1obwC2Y8xm3TjCeXjp02jH69aTpWSdiKdWMm1fU7OX9pb4g5AOneHwB6Wkn/xylX9pn4hLgjTfDxAPP8Aocn/AMcrzSbxz4pN7b3b6ipnt3leJzbx/KZQwf8Ah5B3NweBk4xUV/408QXySreXkcgmEiyf6NGCwkJZhnb3LE+xwR0GI5V2NdD1P/hpvx+DkWPh76fZJP8A45T/APhpj4hZAOn+HTn0tJP/AI5XhsMLzTxxQK8skjbURRliewxXoWm/C3X72FWae0gcbcozkkDHOSB1HAx39fVtRW5vQwdbEX9lG9jtF/aW8escf2d4fGOubWT/AOOVatP2iPGs2TJY6FyeotZMf+jK5zTfhC0U7PqepNLErnbHDHtLL2JJzj6D861NS+HWnbR/Z5ks2GPlJLo2Pqcg/j+FLnpp6nf/AGFjHTc7JeV9f8vxOr0/47+LXXMmn6L9RA4/9nq8fjl4mRl3WWjlT1xExx/4/XnMfgzWIVZRJbMu3IJbaSfQcVm65pF9pckcc4KmQZDK2Vb2+orog6UnokeHiMDjKKcqkWl3PYW+NfiRRk2ekYPIPkv/APFVatvi94leJWe10hd3ORC/A/76rxd1uBbgnGAvPrjiuk0xHaGPcmRsGfyro5Kb+yePUq1YrSR6BN8XfFQyI7XRj9YH5/8AH6Wy+J3i66LF7bSBjG3EL4z/AN9Vw0sHOQtaVkirAhA75NYVKcLaI8+eNxEX8TPorRpZrzRrG7uFjE09tFLIEGF3MgJx7ZNFHhkA+GtKO7rZQn/yGtFcLZ9VT1gmzxn4oNF/wsLUySp4hyD1/wBSlee/EDRILlDJGdxK8d+g4qz8dNc/s740azDu+6tscZx/y7xmseHxGl2yJO+Vzxk9M16dKUZQSZ5dWlOnUc4nlGuaZJaTtlTjNangbwZfeJpHkYy2tnGOJ/KyHbP3VzjPf6fjXtnh/wCHcPjWxlvAGECPsKxDLuwAOB2HBHPP0rr73QxpVnHZtFDZyRrsEAYA47YHpiuWsuR6H12Q4GOLtVrr3e3f9bHJ6B4b8KWFxHNY6ZDa3cMXlrK2S2OnB6bvc88nmtcWj8+UCi/3geaV9KI4C5Y8/Sq7Wstu4EZIfvXO9T72EKUFaloXNuoqpQTuEIxyMn8zzUc0d9INkjkqOny4P5io/Lv3IxcSj6MR/KkeK8ztM0pPfLGolG4pLzQhtpyxkkYn3Y8irCvarHiYxSkcr0JBqBdOmk+Yhmx6805NOk385xjH0rB3iZSUX8TMbWdLsJ7eeaGMiblwAeM9SAKbp3l+Sg+X/Vj+VX5VWBiGYkq3QdawbiSVZGZemTx+NduGxij7sz47PeHVXXtsMrPttf8A4Jo3DoiZJANQR3qrgLisS6vXI4J/PNJZSM8qgnHNd8lc/O8Rh1HVn1l4TJPhTRznrYQH/wAhrRUXhAH/AIRHRe//ABLrfn/tktFeW9z6Sl8C9D4z/amkZfjvr204wlr/AOk0VcFZXd691DDbK80sjBURRksT0AHc13n7U4H/AAvLXie6Wv8A6TRVhfB0yf8ACcwIkZYvBIu4D7nGc57dMZ98d66E7RudGFpKvXjSk7Jux9OeBzDp3hOw0RIjBs+e5wTmSQgAsf8APYV6DDpPhy38IahrOo28UuYjsDAE4424z0JbH6V4pDF9nk3tcNCOmRnJ/KrU2v3v2P7DmR7UtkqzYyfoOKzU2z76rljcYwoStFW200K8c8qZNtEI8k5O4/oKRbi/Lk+YSfUqKs29/aGPa1vKrNxxgj+lW4rixEZLkoPVlNQ2enKVvsfqUkvrpNxllwf4QEHzfpUT3+oO+7coPbCD/CppZtPlm3G4A9Pkb/Cp45tPVgWmB+gP+FBL5Y68n4FVbrUCQWlbHcAAU2Vri4JCzSunTDNV6e704IMTHJHTY3+FQR6jYwnMccrkewAqJK4lJvVQ/AqJZyDPUGqU1kBGXk4G4g5rYbUZ5FZ4oo1x68kVly+ZI5ZyScmsHAlxlLfQ5DWLU29wZ0H7k9fY0mnOuQ3Q/wA60/EqMdPkKpn5hn86x9KHPJ+lerhajlT97oflPFOEhQxTVPRNX+/sfW3g4g+ENEPT/iXW/wD6KWio/CDE+EdFIdQP7Ot+o/6ZLRXHJ6sql8C9D40/aoz/AML1149xHa/+k0VXfgdFZHTL26i/4/45gJGbkhMZT6DIb8vpVX9qXj4669kA/u7Xr/16xVB8EIZjeX7lVFu6ohY9S+SQB+ufwqq1/ZHp5HNrMIq3f8j1w3VvdPGsjBGQY6cE1ZSyWUghlIx1Bqn/AGeSxwOlHlpbKZNzCTOAqnBqIbH6C2toMu3VsLdQ+3kH5R6mq3lSXHzyH147D6VWe7vmYEysQOgIzj86ljv7qNDhI247r/hVWZoozS7slGms3OD+VIYBE2ScbfapotRvimTHBtA9Dx+tVp795Gz5SY9ADzS1Jcqreo8RG6cuVCk8bR0FWY9LKjcR+dU0v51yUhiH1U/41Kt1qEyFhOEA5IVACP60aiftOmiJGs3D4UYI5zUNy0EatkhmyeBzULrcz8PI7/Uk1XMTKpz2NZtCmnbVlS7fe2NoC9MVy0DpHcv5eWQMdpz2rqL1SYy33dwxgda5SOIxTMjj5lOCK6sEtWfC8XLmhT076/dofW/g0lvB2hsB1023PT/pktFL4Jz/AMIXoXP/ADDbb/0UtFZSWrPFh8KPjb9qU/8AF9Nex/zztf8A0mio+EetWTRjQbhVgnZmeBzwJSeoP+1xx6gevVv7Uy/8X010f9M7X/0mirzu3LQXEM6kho3DDHXg5rRwUopM3wOLnhMQqkP6R9NJJc2ilnbcvTDDOf61XW6R7hpJkKsx5A5FAuFMii4JYBQNwHSrK2kE0h8uRWHXg1mtD9MTjFXl1JFksmf/AFqgcdeKlEMDx5V1PqcioGskRyzkBABlj0FVJYi/3RhR096CFaWzLTCV2MUanyOpHcmpEsxvAI4rOSykal+ykOAckdKZU7dJGybONV6geueKqzm2Rh/pUSBT0U5J/KqklqM7U/E0+PSGPzHPJpChyrWUiydRtEBEMTytnOcYH6/4VRM8kzN8oQEngVa+yeSDJjoelFuYSC/BZiSVXnH41CQpuCjeKuZl+nl2skrEAqpIJ9e1cpGHecvISzFskmux8RBH04q+A24bB6/5Fc3HEFkyee9ejgqV1c/N+Ksf/tEaL2Sv959VeCk/4ozQ+3/Ettu3/TJaKf4MA/4Q3Q+P+Ybb/wDopaK4pL3mc8PhR8WftUcfHjXv+udr/wCk0VedMQUXIHtxXo/7UvPx1104H3LX/wBJoq83kHyitlsiUvePZfh14tj8QiTT7y28m6gh3mVPuOoIHQ8g8j1rtDZxlRKrArj7wNfNVpc3NpMs9pPLBKvR43KsPxFexeCPFFpqfh2Jb/U7W2v1kMcqyTLGZMYIYKTyDkfiDWco22PtMpzX2q9lVlaS69/+CdRP9pcj53Kr90Mc4FPhluEUgbSMdCKmi+0rEQUSUcMG7miO5G077fj1BqGz6DmbVrXFivLsdEj/ACP+NRT3k0ny+WgHtnmnfbEyVEBAPXPWlM1srZ8uQn0wKCOW2vKNguZ4lOyGL8Qf8amE2ozLuMxVc9EAGKQ3kYGEtWY+5xSwz3rvmO3CrngNyKClrryr5ijTriZS7l2x1JOTU0cMdqh3kZAJPt9aj1S/XT7drnVb9rdOioikFz6AD+tcrN4na+LRWdv5EKkpuY5Zx79h+v1rSlSlM8PN86o4Gm1UleXRL+tizfzm5upJ9xKk/Ln0qBEzTre5RVOYUY+pJpI5AzkgBfpX0WGpLlSPwrG4upOrKpLdu7PqTwbkeD9EA/6B1v8A+iloo8HFv+EP0T/sHW//AKKWivm6mk36n31Bt0ovyR8X/tRLn4667n/nna/+k0VecOmAtelftRqf+F666Sf4LX/0mirziQEBelarZFxWpFt5pHAI61MWbIYqOKgOcGgs6bwv401fSr21Se8mnsYyEeI4JCdPlPXgdBnHFevWHiDSryGR7bUrOZVG5t77So9849a+e1GTzVg9RUuKZ6uDzethlyv3l5n0eZZMhlhgYHuvNL5qySfPHEnr8+K+foPEmsw3ME0WpzpJBCYI2DfdQ9vf/wCsPQVPYa9qsNhd2iXkhjuTukLHLbiQSQeuTjn1zU+zPVXEFJ7wZ7xcXsdpC9w4t4IU+9LK3yjt14HWuf1D4l6dZ3D2lvHc3rocGSIosbH2bkke9eRG7u7hZFnvLiVZSGcNISHYDgnJ5xVnTIg1wisyqM960hST3PLx3ENRxtSjy/idZrGu3fi/XIZ3j+zwom2OJ5dwT1JJwMn1x6Cl0cbVk55EhqjoqBCxwpxng1asJQiyEbcea3GTXbBKOiPiMVUqYipKc3ds6CBJGG4q2wDrjg1JuCygdqx1uG7N1qe3lZ5Bkk49q9KNTlVkeSsBzu8j678GsD4O0M5P/INt/wD0UtFM8FnHgzQup/4ltt/6KWivm5v3mfZ09IJHq40HSgABakAf9NX/AMaP7B0n/n1/8iP/AI0UVtyrsUH9gaT/AM+p/wC/r/40DQNJByLX/wAiv/jRRRyrsAv9haV/z6/+RG/xpDoGknraf+RH/wAaKKOVAH9g6V/z6n/v4/8AjS/2FpX/AD6/+RG/xooo5V2AP7C0r/n1/wDIjf40f2Hpf/Pqf+/jf40UUcqAP7C0r/n1P/fx/wDGgaFpQOfsv/kRv8aKKLIA/sLSv+fX/wAiN/jQdC0o9bX/AMiN/jRRRZANPh/SCcm0P/f1/wDGiiijlXYD/9k=" alt="" /><h1>Headline</h1><p>with subtext</p></a></li>\n + <li data-role="list-divider"><h1>Headline (with subtext) with icon left</h1></li>\n + <li class="ui-li-has-icon"><a href="#">\n + <span class="ui-li-icon ui-li-icon-custom ui-icon ui-icon-folder"> </span>\n + <h1>Headline</h1>\n + <p>with subtext</p>\n + </a>\n + </li>\n + <li data-role="list-divider"><h1>Headline (with subtext) with icon right</h1></li>\n + <li data-icon="cogs"><a href="#"><h1>Headline</h1><p>with subtext</p></a></li>\n + <li data-role="list-divider"><h1>Headline with 2nd link</h1></li>\n + <li><a href="#"><h1>Headline</h1><p>with subtext</p></a><a href="#" data-icon="cogs">Do cogs</a></li>\n + <!--\n + <li data-role="list-divider"><h1>Headline with radio/checkbox button</h1></li>\n + <li>\n + <a href="#"><h1>Headline</h1><p>with subtext</p></a>\n + <label>One<input type="checkbox" class="foo" data-iconpos="notext" name="i1" /></label>\n + </li>\n + <li>\n + <a href="#"><h1>Headline</h1><p>with subtext</p></a>\n + <label>Two<input type="radio" class="foo" data-iconpos="notext" /> </label>\n + </li>\n + -->\n + <li data-role="list-divider"><h1>Headline with counter</h1></li>\n + <li><a href="#"><h1>Headline</h1><p>with subtext</p><p class="ui-li-count">123</p></a></li>\n + </ul>\n + \n + </article> \n +\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="URI.js" type="text/javascript"></script>\n + <script src="jquery.js" type="text/javascript"></script>\n + <script src="jquerymobile.js" type="text/javascript"></script>\n + <script src="gadget_manifest_example_lists.js" type="text/javascript"></script>\n + </body>\n +</html> + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Lists</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432310274.23</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12521.31926.22545</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432311040.08</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432310262.01</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_lists_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_lists_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..e6b6d7d032d6e9ca13da7950498e40c247b851de --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_lists_js.xml @@ -0,0 +1,368 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_lists.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_lists_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>/*global window, rJS, RSVP */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod("render", function () {\n + return this;\n + });\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n +\n +}(window, rJS, RSVP));\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Lists JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432310213.99</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12508.42120.57651</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432310207.58</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432310198.54</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_subheader_css.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_subheader_css.xml new file mode 100644 index 0000000000000000000000000000000000000000..f66ff12c797047bcdca4aad7480ae16e2070ebe0 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_subheader_css.xml @@ -0,0 +1,329 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Style" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_subheader.css</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_subheader_css</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Style</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>.ui-header .ui-controlgroup, .ui-panel .ui-header .ui-controlgroup {\n + min-width: inherit;\n + max-width: none;\n +}\n +.ui-header .ui-controlgroup-horizontal .ui-controlgroup-controls a.ui-btn {\n + width: auto;\n +}</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Subheader CSS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303330.12</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12394.30878.2764</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303578.84</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303309.17</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_subheader_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_subheader_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..11e94332f09efdb37e542894e96058eff8a1f317 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_subheader_html.xml @@ -0,0 +1,385 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_subheader.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_subheader_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html> \n + <head>\n + <title>Header</title>\n + <meta charset="utf-8">\n + <meta name="viewport" content="width=device-width, initial-scale=1">\n +\n + <link rel="stylesheet" href="normalize.css">\n + <link href=\'//fonts.googleapis.com/css?family=Open+Sans:700,400,300\' rel=\'stylesheet\' type=\'text/css\'>\n + <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />\n + <link rel="stylesheet" href="jquerymobile.css">\n + <link rel="stylesheet" href="gadget_erp5.css">\n + <link rel="stylesheet" href="gadget_manifest.css">\n + <link rel="stylesheet" href="gadget_manifest_example_subheader.css">\n +\n +\n + </head>\n + <body>\n + \n + <!-- sample -->\n + \n + <div data-role="header"data-theme="a" data-position="fixed" class="custom-headroom-header">\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-left">\n + <div class="ui-controlgroup-controls">\n + <a href="#" class="responsive ui-btn ui-icon-bars ui-btn-icon-left ui-first-child">Menu</a>\n + <a role="button" href="#" class="responsive ui-btn ui-icon-home ui-btn-icon-left ui-last-child">Home</a>\n + </div>\n + </div>\n + \n + <h1 class="ui-title">Nexedi</h1>\n + \n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right">\n + <div class="ui-controlgroup-controls">\n + <a role="button" href="#" class="responsive ui-btn ui-icon-info ui-btn-icon-left">About</a>\n + <a role="button" href="#" class="responsive ui-btn ui-icon-envelope-o ui-btn-icon-left ui-last-child">Contact</a>\n + </div>\n + </div>\n + \n + <div class="ui-navbar ui-subheader ui-grid-container" role="navigation">\n + \t\t\t<ul class="ui-grid-d">\n + \t\t\t\t<li class="ui-block-a"><a href="#" class="ui-btn ui-btn-icon-top ui-icon-eye ui-first-child">Views</a></li>\n + \t\t\t\t<li class="ui-block-b"><a href="#" class="ui-btn ui-btn-icon-top ui-icon-scissors">Cut</a></li>\n + \t\t\t\t<li class="ui-block-c"><a href="#" class="ui-btn ui-btn-icon-top ui-icon-cogs">Process</a></li>\n + \t\t\t\t<li class="ui-block-d"><a href="#" class="ui-btn ui-btn-icon-top ui-icon-share-square-o">Export</a></li>\n + \t\t\t\t<li class="ui-block-e"><a href="#" class="ui-btn ui-btn-icon-top ui-icon-plus ui-last-child">Add</a></li>\n + \t\t\t</ul>\n + \t\t</div>\n + </div>\n +\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="URI.js" type="text/javascript"></script>\n + <script src="jquery.js" type="text/javascript"></script>\n + <script src="jquerymobile.js" type="text/javascript"></script>\n + <script src="gadget_manifest_example_subheader.js" type="text/javascript"></script>\n + </body>\n +</html> + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example subheader</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303279.17</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12398.48990.42973</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303901.8</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303259.49</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_subheader_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_subheader_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..9f2bf68a01e09b79d5d9527daaf956dafa93353d --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_subheader_js.xml @@ -0,0 +1,368 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_subheader.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_subheader_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>/*global window, rJS, RSVP */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod("render", function () {\n + return this;\n + });\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n +\n +}(window, rJS, RSVP));\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Subeader JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303366.99</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12394.35507.42990</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303361.12</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432303352.49</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_css.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_css.xml new file mode 100644 index 0000000000000000000000000000000000000000..12d36e5193ebc2dac83bd58cf4edd00ed50eb80e --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_css.xml @@ -0,0 +1,335 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Style" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_tables.css</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_tables_css</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Style</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>table th, table td {\n + line-height: 1.5em;\n + text-align: left;\n + padding: .4em .25em;\n + vertical-align: middle;\n +}\n +\n +@media (max-width: 62em) {\n + html table tbody tr td:first-child, tbody tr th:first-child {\n + line-height: 1em;\n + padding-bottom: 0;\n + }\n +}</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Tables CSS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306219.12</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12447.49019.63641</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306639.09</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306201.46</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_extended_css.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_extended_css.xml new file mode 100644 index 0000000000000000000000000000000000000000..c24179c9eacf38ba7a326e81b2c2087cb12d658a --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_extended_css.xml @@ -0,0 +1,340 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Style" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_tables_extended.css</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_tables_extended_css</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Style</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>table th, table td {\n + line-height: 1.5em;\n + text-align: left;\n + padding: .4em .25em;\n + vertical-align: middle;\n +}\n +\n +@media (max-width: 62em) {\n + html table tbody tr td:first-child, tbody tr th:first-child {\n + line-height: 1em;\n + padding-bottom: 0;\n + }\n +}\n +\n +html body table.ui-responsive thead th {\n + color: white;\n +}\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Tables Extended CSS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432307022.19</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12490.29156.52667</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432309272.74</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432307007.86</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_extended_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_extended_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..bfdc5d1e502f167c410703215cdd394072791713 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_extended_html.xml @@ -0,0 +1,533 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_tables_extended.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_tables_extended_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html> \n + <head>\n + <title>Header</title>\n + <meta charset="utf-8">\n + <meta name="viewport" content="width=device-width, initial-scale=1">\n +\n + <link rel="stylesheet" href="normalize.css">\n + <link href=\'//fonts.googleapis.com/css?family=Open+Sans:700,400,300\' rel=\'stylesheet\' type=\'text/css\'>\n + <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />\n + <link rel="stylesheet" href="jquerymobile.css">\n + <link rel="stylesheet" href="gadget_erp5.css">\n + <link rel="stylesheet" href="gadget_manifest.css">\n + <link rel="stylesheet" href="gadget_manifest_example_tables_extended.css">\n +\n +\n + </head>\n + <body>\n + \n + <!-- sample -->\n + \n + <article class="ui-content ui-body-c">\n + <form action="#" method="post">\n + <div class="ui-form-center">\n + <div class="ui-field-contain"> \n + <div class="ui-input-text ui-body-d ui-corner-all ui-shadow-inset ui-input-has-clear">\n + <input type="text" name="search" value="" placeholder="Search..." data-enhanced="true">\n + <div class="ui-btn ui-input-clear ui-input-btn ui-corner-all ui-icon-search ui-btn-icon-notext">\n + Submit\n + <input type="submit" value="Submit" data-enhanced="true">\n + </div>\n + </div>\n + <a href="#filters" class="ui-btn-d ui-btn ui-btn-icon-notext ui-icon-filter">Filters</a>\n + </div>\n + <div class="ui-tag-list">\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-corner-all">\n + <div class="ui-controlgroup-controls">\n + <a href="#edit" class="ui-btn ui-bar-d ui-btn-d ui-mini ui-first-child">Search:Internet</a>\n + <a href="#delete" class="ui-btn ui-bar-d ui-btn-d ui-btn-icon-notext ui-mini ui-icon-delete ui-last-child">Delete</a>\n + </div>\n + </div>\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-corner-all">\n + <div class="ui-controlgroup-controls">\n + <a href="#edit" class="ui-btn ui-bar-d ui-btn-d ui-mini ui-first-child">Search:Stocks</a> \n + <a href="#delete" class="ui-btn ui-bar-d ui-btn-d ui-btn-icon-notext ui-mini ui-icon-delete ui-last-child">Delete</a>\n + </div> \n + </div>\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-corner-all">\n + <div class="ui-controlgroup-controls">\n + <a href="#edit" class="ui-btn ui-bar-d ui-btn-d ui-mini ui-first-child">Filter:Last Trade > 14</a>\n + <a href="#delete" class="ui-btn ui-bar-d ui-btn-d ui-btn-icon-notext ui-mini ui-icon-save ui-last-child">Delete</a>\n + </div>\n + </div>\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-corner-all">\n + <div class="ui-controlgroup-controls">\n + <a href="#edit" class="ui-btn ui-bar-d ui-btn-d ui-mini ui-first-child">Sorting: Stocks</a>\n + <a href="#delete" class="ui-btn ui-bar-d ui-btn-d ui-btn-icon-notext ui-mini ui-icon-delete ui-last-child">Delete</a>\n + </div>\n + </div>\n + </div>\n + </div>\n + </form>\n + \n + <div class="ui-table-header ui-header ui-bar-d ui-corner-all">\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-left">\n + <div class="ui-controlgroup-controls">\n + <a href="#hide" class="ui-responsive ui-btn ui-btn-icon-left ui-icon-eye ui-first-child">Hide Rows</a>\n + </div>\n + </div>\n + <h1 class="ui-title">1234 records</h1>\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right">\n + <div class="ui-controlgroup-controls">\n + <a href="#filter" class="ui-responsive ui-btn ui-btn-icon-left ui-icon-sort-amount-desc ui-last-child">Apply Filter</a>\n + </div>\n + </div>\n + </div>\n + <table class="ui-responsive ui-body-d ui-table-inset">\n + <thead class="ui-bar-inherit">\n + <tr>\n + <th rowspan="2">Company</th>\n + <th rowspan="2">Last Trade</th>\n + <th rowspan="2">Trade Time</th>\n + <th rowspan="2">Change</th>\n + <th rowspan="2">Prev Close</th>\n + <th rowspan="2">Open</th>\n + <th colspan="3" >Stuff</th> \n + </tr>\n + <tr>\n + <th>Bid</th>\n + <th>Ask</th>\n + <th>1y Target Est</th>\n + </tr>\n + </thead>\n + <tbody>\n + <tr>\n + <th><a href="#">GOOG <span class="co-name">Google Inc.</span></a></th>\n + <td>597.74</td>\n + <td>12:12PM</td>\n + <td>14.81 (2.54%)</td>\n + <td>582.93</td>\n + <td>597.95</td>\n + <td>597.73 x 100</td>\n + <td>597.91 x 300</td>\n + <td>731.10</td>\n + </tr> \n + <tr>\n + <th>AAPL <span class="co-name">Apple Inc.</span></th>\n + <td>378.94</td>\n + <td>12:22PM</td>\n + <td>5.74 (1.54%)</td>\n + <td>373.20</td>\n + <td>381.02</td>\n + <td>378.92 x 300</td>\n + <td>378.99 x 100</td>\n + <td>505.94</td>\n + </tr> \n + <tr>\n + <th>AMZN <span class="co-name">Amazon.com Inc.</span></th>\n + <td>191.55</td>\n + <td>12:23PM</td>\n + <td>3.16 (1.68%)</td>\n + <td>188.39</td>\n + <td>194.99</td>\n + <td>191.52 x 300</td>\n + <td>191.58 x 100</td>\n + <td>240.32</td> \n + </tr> \n + <tr>\n + <th>ORCL <span class="co-name">Oracle Corporation</span></th>\n + <td>31.15</td>\n + <td>12:44PM</td>\n + <td>1.41 (4.72%)</td>\n + <td>29.74</td>\n + <td>30.67</td>\n + <td>31.14 x 6500</td>\n + <td>31.15 x 3200</td>\n + <td>36.11</td>\n + </tr> \n + <tr>\n + <th>MSFT <span class="co-name">Microsoft Corporation</span></th>\n + <td>25.50</td>\n + <td>12:27PM</td>\n + <td>0.66 (2.67%)</td>\n + <td>24.84</td>\n + <td>25.37</td>\n + <td>25.50 x 71100</td>\n + <td>25.51 x 17800</td>\n + <td>31.50</td> \n + </tr>\n + <tr>\n + <th>CSCO <span class="co-name">Cisco Systems, Inc.</span></th>\n + <td>18.65</td>\n + <td>12:45PM</td>\n + <td>0.97 (5.49%)</td>\n + <td>17.68</td>\n + <td>18.23</td>\n + <td>18.65 x 10300</td>\n + <td>18.66 x 24000</td>\n + <td>21.12</td>\n + </tr> \n + <tr>\n + <th>YHOO <span class="co-name">Yahoo! Inc.</span></th>\n + <td>15.81</td>\n + <td>12:25PM</td>\n + <td>0.11 (0.67%)</td>\n + <td>15.70</td>\n + <td>15.94</td>\n + <td>15.79 x 6100</td>\n + <td>15.80 x 17000</td>\n + <td>18.16</td>\n + </tr>\n + </tbody>\n + <tfoot class="ui-bar-d">\n + <tr>\n + <th colspan="9">\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-corner-all">\n + <div class="ui-controlgroup-controls">\n + <a class="ui-btn ui-icon-carat-l ui-btn-icon-left ui-first-child ui-disabled" href="#">First</a>\n + <a class="ui-btn" href="#1">1</a>\n + <a class="ui-btn" href="#1">2</a>\n + <span class="ui-btn ui-disabled custom-readonly">...</span>\n + <a class="ui-btn" href="#1">6</a>\n + <span class="ui-btn ui-disabled custom-readonly">7</span>\n + <a class="ui-btn" href="#1">8</a>\n + <span class="ui-btn ui-disabled custom-readonly">...</span>\n + <a class="ui-btn" href="#1">12</a>\n + <a class="ui-btn" href="#1">13</a>\n + <a class="ui-btn ui-icon-carat-r ui-btn-icon-right ui-last-child ui-disabled" href="#last">Last</a>\n + </div>\n + </div>\n + </th>\n + </tr>\n + </tfoot>\n + </table>\n + \n + </article>\n +\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="URI.js" type="text/javascript"></script>\n + <script src="jquery.js" type="text/javascript"></script>\n + <script src="jquerymobile.js" type="text/javascript"></script>\n + <script src="gadget_manifest_example_tables_extended.js" type="text/javascript"></script>\n + </body>\n +</html> + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Tables Extended</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306912.82</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12456.52841.52940</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432308997.62</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306858.32</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_extended_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_extended_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..8eb2c61075b241bccf5da0490b9ea3f0e76ee838 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_extended_js.xml @@ -0,0 +1,368 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_tables_extended.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_tables_extended_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>/*global window, rJS, RSVP */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod("render", function () {\n + return this;\n + });\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n +\n +}(window, rJS, RSVP));\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Tables Extended JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306985.41</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12454.36938.19763</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306972.5</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306953.8</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..5f6f74a0077eee0740aaffac941edb14dbdaf7bc --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_html.xml @@ -0,0 +1,457 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_tables.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_tables_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html> \n + <head>\n + <title>Header</title>\n + <meta charset="utf-8">\n + <meta name="viewport" content="width=device-width, initial-scale=1">\n +\n + <link rel="stylesheet" href="normalize.css">\n + <link href=\'//fonts.googleapis.com/css?family=Open+Sans:700,400,300\' rel=\'stylesheet\' type=\'text/css\'>\n + <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />\n + <link rel="stylesheet" href="jquerymobile.css">\n + <link rel="stylesheet" href="gadget_erp5.css">\n + <link rel="stylesheet" href="gadget_manifest.css">\n + <link rel="stylesheet" href="gadget_manifest_example_tables.css">\n +\n +\n + </head>\n + <body>\n + \n + <!-- sample -->\n + <article class="ui-content ui-body-c">\n + <table class="ui-responsive ui-body-c ui-table-inset">\n + <thead>\n + <tr>\n + <th rowspan="2" >Company</th>\n + <th rowspan="2">Last Trade</th>\n + <th rowspan="2">Trade Time</th>\n + <th rowspan="2">Change</th>\n + <th rowspan="2">Prev Close</th>\n + <th rowspan="2">Open</th>\n + <th colspan="3" >Stuff</th> \n + </tr>\n + <tr>\n + <th>Bid</th>\n + <th>Ask</th>\n + <th>1y Target Est</th>\n + </tr>\n + </thead>\n + <tbody>\n + <tr>\n + <th>GOOG <span class="co-name">Google Inc.</span></th>\n + <td>597.74</td>\n + <td>12:12PM</td>\n + <td>14.81 (2.54%)</td>\n + <td>582.93</td>\n + <td>597.95</td>\n + <td>597.73 x 100</td>\n + <td>597.91 x 300</td>\n + <td>731.10</td>\n + </tr> \n + <tr>\n + <th>AAPL <span class="co-name">Apple Inc.</span></th>\n + <td>378.94</td>\n + <td>12:22PM</td>\n + <td>5.74 (1.54%)</td>\n + <td>373.20</td>\n + <td>381.02</td>\n + <td>378.92 x 300</td>\n + <td>378.99 x 100</td>\n + <td>505.94</td>\n + </tr> \n + <tr>\n + <th>AMZN <span class="co-name">Amazon.com Inc.</span></th>\n + <td>191.55</td>\n + <td>12:23PM</td>\n + <td>3.16 (1.68%)</td>\n + <td>188.39</td>\n + <td>194.99</td>\n + <td>191.52 x 300</td>\n + <td>191.58 x 100</td>\n + <td>240.32</td> \n + </tr> \n + <tr>\n + <th>ORCL <span class="co-name">Oracle Corporation</span></th>\n + <td>31.15</td>\n + <td>12:44PM</td>\n + <td>1.41 (4.72%)</td>\n + <td>29.74</td>\n + <td>30.67</td>\n + <td>31.14 x 6500</td>\n + <td>31.15 x 3200</td>\n + <td>36.11</td>\n + </tr> \n + <tr>\n + <th>MSFT <span class="co-name">Microsoft Corporation</span></th>\n + <td>25.50</td>\n + <td>12:27PM</td>\n + <td>0.66 (2.67%)</td>\n + <td>24.84</td>\n + <td>25.37</td>\n + <td>25.50 x 71100</td>\n + <td>25.51 x 17800</td>\n + <td>31.50</td> \n + </tr>\n + <tr>\n + <th>CSCO <span class="co-name">Cisco Systems, Inc.</span></th>\n + <td>18.65</td>\n + <td>12:45PM</td>\n + <td>0.97 (5.49%)</td>\n + <td>17.68</td>\n + <td>18.23</td>\n + <td>18.65 x 10300</td>\n + <td>18.66 x 24000</td>\n + <td>21.12</td>\n + </tr> \n + <tr>\n + <th>YHOO <span class="co-name">Yahoo! Inc.</span></th>\n + <td>15.81</td>\n + <td>12:25PM</td>\n + <td>0.11 (0.67%)</td>\n + <td>15.70</td>\n + <td>15.94</td>\n + <td>15.79 x 6100</td>\n + <td>15.80 x 17000</td>\n + <td>18.16</td> \n + </tr>\n + </tbody>\n + </table>\n + \n + </article>\n +\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="URI.js" type="text/javascript"></script>\n + <script src="jquery.js" type="text/javascript"></script>\n + <script src="jquerymobile.js" type="text/javascript"></script>\n + <script src="gadget_manifest_example_tables.js" type="text/javascript"></script>\n + </body>\n +</html> + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Tables</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306323.2</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12446.38446.18944</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306801.4</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306307.6</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..7cbe8b4baffbd71a04cf86b3118d68debdf3e986 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_tables_js.xml @@ -0,0 +1,368 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_tables.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_tables_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>/*global window, rJS, RSVP */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod("render", function () {\n + return this;\n + });\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n +\n +}(window, rJS, RSVP));\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Tables JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306357.46</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12444.29371.53213</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306353.7</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306346.86</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_themes_css.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_themes_css.xml new file mode 100644 index 0000000000000000000000000000000000000000..7d01a9ff0df1a3157c693388780eb763f27ea919 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_themes_css.xml @@ -0,0 +1,327 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Style" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_themes.css</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_themes_css</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Style</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>.ui-content-section p {\n + min-height: 3em;\n + max-height: 3em;\n + margin: 0;\n +}</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Themes CSS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305743.15</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12440.9242.35737</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432306129.2</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305707.84</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_themes_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_themes_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..3b9e2600653f176292e08742e6288543b95bf7b2 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_themes_html.xml @@ -0,0 +1,403 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_themes.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_themes_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html> \n + <head>\n + <title>Header</title>\n + <meta charset="utf-8">\n + <meta name="viewport" content="width=device-width, initial-scale=1">\n +\n + <link rel="stylesheet" href="normalize.css">\n + <link href=\'//fonts.googleapis.com/css?family=Open+Sans:700,400,300\' rel=\'stylesheet\' type=\'text/css\'>\n + <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />\n + <link rel="stylesheet" href="jquerymobile.css">\n + <link rel="stylesheet" href="gadget_erp5.css">\n + <link rel="stylesheet" href="gadget_manifest.css">\n + <link rel="stylesheet" href="gadget_manifest_example_themes.css">\n +\n +\n + </head>\n + <body>\n + \n + <!-- sample -->\n + <div data-role="panel" data-position="left" id="leftpanel" data-display="overlay" class="ui-body-d ui-linear">\n +\n + <div data-role="header">\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right">\n + <div class="ui-controlgroup-controls">\n + <a data-rel="close" class="responsive ui-first-child ui-last-child ui-btn ui-btn-icon-left ui-icon-times">Close</a>\n + </div>\n + </div>\n + <h1>Navigation</h1>\n + </div>\n + </div>\n + \n + <div data-role="panel" data-position="right" id="rightpanel" data-display="overlay" class="ui-body-c ui-linear">\n +\n + <div data-role="header">\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right">\n + <div class="ui-controlgroup-controls">\n + <a data-rel="close" class="responsive ui-first-child ui-last-child ui-btn ui-btn-icon-left ui-icon-times">Close</a>\n + </div>\n + </div>\n + <h1>Search</h1>\n + </div>\n + </div>\n +\n + <article class="ui-content">\n + <section class="ui-content-header-fullwidth ui-body-c">\n + <h3 class="ui-content-title">Palette</h3>\n + <p class="ui-content-subtitle">Color Examples</p>\n + </section>\n + \n + <section class="ui-content-section ui-body-c">\n + <div><span>Main: #0E81C2 <br />Dark: #085078 <br /> Light: #85D8CE <br />Text: #f8fff3</span></div><br />\n + <p class="ui-bar-a">Theme Sample 1 Bar</p>\n + <p class="ui-body-a">Theme Sample 1 Body</p>\n + <p class="ui-body-a ui-linear">Theme Sample 1 Body Linear</p>\n + <p class="ui-body-a ui-radial">Theme Sample 1 Body Radial</p>\n + </section>\n + \n + <section class="ui-content-section ui-body-c">\n + <div><span>Main: #444444 <br />Dark: #25292b <br /> Light: #888888 <br />Text: #ffffff</span></div><br />\n + <p class="ui-bar-d">Theme Sample 2 Bar</p>\n + <p class="ui-body-d">Theme Sample 2 Body</p>\n + <p class="ui-body-d ui-linear">Theme Sample 2 Body Linear</p>\n + <p class="ui-body-d ui-radial">Theme Sample 2 Body Radial</p>\n + </section>\n + </article>\n +\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="URI.js" type="text/javascript"></script>\n + <script src="jquery.js" type="text/javascript"></script>\n + <script src="jquerymobile.js" type="text/javascript"></script>\n + <script src="gadget_manifest_example_themes.js" type="text/javascript"></script>\n + </body>\n +</html> + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Themes</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305678.46</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12433.39825.46643</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305842.71</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305665.37</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_themes_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_themes_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..1512044ad262b87c1618b69b27be4be19965c6a5 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_example_themes_js.xml @@ -0,0 +1,368 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_example_themes.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_example_themes_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>/*global window, rJS, RSVP */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod("render", function () {\n + return this;\n + });\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n +\n +}(window, rJS, RSVP));\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Example Themes JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305646.82</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12432.35723.39270</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305643.04</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432305632.68</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_header_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_header_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..27f42d1c27c48ba02372832d25b41a975d6a0b25 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_header_html.xml @@ -0,0 +1,391 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_header.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_header_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html>\n + <head>\n + <meta http-equiv="Content-type" content="text/html; charset=utf-8" />\n + <meta name="viewport" content="width=device-width, user-scalable=no" />\n + <title>Manifest Header</title>\n +\n + <!-- renderjs -->\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="handlebars.js" type="text/javascript"></script>\n + <script src="gadget_global.js" type="text/javascript"></script>\n +\n + <!-- custom script -->\n + <script src="gadget_erp5_header.js" type="text/javascript"></script>\n +\n + <script id="header-title-link-template" type="text/x-handlebars-template"><a data-i18n="{{title}}" class="ui-btn ui-btn-icon-left ui-icon-arrow-down" href="{{url}}">{{title}}</a></script>\n + <script id="header-title-template" type="text/x-handlebars-template"><span data-i18n="{{title}}">{{title}}</span></script>\n +\n + <script id="header-link-template" type="text/x-handlebars-template">\n + <a role="button" data-i18n="{{title}}" href="{{url}}" class="responsive ui-btn ui-icon-{{icon}} ui-btn-icon-left ui-first-child ui-last-child {{class}}">{{title}}</a>\n + </script>\n +\n + <script id="header-button-template" type="text/x-handlebars-template">\n + <form><button name=\'{{name}}\' data-i18n="{{title}}" type=\'submit\' class=\'responsive ui-btn ui-icon-{{icon}} ui-btn-icon-left ui-first-child ui-last-child {{class}}\'>{{title}}</button></form>\n + </script>\n +\n + <script id="sub-header-template" type="text/x-handlebars-template">\n + {{#each sub_header_list}}\n + <li class="ui-block-{{block}}"><a href="{{url}}" data-i18n="{{title}}" class="ui-btn ui-btn-icon-top ui-icon-{{icon}} {{class}}">{{title}}</a></li>\n + {{/each}}\n + </script>\n +\n + </head>\n + <body>\n +\n + <div data-role="header" data-theme="a" class="ui-header ui-bar-a" data-position="fixed" data-tap-toggle="false">\n +\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-left">\n + <div class="ui-controlgroup-controls">\n + <a href="#leftpanel" class="responsive ui-btn ui-icon-bars ui-btn-icon-left ui-first-child">Menu</a>\n + </div>\n + </div>\n + \n + <h1 class="ui-title"></h1>\n +\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right">\n + <div class="ui-controlgroup-controls">\n + <a role="button" href="#" class="responsive ui-btn ui-icon-home ui-btn-icon-left ui-last-child">Home</a>\n + </div>\n + </div>\n +\n + <div class="ui-navbar ui-subheader ui-grid-container ui-body-a" role="navigation">\n +\t\t\t<ul class="ui-grid-d">\n +\t\t\t</ul>\n +\t\t</div>\n +\n + </div>\n +\n + </body>\n +</html>\n +\n + + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Header</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432223367.21</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.11066.53976.45397</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432223713.82</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432220656.0</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_header_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_header_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..568ee804a63219837c4f1da1535ecb6235fa5d71 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_header_js.xml @@ -0,0 +1,667 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_header.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_header_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +/*global window, rJS, Handlebars, document, loopEventListener, RSVP */\n +(function (window, rJS, Handlebars, document, loopEventListener, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // Handlebars\n + /////////////////////////////////////////////////////////////////\n + // Precompile the templates while loading the first gadget instance\n + var gadget_klass = rJS(window),\n +\n + header_title_source = gadget_klass.__template_element\n + .getElementById("header-title-template")\n + .innerHTML,\n + header_title_template = Handlebars.compile(header_title_source),\n +\n + header_title_link_source = gadget_klass.__template_element\n + .getElementById("header-title-link-template")\n + .innerHTML,\n + header_title_link_template = Handlebars.compile(header_title_link_source),\n +\n + sub_header_source = gadget_klass.__template_element\n + .getElementById("sub-header-template")\n + .innerHTML,\n + sub_header_template = Handlebars.compile(sub_header_source),\n +\n + header_button_source = gadget_klass.__template_element\n + .getElementById("header-button-template")\n + .innerHTML,\n + header_button_template = Handlebars.compile(header_button_source),\n + header_link_source = gadget_klass.__template_element\n + .getElementById("header-link-template")\n + .innerHTML,\n + header_link_template = Handlebars.compile(header_link_source);\n +\n + gadget_klass\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n + // Init local properties\n + .ready(function (g) {\n + g.props = {};\n + g.stats = {\n + loaded: false,\n + modified: false,\n + submitted: true,\n + error: false,\n + options: {}\n + };\n + })\n +\n + // Assign the element to a variable\n + .ready(function (g) {\n + return g.getElement()\n + .push(function (element) {\n + g.props.element = element;\n + g.props.sub_header_element = element.querySelector(".ui-subheader");\n + g.props.sub_header_ul = g.props.sub_header_element.querySelector("ul");\n + g.props.left_link = element.querySelector(".ui-btn-left > div");\n + g.props.right_link = element.querySelector(".ui-btn-right > div");\n + g.props.title_element = element.querySelector("h1");\n + });\n + })\n +\n + .ready(function (g) {\n + return g.render(g.stats.options);\n + })\n +\n + //////////////////////////////////////////////\n + // acquired methods\n + //////////////////////////////////////////////\n + .declareAcquiredMethod("translateHtml", "translateHtml")\n + .declareAcquiredMethod("whoWantToDisplayThis", "whoWantToDisplayThis")\n + .declareAcquiredMethod("triggerSubmit", "triggerSubmit")\n + .declareAcquiredMethod("triggerPanel", "triggerPanel")\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod(\'notifyError\', function () {\n + this.stats.loaded = true;\n + this.stats.submitted = true;\n + this.stats.error = true;\n + var gadget = this;\n + return this.render(this.stats.options)\n + .push(function () {\n + gadget.stats.error = false;\n + });\n + })\n + .declareMethod(\'notifyUpdate\', function () {\n + return this.render(this.stats.options);\n + })\n + .declareMethod(\'notifyLoading\', function () {\n + if (this.stats.loaded) {\n + this.stats.loaded = false;\n + return this.render(this.stats.options);\n + }\n + })\n + .declareMethod(\'notifyLoaded\', function () {\n + if (!this.stats.loaded) {\n + this.stats.loaded = true;\n + return this.render(this.stats.options);\n + }\n + })\n + .declareMethod(\'notifyChange\', function () {\n + if (!this.stats.modified) {\n + this.stats.modified = true;\n + return this.render(this.stats.options);\n + }\n + })\n + .declareMethod(\'notifySubmitting\', function () {\n + if (this.stats.submitted) {\n + this.stats.submitted = false;\n + return this.render(this.stats.options);\n + }\n + })\n + .declareMethod(\'notifySubmitted\', function () {\n + if (!this.stats.submitted) {\n + this.stats.submitted = true;\n + // Change modify here, to allow user to redo some modification and being correctly notified\n + this.stats.modified = false;\n + return this.render(this.stats.options);\n + }\n + })\n + .declareMethod(\'render\', function (options) {\n + var gadget = this,\n + possible_left_link_list = [\n + // [\'menu_url\', \'Menu\', \'bars\'],\n + [\'selection_url\', \'Back\', \'arrow-left\'],\n + [\'view_url\', \'View\', \'check\'],\n + [\'cancel_url\', \'Cancel\', \'times\'],\n + [\'back_url\', \'Back\', \'arrow-left\']\n + ],\n + possible_left_button_list = [\n + [\'panel_action\', \'Menu\', \'bars\', \'panel\']\n + ],\n + possible_right_link_list = [\n + [\'edit_url\', \'Edit\', \'pencil\']\n + ],\n + possible_right_button_list = [\n + [\'save_action\', \'Save\', \'check\', \'submit\'],\n + [\'submit_action\', \'Proceed\', \'check\', \'submit\']\n + ],\n + possible_sub_header_list = [\n + [\'tab_url\', \'Tabs\', \'eye\'],\n + [\'jump_url\', \'Jump\', \'plane\'],\n + [\'delete_url\', \'Delete\', \'times\'],\n + [\'export_url\', \'Export\', \'share-square-o\'],\n + [\'actions_url\', \'Actions\', \'cogs\'],\n + [\'cut_url\', \'Cut\', \'scissors\'],\n + [\'add_url\', \'Add\', \'plus\'],\n + [\'previous_url\', \'Previous\', \'carat-l\'],\n + [\'next_url\', \'Next\', \'carat-r\']\n + ],\n + i,\n + klass,\n + count = 0,\n + //left_link = {\n + // title: "Menu",\n + // icon: "bars",\n + // url: "#leftpanel",\n + // class: "ui-disabled"\n + // },\n + left_link,\n + left_button,\n + right_link,\n + right_button,\n + default_right_text,\n + default_right_icon = "",\n + title_link = {},\n + sub_header_list = [],\n + alphabet = "abcdefghijklmnopqrstuvwxyz",\n + promise_list = [];\n +\n + gadget.stats.options = options;\n + // Handle main title\n + if (options.hasOwnProperty("page_title")) {\n + title_link.title = options.page_title;\n + // Updating globally the page title. Does not follow RenderJS philosophy, but, it is enough for now\n + document.title = title_link.title;\n + }\n + if (options.hasOwnProperty("breadcrumb_url")) {\n + title_link.url = options.breadcrumb_url;\n + promise_list.push(gadget.translateHtml(header_title_link_template(title_link)));\n + } else {\n + promise_list.push(gadget.translateHtml(header_title_template(title_link)));\n + }\n +\n + // Handle left link\n + for (i = 0; i < possible_left_link_list.length; i += 1) {\n + if (options.hasOwnProperty(possible_left_link_list[i][0])) {\n + klass = "";\n + if (!options[possible_left_link_list[i][0]]) {\n + klass = "ui-disabled";\n + }\n + left_link = {\n + title: possible_left_link_list[i][1],\n + icon: possible_left_link_list[i][2],\n + url: options[possible_left_link_list[i][0]],\n + class: klass\n + };\n + }\n + }\n + for (i = 0; i < possible_left_button_list.length; i += 1) {\n + if (options.hasOwnProperty(possible_left_button_list[i][0])) {\n + left_button = {\n + title: possible_left_button_list[i][1],\n + icon: possible_left_button_list[i][2],\n + name: possible_left_button_list[i][3]\n + };\n + }\n + }\n + if (left_button !== undefined) {\n + promise_list.push(gadget.translateHtml(header_button_template(left_button)));\n + } else if (left_link === undefined) {\n + promise_list.push(gadget.translateHtml(""));\n + } else {\n + promise_list.push(gadget.translateHtml(header_link_template(left_link)));\n + }\n +\n + // Handle right link\n + if (gadget.stats.error) {\n + default_right_icon = "exclamation";\n + } else if (!gadget.stats.loaded) {\n + default_right_icon = "spinner";\n + // Show default loading information\n + right_link = {\n + title: "Loading",\n + icon: default_right_icon,\n + url: "",\n + class: "ui-disabled ui-icon-spin"\n + };\n + } else if (!gadget.stats.submitted) {\n + default_right_icon = "spinner";\n + } else if (gadget.stats.modified) {\n + default_right_text = "Save";\n + default_right_icon = "warning";\n + }\n + for (i = 0; i < possible_right_link_list.length; i += 1) {\n + if (options.hasOwnProperty(possible_right_link_list[i][0])) {\n + klass = "";\n + if (!options[possible_right_link_list[i][0]]) {\n + klass = "ui-disabled";\n + }\n + right_link = {\n + title: possible_right_link_list[i][1],\n + icon: default_right_icon || possible_right_link_list[i][2],\n + url: options[possible_right_link_list[i][0]],\n + class: klass\n + };\n + }\n + }\n + for (i = 0; i < possible_right_button_list.length; i += 1) {\n + if (options.hasOwnProperty(possible_right_button_list[i][0])) {\n + right_button = {\n + title: default_right_text || possible_right_button_list[i][1],\n + icon: default_right_icon || possible_right_button_list[i][2],\n + name: possible_right_button_list[i][3]\n + };\n + if (gadget.stats.error) {\n + right_button.class = "ui-disabled";\n + }\n + }\n + }\n + if (right_button !== undefined) {\n + promise_list.push(gadget.translateHtml(header_button_template(right_button)));\n + } else if (right_link !== undefined) {\n + promise_list.push(gadget.translateHtml(header_link_template(right_link)));\n + } else {\n + promise_list.push(gadget.translateHtml(""));\n + }\n +\n + // Handle sub header\n + for (i = 0; i < possible_sub_header_list.length; i += 1) {\n + if (options.hasOwnProperty(possible_sub_header_list[i][0])) {\n + klass = "";\n + if (!options[possible_sub_header_list[i][0]]) {\n + klass = "ui-disabled";\n + }\n + sub_header_list.push({\n + title: possible_sub_header_list[i][1],\n + icon: possible_sub_header_list[i][2],\n + url: options[possible_sub_header_list[i][0]],\n + class: klass,\n + block: alphabet.charAt(count)\n + });\n + count += 1;\n + }\n + }\n +\n + if (sub_header_list.length !== 0) {\n + sub_header_list[0].class += " ui-first-child";\n + sub_header_list[sub_header_list.length - 1].class += " ui-last-child";\n + }\n + // gadget.props.sub_header_ul.textContent = JSON.stringify(options);\n + //gadget.props.sub_header_ul.innerHTML = sub_header_template({\n + // sub_header_list: sub_header_list\n + //});\n +\n + promise_list.push(gadget.translateHtml(sub_header_template({\n + sub_header_list: sub_header_list\n + })));\n +\n + return new RSVP.Queue()\n + .push(function () {\n + return RSVP.all(promise_list);\n + })\n + .push(function (my_translated_html_list) {\n + gadget.props.title_element.innerHTML = my_translated_html_list[0];\n + gadget.props.left_link.innerHTML = my_translated_html_list[1];\n + gadget.props.right_link.innerHTML = my_translated_html_list[2];\n + gadget.props.sub_header_ul.innerHTML = my_translated_html_list[3];\n + });\n + })\n +\n + //////////////////////////////////////////////\n + // handle button click\n + //////////////////////////////////////////////\n + .declareService(function () {\n + var form_gadget = this;\n +\n + function formSubmit(evt) {\n + var button = evt.target[0],\n + name = button.getAttribute("name");\n + if (name === "panel") {\n + return form_gadget.triggerPanel();\n + }\n + if (name === "submit") {\n + return form_gadget.triggerSubmit();\n + }\n + throw new Error("Unsupported button " + name);\n + }\n +\n + // Listen to form submit\n + return loopEventListener(\n + form_gadget.props.element,\n + \'submit\',\n + false,\n + formSubmit\n + );\n + });\n +\n +}(window, rJS, Handlebars, document, loopEventListener, RSVP)); + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Header JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432220907.97</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.11020.10144.28108</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432220900.26</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432220889.27</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..c65e6ca4920e43aac3c39b24d3f3dae08a2f36b4 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_html.xml @@ -0,0 +1,391 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Starting Point</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html manifest="gadget_erp5.appcache">\n + <head>\n + <meta charset="utf-8">\n + <meta name="viewport" content="width=device-width, initial-scale=1">\n + <title>${application_title}</title>\n + <link rel="shortcut icon" href="favicon.ico">\n +\n + <link href=\'//fonts.googleapis.com/css?family=Open+Sans:700,400,300\' rel=\'stylesheet\' type=\'text/css\'>\n + <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />\n + <link rel="stylesheet" href="jquerymobile.css">\n + <link rel="stylesheet" href="gadget_erp5.css">\n + <link rel="stylesheet" href="gadget_manifest.css">\n +\n + <script data-renderjs-configuration="application_title" type="text/x-renderjs-configuration">${application_title}</script>\n + <script data-renderjs-configuration="frontpage_gadget" type="text/x-renderjs-configuration">${frontpage_gadget}</script>\n + <script data-renderjs-configuration="panel_gadget" type="text/x-renderjs-configuration">${panel_gadget}</script>\n + <script data-renderjs-configuration="action_view" type="text/x-renderjs-configuration">${action_view}</script>\n + <script data-renderjs-configuration="default_view_reference" type="text/x-renderjs-configuration">${default_view_reference}</script>\n + <script data-renderjs-configuration="hateoas_url" type="text/x-renderjs-configuration">${hateoas_url}</script>\n +\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="URI.js" type="text/javascript"></script>\n + <script src="jquery.js" type="text/javascript"></script>\n + <script src="jquerymobile.js" type="text/javascript"></script>\n + <script src="gadget_global.js" type="text/javascript"></script>\n + <script src="gadget_manifest.js" type="text/javascript"></script>\n +\n + </head>\n + <body>\n +\n + <div data-gadget-url="${panel_gadget}"\n + data-gadget-scope="panel"\n + data-gadget-sandbox="public"></div>\n + \n + <div data-gadget-url="gadget_manifest_header.html"\n + data-gadget-scope="header"\n + data-gadget-sandbox="public"></div>\n + \n + <article></article>\n + \n + <section class="custom-footer ui-bar-d">\n + <div class="ui-grid-a ui-responsive">\n + <div class="ui-block-a">\n + <p class="custom-fineprint">© 2014 Nexedi SA. All Rights Reserved.</p>\n + </div>\n + <div class="ui-block-b">\n + <div class="ui-controlgroup ui-controlgroup-horizontal">\n + <div class="ui-controlgroup-controls">\n + <a href="#" class="ui-btn ui-icon-facebook ui-btn-icon-notext ui-first-child">Facebook</a>\n + <a href="#" class="ui-btn ui-icon-twitter ui-btn-icon-notext">Twitter</a>\n + <a href="#" class="ui-btn ui-icon-github ui-btn-icon-notext ui-last-child">Github</a>\n + </div>\n + </div>\n + </div>\n + </div>\n + </section>\n + \n + </body>\n +</html> + +]]></string> </value> + </item> + <item> + <key> <string>text_content_substitution_mapping_method_id</string> </key> + <value> <string>WebPage_getRenderJSSubstitutionMappingDict</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>RenderJS Gadget Manifest</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432218119.67</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12330.95.14165</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432299837.35</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432218098.15</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..4727f93152a9fa314fb120fe25437e6ab58d843c --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_js.xml @@ -0,0 +1,763 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +/*global window, document, rJS, RSVP, jQuery, console, jQuery, XMLHttpRequest, loopEventListener, URI, location */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, document, rJS, RSVP, $, XMLHttpRequest, console, loopEventListener, location) {\n + "use strict";\n +\n + var DEFAULT_VIEW_REFERENCE = "view";\n +\n + /////////////////////////////////////////////////////////////////\n + // Desactivate jQuery Mobile URL management\n + /////////////////////////////////////////////////////////////////\n + $.mobile.ajaxEnabled = false;\n + $.mobile.linkBindingEnabled = false;\n + $.mobile.hashListeningEnabled = false;\n + $.mobile.pushStateEnabled = false;\n +\n + /////////////////////////////////////////////////////////////////\n + // Some functions\n + /////////////////////////////////////////////////////////////////\n + function renderPage(gadget, page_name, options) {\n + return gadget.declareGadget(page_name, {\n + scope: "pg"\n + })\n + .push(function (page_gadget) {\n + var sub_options = options.pg || {},\n + key;\n + delete options.pg;\n + for (key in options) {\n + if (options.hasOwnProperty(key)) {\n + sub_options[key] = options[key];\n + }\n + }\n + return RSVP.all([\n + page_gadget,\n + page_gadget.render(sub_options)\n + ]);\n + })\n + .push(function (all_result) {\n + return all_result[0];\n + });\n + }\n +\n + function displayErrorContent(gadget, error) {\n + // Do not break the application in case of errors.\n + // Display it to the user for now, and allow user to go back to the frontpage\n + var error_text = "";\n + if ((error.target !== undefined) && (error.target.status === 401)) {\n + // Redirect to the login view\n + return gadget.aq_pleasePublishMyState({page: "login"})\n + .push(gadget.pleaseRedirectMyHash.bind(gadget));\n + }\n + if (error instanceof RSVP.CancellationError) {\n + return;\n + }\n +\n + if (error instanceof XMLHttpRequest) {\n + error_text = error.toString() + " " +\n + error.status + " " +\n + error.statusText;\n + } else if (error instanceof Error) {\n + error_text = error.toString();\n + } else {\n + error_text = JSON.stringify(error);\n + }\n +\n + console.error(error);\n + console.error(error.stack);\n + // XXX Improve error rendering\n + gadget.props.article.innerHTML = "<br/><br/><br/><pre></pre>";\n + gadget.props.article.querySelector(\'pre\').textContent = "Error: " + error_text;\n + }\n +\n + function displayError(gadget, error) {\n + return gadget.getDeclaredGadget("header")\n + .push(function (g) {\n + return g.notifyError();\n + })\n + .push(function () {\n + return displayErrorContent(gadget, error);\n + })\n + .push(function () {\n + return gadget.dropGadget("pg")\n + .push(undefined, function () {\n + // Do not crash the app if the pg gadget in not defined\n + // ie, keep the original error on screen\n + return;\n + });\n + });\n + }\n +\n + /////////////////////////////////////////////////////////////////\n + // Gadget behaviour\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n + // Init local properties\n + .ready(function (g) {\n + g.props = {\n + translation_lookup: ""\n + };\n +// return g.getDeclaredGadget("breadcrumb")\n +// .push(function (sub_gadget) {\n +// g.props.breadcrumb_gadget = sub_gadget;\n +// });\n + })\n +\n + .ready(function (g) {\n + return g.getElement()\n + .push(function (element) {\n + g.props.element = element;\n + g.props.article = element.querySelector("article");\n +\n + // XXX Will work only if top gadget...\n + var element_list = document.querySelectorAll("[data-renderjs-configuration]"),\n + len = element_list.length,\n + key,\n + value,\n + i;\n +\n + for (i = 0; i < len; i += 1) {\n + key = element_list[i].getAttribute(\'data-renderjs-configuration\');\n + value = element_list[i].textContent;\n + if (value !== "") {\n + g.props[key] = value;\n + }\n + }\n + });\n + })\n +\n + /////////////////////////////////////////////////////////////////\n + // handle acquisition\n + /////////////////////////////////////////////////////////////////\n + .declareAcquiredMethod("pleaseRedirectMyHash", "pleaseRedirectMyHash")\n +\n + // bridge translation gadget\n + .allowPublicAcquisition("getTranslationMethod", function () {\n + var root = (new URI(this.props.hateoas_url)).absoluteTo(location.href).toString();\n + return root + this.props.translation_lookup;\n + })\n + .allowPublicAcquisition("changeLanguage", function (param_list) {\n + if (this.setLanguage) {\n + return this.getDeclaredGadget("translate")\n + .push(function (translation_gadget) {\n + return translation_gadget.changeLanguage.apply(\n + translation_gadget,\n + param_list\n + );\n + });\n + }\n + })\n + .allowPublicAcquisition("getLanguageList", function (param_list) {\n + if (this.setLanguage) {\n + return this.getDeclaredGadget("translate")\n + .push(function (translation_gadget) {\n + return translation_gadget.getLanguageList.apply(\n + translation_gadget,\n + param_list\n + );\n + });\n + }\n + return JSON.stringify([]);\n + })\n + .allowPublicAcquisition("translateHtml", function (param_list) {\n + if (this.setLanguage) {\n + return this.getDeclaredGadget("translate")\n + .push(function (translation_gadget) {\n + return translation_gadget.translateHtml.apply(\n + translation_gadget,\n + param_list\n + );\n + });\n + }\n + return param_list;\n + })\n +\n + .allowPublicAcquisition("whoWantToDisplayThis", function (param_list) {\n + // Hey, I want to display some URL\n + var options = {\n + jio_key: param_list[0],\n + view: DEFAULT_VIEW_REFERENCE\n + };\n + if (param_list[1] !== undefined) {\n + if (param_list[1].editable !== undefined) {\n + options.editable = param_list[1].editable;\n + }\n + }\n + return this.aq_pleasePublishMyState(options);\n + })\n + .allowPublicAcquisition("whoWantToDisplayThisPage", function (param_list) {\n + // Hey, I want to display some URL\n + var options = {\n + jio_key: this.state_parameter_dict.jio_key,\n + view: param_list[0].name || DEFAULT_VIEW_REFERENCE\n + };\n + if (param_list[0].editable !== undefined) {\n + options.editable = param_list[0].editable;\n + }\n + if (param_list[0].page !== undefined) {\n + options.page = param_list[0].page;\n + }\n + return this.aq_pleasePublishMyState(options);\n + })\n + .allowPublicAcquisition("whoWantToDisplayThisFrontPage", function (param_list) {\n + // Hey, I want to display some URL\n + var options = {\n + page: param_list[0]\n + };\n + return this.aq_pleasePublishMyState(options);\n + })\n +\n + .allowPublicAcquisition("renderPageHeader", function (param_list) {\n + // XXX Sven hack: number of _url determine padding for subheader on ui-content \n + function hasSubNavigation(my_param_dict) {\n + var i,\n + count = 0;\n + for (i in my_param_dict) {\n + if (my_param_dict.hasOwnProperty(i) && i.indexOf("_url") > -1) {\n + count += 1;\n + }\n + }\n + return count;\n + }\n +\n + if (hasSubNavigation(param_list[0]) > 2) {\n + this.props.sub_header_class = "ui-has-subheader";\n + }\n + this.props.header_argument_list = param_list;\n + })\n +\n + .allowPublicAcquisition(\'reportServiceError\', function (param_list, gadget_scope) {\n + if (gadget_scope === undefined) {\n + // don\'t fail in case of dropped subgadget (like previous page)\n + // only accept errors from header, panel and displayed page\n + return;\n + }\n + return displayError(this, param_list[0]);\n + })\n + // XXX translate: while header calls render on ready, this is needed to\n + // update the header once translations are available\n + .allowPublicAcquisition(\'notifyUpdate\', function () {\n + return this.getDeclaredGadget("header")\n + .push(function (header_gadget) {\n + return header_gadget.notifyUpdate();\n + });\n + })\n + .allowPublicAcquisition(\'notifySubmitting\', function () {\n + return this.getDeclaredGadget("header")\n + .push(function (header_gadget) {\n + return header_gadget.notifySubmitting();\n + });\n + })\n +\n + .allowPublicAcquisition(\'notifySubmitted\', function () {\n + return this.getDeclaredGadget("header")\n + .push(function (header_gadget) {\n + return header_gadget.notifySubmitted();\n + });\n + })\n + .allowPublicAcquisition(\'notifyChange\', function () {\n + return this.getDeclaredGadget("header")\n + .push(function (header_gadget) {\n + return header_gadget.notifyChange();\n + });\n + })\n + .allowPublicAcquisition(\'triggerSubmit\', function () {\n + return this.getDeclaredGadget("pg")\n + .push(function (page_gadget) {\n + return page_gadget.triggerSubmit();\n + });\n + })\n + .allowPublicAcquisition(\'triggerPanel\', function () {\n + return this.getDeclaredGadget("panel")\n + .push(function (panel_gadget) {\n + return panel_gadget.toggle();\n + });\n + })\n + .allowPublicAcquisition(\'getSiteRoot\', function () {\n + return this.getSiteRoot();\n + })\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n +\n + // XXX translate: called before ready(), so props is not available.\n + // Needed to lookup to retrieve HAL to fetch site module/runner languages \n + .declareMethod(\'getSiteRoot\', function () {\n + return (new URI(this.props.hateoas_url)).absoluteTo(location.href).toString();\n + })\n +\n + // Render the page\n + .declareMethod(\'configure\', function (options) {\n + var gadget = this,\n + elements,\n + div,\n + key;\n + for (key in options) {\n + if (options.hasOwnProperty(key)) {\n + if (key === "translation_lookup") {\n + gadget.setLanguage = true;\n + }\n + gadget.props[key] = options[key];\n + }\n + }\n + if (gadget.setLanguage) {\n + elements = gadget.props.element;\n + div = document.createElement("div");\n + elements.appendChild(div);\n + return new RSVP.Queue()\n + .push(function () {\n + return gadget.declareGadget("gadget_translate.html",\n + {scope: "translate"});\n + })\n + .push(function () {\n + return gadget.dropGadget("panel");\n + })\n + .push(function () {\n + return gadget.declareGadget(gadget.props.panel_gadget,\n + {scope: "panel",\n + element: div});\n + })\n + .push(function () {\n + return createJio(gadget);\n + });\n + }\n + })\n +\n + // Render the page\n + .declareMethod(\'render\', function (options) {\n + var gadget = this,\n + header_gadget,\n + panel_gadget,\n + main_gadget;\n +\n + gadget.props.options = options;\n + return new RSVP.Queue()\n + .push(function () {\n + return RSVP.all([\n + gadget.getDeclaredGadget("header"),\n + gadget.getDeclaredGadget("panel")\n + ]);\n + })\n + .push(function (my_gadget_list) {\n + header_gadget = my_gadget_list[0];\n + panel_gadget = my_gadget_list[1];\n + return RSVP.all([\n + panel_gadget.render({}),\n + header_gadget.notifyLoading()\n + ]);\n + })\n + .push(function () {\n + // By default, init the header options to be empty (ERP5 title by default + sidebar)\n + gadget.props.header_argument_list = [{\n + panel_action: true,\n + page_title: gadget.props.application_title || "ERP5"\n + }];\n +\n + gadget.state_parameter_dict = {\n + jio_key: options.jio_key,\n + view: options.view\n + };\n +\n + if ((options.jio_key !== undefined) && (options.page === undefined)) {\n + options.page = "form";\n + options.view = options.view || DEFAULT_VIEW_REFERENCE;\n + }\n + if (options.page === undefined) {\n + // Not rendering a jio document and not page requested.\n + // URL is probably empty: redirect to the frontpage\n + // Check if a custom frontpage is defined\n + if (!gadget.props.frontpage_gadget) {\n + return gadget.aq_pleasePublishMyState({page: \'front\'})\n + .push(gadget.pleaseRedirectMyHash.bind(gadget));\n + }\n + return renderPage(gadget, gadget.props.frontpage_gadget, options);\n + }\n +\n + return renderPage(gadget, "gadget_manifest_page_" + options.page + ".html", options);\n + })\n +\n + .push(function (result) {\n + main_gadget = result;\n +\n + return header_gadget.render.apply(header_gadget, gadget.props.header_argument_list);\n + })\n + .push(function () {\n + // Append loaded gadget in the page\n + if (main_gadget !== undefined) {\n + return main_gadget.getElement()\n + .push(function (fragment) {\n + var element = gadget.props.article,\n + content_container = document.createElement("div");\n + content_container.className = "ui-content " + (gadget.props.sub_header_class || "");\n + // reset subheader indicator\n + delete gadget.props.sub_header_class;\n +\n + // go to the top of the page\n + window.scrollTo(0, 0);\n +\n + // Clear first to DOM, append after to reduce flickering/manip\n + while (element.firstChild) {\n + element.removeChild(element.firstChild);\n + }\n + content_container.appendChild(fragment);\n + element.appendChild(content_container);\n +\n + $(element).trigger("create");\n + return header_gadget.notifyLoaded();\n + });\n + }\n + })\n +\n + .push(undefined, function (error) {\n + return displayError(gadget, error);\n + });\n + })\n +\n + .declareService(function () {\n + ////////////////////////////////////\n + // Form submit listening. Prevent browser to automatically handle the form submit in case of a bug\n + ////////////////////////////////////\n + var gadget = this;\n +\n + function catchFormSubmit() {\n + return displayError(new Error("Unexpected form submit"));\n + }\n +\n + // Listen to form submit\n + return loopEventListener(\n + gadget.props.element,\n + \'submit\',\n + false,\n + catchFormSubmit\n + );\n + });\n +\n +}(window, document, rJS, RSVP, jQuery, XMLHttpRequest, console, loopEventListener, location)); + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>RenderJS Gadget Manifest JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432218773.4</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12076.52922.48384</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432284452.69</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432218766.19</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_normalize_css.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_normalize_css.xml new file mode 100644 index 0000000000000000000000000000000000000000..c09991b4b2cfb45049b2f25ad6a424c108de5cdf --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_normalize_css.xml @@ -0,0 +1,752 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Style" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>normalize.css</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_normalize_css</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Style</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +/*! normalize.css v3.0.1 | MIT License | git.io/normalize */\n +\n +/**\n + * 1. Set default font family to sans-serif.\n + * 2. Prevent iOS text size adjust after orientation change, without disabling\n + * user zoom.\n + */\n +\n +html {\n + font-family: sans-serif; /* 1 */\n + -ms-text-size-adjust: 100%; /* 2 */\n + -webkit-text-size-adjust: 100%; /* 2 */\n +}\n +\n +/**\n + * Remove default margin.\n + */\n +\n +body {\n + margin: 0;\n +}\n +\n +/* HTML5 display definitions\n + ========================================================================== */\n +\n +/**\n + * Correct `block` display not defined for any HTML5 element in IE 8/9.\n + * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.\n + * Correct `block` display not defined for `main` in IE 11.\n + */\n +\n +article,\n +aside,\n +details,\n +figcaption,\n +figure,\n +footer,\n +header,\n +hgroup,\n +main,\n +nav,\n +section,\n +summary {\n + display: block;\n +}\n +\n +/**\n + * 1. Correct `inline-block` display not defined in IE 8/9.\n + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.\n + */\n +\n +audio,\n +canvas,\n +progress,\n +video {\n + display: inline-block; /* 1 */\n + vertical-align: baseline; /* 2 */\n +}\n +\n +/**\n + * Prevent modern browsers from displaying `audio` without controls.\n + * Remove excess height in iOS 5 devices.\n + */\n +\n +audio:not([controls]) {\n + display: none;\n + height: 0;\n +}\n +\n +/**\n + * Address `[hidden]` styling not present in IE 8/9/10.\n + * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.\n + */\n +\n +[hidden],\n +template {\n + display: none;\n +}\n +\n +/* Links\n + ========================================================================== */\n +\n +/**\n + * Remove the gray background color from active links in IE 10.\n + */\n +\n +a {\n + background: transparent;\n +}\n +\n +/**\n + * Improve readability when focused and also mouse hovered in all browsers.\n + */\n +\n +a:active,\n +a:hover {\n + outline: 0;\n +}\n +\n +/* Text-level semantics\n + ========================================================================== */\n +\n +/**\n + * Address styling not present in IE 8/9/10/11, Safari, and Chrome.\n + */\n +\n +abbr[title] {\n + border-bottom: 1px dotted;\n +}\n +\n +/**\n + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.\n + */\n +\n +b,\n +strong {\n + font-weight: bold;\n +}\n +\n +/**\n + * Address styling not present in Safari and Chrome.\n + */\n +\n +dfn {\n + font-style: italic;\n +}\n +\n +/**\n + * Address variable `h1` font-size and margin within `section` and `article`\n + * contexts in Firefox 4+, Safari, and Chrome.\n + */\n +\n +h1 {\n + font-size: 2em;\n + margin: 0.67em 0;\n +}\n +\n +/**\n + * Address styling not present in IE 8/9.\n + */\n +\n +mark {\n + background: #ff0;\n + color: #000;\n +}\n +\n +/**\n + * Address inconsistent and variable font size in all browsers.\n + */\n +\n +small {\n + font-size: 80%;\n +}\n +\n +/**\n + * Prevent `sub` and `sup` affecting `line-height` in all browsers.\n + */\n +\n +sub,\n +sup {\n + font-size: 75%;\n + line-height: 0;\n + position: relative;\n + vertical-align: baseline;\n +}\n +\n +sup {\n + top: -0.5em;\n +}\n +\n +sub {\n + bottom: -0.25em;\n +}\n +\n +/* Embedded content\n + ========================================================================== */\n +\n +/**\n + * Remove border when inside `a` element in IE 8/9/10.\n + */\n +\n +img {\n + border: 0;\n +}\n +\n +/**\n + * Correct overflow not hidden in IE 9/10/11.\n + */\n +\n +svg:not(:root) {\n + overflow: hidden;\n +}\n +\n +/* Grouping content\n + ========================================================================== */\n +\n +/**\n + * Address margin not present in IE 8/9 and Safari.\n + */\n +\n +figure {\n + margin: 1em 40px;\n +}\n +\n +/**\n + * Address differences between Firefox and other browsers.\n + */\n +\n +hr {\n + -moz-box-sizing: content-box;\n + -webkit-box-sizing: content-box;\n + box-sizing: content-box;\n + height: 0;\n +}\n +\n +/**\n + * Contain overflow in all browsers.\n + */\n +\n +pre {\n + overflow: auto;\n +}\n +\n +/**\n + * Address odd `em`-unit font size rendering in all browsers.\n + */\n +\n +code,\n +kbd,\n +pre,\n +samp {\n + font-family: monospace, monospace;\n + font-size: 1em;\n +}\n +\n +/* Forms\n + ========================================================================== */\n +\n +/**\n + * Known limitation: by default, Chrome and Safari on OS X allow very limited\n + * styling of `select`, unless a `border` property is set.\n + */\n +\n +/**\n + * 1. Correct color not being inherited.\n + * Known issue: affects color of disabled elements.\n + * 2. Correct font properties not being inherited.\n + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.\n + */\n +\n +button,\n +input,\n +optgroup,\n +select,\n +textarea {\n + color: inherit; /* 1 */\n + font: inherit; /* 2 */\n + margin: 0; /* 3 */\n +}\n +\n +/**\n + * Address `overflow` set to `hidden` in IE 8/9/10/11.\n + */\n +\n +button {\n + overflow: visible;\n +}\n +\n +/**\n + * Address inconsistent `text-transform` inheritance for `button` and `select`.\n + * All other form control elements do not inherit `text-transform` values.\n + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.\n + * Correct `select` style inheritance in Firefox.\n + */\n +\n +button,\n +select {\n + text-transform: none;\n +}\n +\n +/**\n + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\n + * and `video` controls.\n + * 2. Correct inability to style clickable `input` types in iOS.\n + * 3. Improve usability and consistency of cursor style between image-type\n + * `input` and others.\n + */\n +\n +button,\n +html input[type="button"], /* 1 */\n +input[type="reset"],\n +input[type="submit"] {\n + -webkit-appearance: button; /* 2 */\n + cursor: pointer; /* 3 */\n +}\n +\n +/**\n + * Re-set default cursor for disabled elements.\n + */\n +\n +button[disabled],\n +html input[disabled] {\n + cursor: default;\n +}\n +\n +/**\n + * Remove inner padding and border in Firefox 4+.\n + */\n +\n +button::-moz-focus-inner,\n +input::-moz-focus-inner {\n + border: 0;\n + padding: 0;\n +}\n +\n +/**\n + * Address Firefox 4+ setting `line-height` on `input` using `!important` in\n + * the UA stylesheet.\n + */\n +\n +input {\n + line-height: normal;\n +}\n +\n +/**\n + * It\'s recommended that you don\'t attempt to style these elements.\n + * Firefox\'s implementation doesn\'t respect box-sizing, padding, or width.\n + *\n + * 1. Address box sizing set to `content-box` in IE 8/9/10.\n + * 2. Remove excess padding in IE 8/9/10.\n + */\n +\n +input[type="checkbox"],\n +input[type="radio"] {\n + box-sizing: border-box; /* 1 */\n + padding: 0; /* 2 */\n +}\n +\n +/**\n + * Fix the cursor style for Chrome\'s increment/decrement buttons. For certain\n + * `font-size` values of the `input`, it causes the cursor style of the\n + * decrement button to change from `default` to `text`.\n + */\n +\n +input[type="number"]::-webkit-inner-spin-button,\n +input[type="number"]::-webkit-outer-spin-button {\n + height: auto;\n +}\n +\n +/**\n + * 1. Address `appearance` set to `searchfield` in Safari and Chrome.\n + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome\n + * (include `-moz` to future-proof).\n + */\n +\n +input[type="search"] {\n + -webkit-appearance: textfield; /* 1 */\n + -moz-box-sizing: content-box;\n + -webkit-box-sizing: content-box; /* 2 */\n + box-sizing: content-box;\n +}\n +\n +/**\n + * Remove inner padding and search cancel button in Safari and Chrome on OS X.\n + * Safari (but not Chrome) clips the cancel button when the search input has\n + * padding (and `textfield` appearance).\n + */\n +\n +input[type="search"]::-webkit-search-cancel-button,\n +input[type="search"]::-webkit-search-decoration {\n + -webkit-appearance: none;\n +}\n +\n +/**\n + * Define consistent border, margin, and padding.\n + */\n +\n +fieldset {\n + border: 1px solid #c0c0c0;\n + margin: 0 2px;\n + padding: 0.35em 0.625em 0.75em;\n +}\n +\n +/**\n + * 1. Correct `color` not being inherited in IE 8/9/10/11.\n + * 2. Remove padding so people aren\'t caught out if they zero out fieldsets.\n + */\n +\n +legend {\n + border: 0; /* 1 */\n + padding: 0; /* 2 */\n +}\n +\n +/**\n + * Remove default vertical scrollbar in IE 8/9/10/11.\n + */\n +\n +textarea {\n + overflow: auto;\n +}\n +\n +/**\n + * Don\'t inherit the `font-weight` (applied by a rule above).\n + * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.\n + */\n +\n +optgroup {\n + font-weight: bold;\n +}\n +\n +/* Tables\n + ========================================================================== */\n +\n +/**\n + * Remove most spacing between table cells.\n + */\n +\n +table {\n + border-collapse: collapse;\n + border-spacing: 0;\n +}\n +\n +td,\n +th {\n + padding: 0;\n +} + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Normalize CSS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432299545.32</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12330.47335.7953</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432299532.62</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432299513.7</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_normalize_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_normalize_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..a023d5c29e6b51e19004e6d4da15e7ae49540b23 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_normalize_js.xml @@ -0,0 +1,750 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>normalize.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_normalize_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +/*! normalize.css v3.0.1 | MIT License | git.io/normalize */\n +\n +/**\n + * 1. Set default font family to sans-serif.\n + * 2. Prevent iOS text size adjust after orientation change, without disabling\n + * user zoom.\n + */\n +\n +html {\n + font-family: sans-serif; /* 1 */\n + -ms-text-size-adjust: 100%; /* 2 */\n + -webkit-text-size-adjust: 100%; /* 2 */\n +}\n +\n +/**\n + * Remove default margin.\n + */\n +\n +body {\n + margin: 0;\n +}\n +\n +/* HTML5 display definitions\n + ========================================================================== */\n +\n +/**\n + * Correct `block` display not defined for any HTML5 element in IE 8/9.\n + * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.\n + * Correct `block` display not defined for `main` in IE 11.\n + */\n +\n +article,\n +aside,\n +details,\n +figcaption,\n +figure,\n +footer,\n +header,\n +hgroup,\n +main,\n +nav,\n +section,\n +summary {\n + display: block;\n +}\n +\n +/**\n + * 1. Correct `inline-block` display not defined in IE 8/9.\n + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.\n + */\n +\n +audio,\n +canvas,\n +progress,\n +video {\n + display: inline-block; /* 1 */\n + vertical-align: baseline; /* 2 */\n +}\n +\n +/**\n + * Prevent modern browsers from displaying `audio` without controls.\n + * Remove excess height in iOS 5 devices.\n + */\n +\n +audio:not([controls]) {\n + display: none;\n + height: 0;\n +}\n +\n +/**\n + * Address `[hidden]` styling not present in IE 8/9/10.\n + * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.\n + */\n +\n +[hidden],\n +template {\n + display: none;\n +}\n +\n +/* Links\n + ========================================================================== */\n +\n +/**\n + * Remove the gray background color from active links in IE 10.\n + */\n +\n +a {\n + background: transparent;\n +}\n +\n +/**\n + * Improve readability when focused and also mouse hovered in all browsers.\n + */\n +\n +a:active,\n +a:hover {\n + outline: 0;\n +}\n +\n +/* Text-level semantics\n + ========================================================================== */\n +\n +/**\n + * Address styling not present in IE 8/9/10/11, Safari, and Chrome.\n + */\n +\n +abbr[title] {\n + border-bottom: 1px dotted;\n +}\n +\n +/**\n + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.\n + */\n +\n +b,\n +strong {\n + font-weight: bold;\n +}\n +\n +/**\n + * Address styling not present in Safari and Chrome.\n + */\n +\n +dfn {\n + font-style: italic;\n +}\n +\n +/**\n + * Address variable `h1` font-size and margin within `section` and `article`\n + * contexts in Firefox 4+, Safari, and Chrome.\n + */\n +\n +h1 {\n + font-size: 2em;\n + margin: 0.67em 0;\n +}\n +\n +/**\n + * Address styling not present in IE 8/9.\n + */\n +\n +mark {\n + background: #ff0;\n + color: #000;\n +}\n +\n +/**\n + * Address inconsistent and variable font size in all browsers.\n + */\n +\n +small {\n + font-size: 80%;\n +}\n +\n +/**\n + * Prevent `sub` and `sup` affecting `line-height` in all browsers.\n + */\n +\n +sub,\n +sup {\n + font-size: 75%;\n + line-height: 0;\n + position: relative;\n + vertical-align: baseline;\n +}\n +\n +sup {\n + top: -0.5em;\n +}\n +\n +sub {\n + bottom: -0.25em;\n +}\n +\n +/* Embedded content\n + ========================================================================== */\n +\n +/**\n + * Remove border when inside `a` element in IE 8/9/10.\n + */\n +\n +img {\n + border: 0;\n +}\n +\n +/**\n + * Correct overflow not hidden in IE 9/10/11.\n + */\n +\n +svg:not(:root) {\n + overflow: hidden;\n +}\n +\n +/* Grouping content\n + ========================================================================== */\n +\n +/**\n + * Address margin not present in IE 8/9 and Safari.\n + */\n +\n +figure {\n + margin: 1em 40px;\n +}\n +\n +/**\n + * Address differences between Firefox and other browsers.\n + */\n +\n +hr {\n + -moz-box-sizing: content-box;\n + -webkit-box-sizing: content-box;\n + box-sizing: content-box;\n + height: 0;\n +}\n +\n +/**\n + * Contain overflow in all browsers.\n + */\n +\n +pre {\n + overflow: auto;\n +}\n +\n +/**\n + * Address odd `em`-unit font size rendering in all browsers.\n + */\n +\n +code,\n +kbd,\n +pre,\n +samp {\n + font-family: monospace, monospace;\n + font-size: 1em;\n +}\n +\n +/* Forms\n + ========================================================================== */\n +\n +/**\n + * Known limitation: by default, Chrome and Safari on OS X allow very limited\n + * styling of `select`, unless a `border` property is set.\n + */\n +\n +/**\n + * 1. Correct color not being inherited.\n + * Known issue: affects color of disabled elements.\n + * 2. Correct font properties not being inherited.\n + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.\n + */\n +\n +button,\n +input,\n +optgroup,\n +select,\n +textarea {\n + color: inherit; /* 1 */\n + font: inherit; /* 2 */\n + margin: 0; /* 3 */\n +}\n +\n +/**\n + * Address `overflow` set to `hidden` in IE 8/9/10/11.\n + */\n +\n +button {\n + overflow: visible;\n +}\n +\n +/**\n + * Address inconsistent `text-transform` inheritance for `button` and `select`.\n + * All other form control elements do not inherit `text-transform` values.\n + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.\n + * Correct `select` style inheritance in Firefox.\n + */\n +\n +button,\n +select {\n + text-transform: none;\n +}\n +\n +/**\n + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\n + * and `video` controls.\n + * 2. Correct inability to style clickable `input` types in iOS.\n + * 3. Improve usability and consistency of cursor style between image-type\n + * `input` and others.\n + */\n +\n +button,\n +html input[type="button"], /* 1 */\n +input[type="reset"],\n +input[type="submit"] {\n + -webkit-appearance: button; /* 2 */\n + cursor: pointer; /* 3 */\n +}\n +\n +/**\n + * Re-set default cursor for disabled elements.\n + */\n +\n +button[disabled],\n +html input[disabled] {\n + cursor: default;\n +}\n +\n +/**\n + * Remove inner padding and border in Firefox 4+.\n + */\n +\n +button::-moz-focus-inner,\n +input::-moz-focus-inner {\n + border: 0;\n + padding: 0;\n +}\n +\n +/**\n + * Address Firefox 4+ setting `line-height` on `input` using `!important` in\n + * the UA stylesheet.\n + */\n +\n +input {\n + line-height: normal;\n +}\n +\n +/**\n + * It\'s recommended that you don\'t attempt to style these elements.\n + * Firefox\'s implementation doesn\'t respect box-sizing, padding, or width.\n + *\n + * 1. Address box sizing set to `content-box` in IE 8/9/10.\n + * 2. Remove excess padding in IE 8/9/10.\n + */\n +\n +input[type="checkbox"],\n +input[type="radio"] {\n + box-sizing: border-box; /* 1 */\n + padding: 0; /* 2 */\n +}\n +\n +/**\n + * Fix the cursor style for Chrome\'s increment/decrement buttons. For certain\n + * `font-size` values of the `input`, it causes the cursor style of the\n + * decrement button to change from `default` to `text`.\n + */\n +\n +input[type="number"]::-webkit-inner-spin-button,\n +input[type="number"]::-webkit-outer-spin-button {\n + height: auto;\n +}\n +\n +/**\n + * 1. Address `appearance` set to `searchfield` in Safari and Chrome.\n + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome\n + * (include `-moz` to future-proof).\n + */\n +\n +input[type="search"] {\n + -webkit-appearance: textfield; /* 1 */\n + -moz-box-sizing: content-box;\n + -webkit-box-sizing: content-box; /* 2 */\n + box-sizing: content-box;\n +}\n +\n +/**\n + * Remove inner padding and search cancel button in Safari and Chrome on OS X.\n + * Safari (but not Chrome) clips the cancel button when the search input has\n + * padding (and `textfield` appearance).\n + */\n +\n +input[type="search"]::-webkit-search-cancel-button,\n +input[type="search"]::-webkit-search-decoration {\n + -webkit-appearance: none;\n +}\n +\n +/**\n + * Define consistent border, margin, and padding.\n + */\n +\n +fieldset {\n + border: 1px solid #c0c0c0;\n + margin: 0 2px;\n + padding: 0.35em 0.625em 0.75em;\n +}\n +\n +/**\n + * 1. Correct `color` not being inherited in IE 8/9/10/11.\n + * 2. Remove padding so people aren\'t caught out if they zero out fieldsets.\n + */\n +\n +legend {\n + border: 0; /* 1 */\n + padding: 0; /* 2 */\n +}\n +\n +/**\n + * Remove default vertical scrollbar in IE 8/9/10/11.\n + */\n +\n +textarea {\n + overflow: auto;\n +}\n +\n +/**\n + * Don\'t inherit the `font-weight` (applied by a rule above).\n + * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.\n + */\n +\n +optgroup {\n + font-weight: bold;\n +}\n +\n +/* Tables\n + ========================================================================== */\n +\n +/**\n + * Remove most spacing between table cells.\n + */\n +\n +table {\n + border-collapse: collapse;\n + border-spacing: 0;\n +}\n +\n +td,\n +th {\n + padding: 0;\n +} + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>normalize.js</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>1.3.0</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432299435.37</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12328.64211.25600</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432299424.66</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432299386.58</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_commandments_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_commandments_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..1871e1e5d91a74fbc6d8972c362f99afde6bbf00 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_commandments_html.xml @@ -0,0 +1,536 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_page_commandments.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_page_commandments_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html>\n + <head>\n + <meta charset="utf-8" />\n + <meta name="viewport" content="width=device-width, user-scalable=no" />\n + <title>Web Manifest Components Gadget</title>\n +\n + <!-- renderjs -->\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n +\n + <!-- custom script -->\n + <script src="gadget_manifest_page_commandments.js" type="text/javascript"></script>\n +\n + </head>\n + <body>\n + \n + <section class="ui-body-a ui-linear ui-content-header-section">\n + <h1 class="ui-content-title">Commandments</h1>\n + <p class="ui-content-subtitle">Opinionated Guidelines for Developing Web Applications.</p>\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-content-menu">\n + <div class="ui-controlgroup-controls">\n + <a href="#" class="ui-btn ui-btn-icon-notext ui-body-inherit ui-icon-envelope ui-icon-custom ui-first-child">Email</a>\n + <a href="#" class="ui-btn ui-btn-icon-notext ui-body-inherit ui-icon-cloud-download ui-icon-custom ui-last-child">Download</a>\n + </div>\n + </div>\n + </section>\n +\n + <section class="ui-body-c ui-content-section">\n + <section>\n + <div class="custom-icongrid ui-grid-c">\n + <div class="ui-block-a align-center"><i class="xl ui-icon-mobile-phone"></i></div>\n + <div class="ui-block-b align-center"><i class="xl fade ui-icon-tablet"></i></div>\n + <div class="ui-block-c align-center"><i class="xl fade ui-icon-laptop"></i></div>\n + <div class="ui-block-d align-center"><i class="xl fade ui-icon-desktop"></i></div>\n + </div>\n + <h4 class="custom-manifest-subtitle align-center">1. Smallest Size First</h4>\n + <p class="m align-center">\n + - Applications should support multiple devices (smartphone, tablet,\n + desktop, ...) but be designed for smallest size first -\n + </p>\n + </section>\n + \n + <hr class="custom-hr" />\n + \n + <section>\n + <div class="custom-icongrid ui-grid-a">\n + <div class="ui-block-a align-center"><i class="xl ui-icon-file-o"></i></div>\n + <div class="ui-block-b align-center"><i class="xl fade ui-icon-copy"></i></div>\n + </div>\n + <h4 class="custom-manifest-subtitle align-center">2. Single Codebase</h4>\n + <p class="m align-center">\n + - A single codebase should tailor to all devices/platforms -\n + </p>\n + </section>\n + \n + <hr class="custom-hr" />\n + \n + <section>\n + <div class="custom-icongrid ui-grid-a">\n + <div class="ui-block-a align-center"><i class="xl ui-icon-paw"></i></div>\n + <div class="ui-block-b align-center"><i class="xl fade ui-icon-keyboard-o"></i></div>\n + </div>\n + <h4 class="custom-manifest-subtitle align-center">3. Interaction over Typing</h4>\n + <p class="m align-center">\n + - The smaller the device the more cumbersome typing is.\n + Enforce interactions vs requiring users to type -\n + </p>\n + </section>\n + \n + <hr class="custom-hr" />\n + \n + <section>\n + <div class="custom-icongrid ui-grid-a">\n + <div class="ui-block-a align-center"><i class="xl ui-icon-group"></i></div>\n + <div class="ui-block-b align-center"><i class="xl fade ui-icon-cogs"></i></div>\n + </div>\n + <h4 class="custom-manifest-subtitle align-center">4. Usability over Functionality</h4>\n + <p class="m align-center">\n + - Ease of use dictatetes application design, not functionalities\n + provided -\n + </p>\n + </section>\n + \n + <hr class="custom-hr" />\n + \n + <section>\n + <div class="custom-icongrid ui-grid-a">\n + <div class="ui-block-a align-center"><i class="xl ui-icon-signal ui-icon-flip-horizontal"></i></div>\n + <div class="ui-block-b align-center"><i class="xl ui-icon-align-justify fade ui-icon-rotate-90"></i></div>\n + </div>\n + <h4 class="custom-manifest-subtitle align-center">5. Embrace Path of Least Interaction</h4>\n + <p class="m align-center">\n + - The less interactions are necessary to complete an action, the better -\n + </p>\n + </section>\n + \n + <hr class="custom-hr" />\n + \n + <section>\n + <div class="custom-icongrid ui-grid-a">\n + <div class="ui-block-a align-center"><i class="xl ui-icon-rotate-right"></i></div>\n + <div class="ui-block-b align-center"><i class="xl fade ui-icon-random"></i></div>\n + </div>\n + <h4 class="custom-manifest-subtitle align-center">6. Embrace Interaction Flow</h4>\n + <p class="m align-center">\n + - Interaction elements are positioned within the "flow" of\n + application usage (eg. form save after form) -\n + </p>\n + </section>\n + \n + <hr class="custom-hr" />\n + \n + <section>\n + <div class="custom-icongrid ui-grid-a">\n + <div class="ui-block-a align-center"><i class="xl ui-icon-file-picture-o"></i></div>\n + <div class="ui-block-b align-center"><i class="xl ui-icon-file-o fade"></i></div>\n + </div>\n + <h4 class="custom-manifest-subtitle align-center">7. Key Interactions Visible without Scrolling</h4>\n + <p class="m align-center">\n + - The key interactions of a page are accessible without the user\n + having to scroll -\n + </p>\n + </section>\n + \n + <hr class="custom-hr" />\n + \n + <section>\n + <div class="custom-icongrid ui-grid-a">\n + <div class="ui-block-a align-center"><i class="xl ui-icon-file-picture-o turq"></i></div>\n + <div class="ui-block-b align-center"><i class="xl fade ui-icon-file-picture-o"></i></div>\n + </div>\n + <h4 class="custom-manifest-subtitle align-center">8. Highlight Key Interaction</h4>\n + <p class="m align-center">\n + - The key interaction is highlighted for ease of navigation -\n + </p>\n + </section>\n + \n + <hr class="custom-hr" />\n + \n + <section>\n + <div class="custom-icongrid ui-grid-a">\n + <div class="ui-block-a align-center"><i class="xl ui-icon-cog fa-spin"></i></div>\n + <div class="ui-block-b align-center"><i class="xl ui-icon-cogs fade"></i></div>\n + </div>\n + <h4 class="custom-manifest-subtitle align-center">9. Animate Only If Possible</h4>\n + <p class="m align-center">\n + - Use animations only if they work. Partially working animations ruin look & feel!! -\n + </p>\n + </section>\n + \n + <hr class="custom-hr" />\n + \n + <section>\n + <div class="custom-icongrid ui-grid-c">\n + <div class="ui-block-a align-center"><i class="xl ui-icon-file-picture-o"></i></div>\n + <div class="ui-block-b align-center"><i class="xl ui-icon-file-picture-o fade"></i></div>\n + <div class="ui-block-c align-center"><i class="xl ui-icon-file-picture-o turq"></i></div>\n + <div class="ui-block-d align-center"><i class="xl ui-icon-file-picture-o orange"></i></div>\n + </div>\n + <h4 class="custom-manifest-subtitle align-center">10. Four Themes: Light + Dark + Color + Active</h4>\n + <p class="m align-center">\n + - Each theme with a main and light color (total eight colors) -\n + </p>\n + </section>\n + \n + <hr class="custom-hr" />\n + \n + <section>\n + <div class="custom-icongrid ui-grid-c">\n + <div class="ui-block-a align-center"><i class="xl ui-icon-font middle"></i></div>\n + <div class="ui-block-b align-center"><i class="l ui-icon-font middle"></i></div>\n + <div class="ui-block-c align-center"><i class="m ui-icon-font middle"></i></div>\n + <div class="ui-block-d align-center"><i class="s ui-icon-font middle"></i></div>\n + </div>\n + <h4 class="custom-manifest-subtitle align-center">11. One Font, Four Sizes, Two Weights</h4>\n + <p class="m align-center">\n + - Applications use a single font in up to four sizes and two weights - \n + </p>\n + </section>\n + \n + <hr class="custom-hr" />\n + \n + <section>\n + <div class="custom-icongrid align-center"><i class="xl ui-icon-bolt"></i></div>\n + <h4 class="custom-manifest-subtitle align-center">12. Max Two breakpoints per device</h4>\n + <p class="m align-center">\n + - One or two breakpoints per device (smartphone, tablet, desktop, ...)\n + must suffice -\n + </p>\n + </section>\n + \n + <hr class="custom-hr" />\n + \n + <section>\n + <div class="custom-icongrid align-center"><i class="xl ui-icon-flag"></i></div>\n + <h4 class="custom-manifest-subtitle align-center">13. Flat Single Color Icons</h4>\n + <p class="m align-center">\n + - Iconsets must be single color, flat icons -\n + </p>\n + </section>\n + </section>\n + \n + </body>\n +</html>\n +\n + \n + + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Page Commandments</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215143.75</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12078.49620.20838</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432299749.39</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432214947.61</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_commandments_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_commandments_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..a29df20841685211bd8ca5c1919971e8a845e0f7 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_commandments_js.xml @@ -0,0 +1,371 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_page_commandments.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_page_commandments_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>/*global window, rJS, RSVP */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n + .ready(function (my_gadget) {\n + my_gadget.property_dict = {};\n + })\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod("render", function () {\n + return this;\n + });\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n +\n +}(window, rJS, RSVP));\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Page Commandments JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215180.21</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.10942.9101.29832</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432284023.91</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215149.93</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_components_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_components_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..0cb41e8f2c2656ec116c2984a47ab20ed055d970 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_components_html.xml @@ -0,0 +1,723 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_page_components.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_page_components_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html>\n + <head>\n + <meta charset="utf-8" />\n + <meta name="viewport" content="width=device-width, user-scalable=no" />\n + <title>Web Manifest Frontpage Gadget</title>\n +\n + <!-- renderjs -->\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n +\n + <!-- custom script -->\n + <script src="gadget_manifest_page_components.js" type="text/javascript"></script>\n +\n + </head>\n + <body>\n + \n + <section class="ui-body-a ui-content-header-fullwidth ui-grid-container custom-position-fullwidth-header">\n + <ul>\n + <li>\n + <h1 class="ui-content-title">Components</h1>\n + <p class="ui-content-subtitle">A Set of Basic Layout Principles and Examples.</p>\n + </li>\n + <li>\n + <!--\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-content-menu ui-li-aside">\n + <div class="ui-controlgroup-controls">\n + <a href="#" class="ui-btn ui-btn-icon-notext ui-icon-facebook ui-first-child ui-last-child">Facebook</a>\n + </div>\n + </div>\n + -->\n + </li>\n + </ul>\n + </section>\n + \n + <section class="ui-content-header-plain">\n + <h3 class="ui-content-title ui-body-c">\n + <span class="ui-icon ui-icon-custom ui-icon-file-o"> </span>\n + Page Structure\n + </h3>\n + </section>\n +\n + <section class="ui-body-c ui-content-section ui-grid-container ui-responsive">\n + <h3 class="ui-content-header-inline">Page Header</h3>\n + <ul>\n + <li>\n + <p>\n + Single page web applications use a fixed header and content section. Fixed\n + footers should be avoided due to performance issues (flickering, blocking, repositioning).\n + </p>\n + <p>\n + The header will always consist of a main element (title, image, logo, breadcrumb)\n + and optional button menus with a maximum of three buttons. \n + The main element may be placed in the middle with button menus right and\n + left.\n + </p> \n + </li>\n + <li>\n + <form class="jsbin-embed" action="gadget_manifest_example_header.html">\n + <input type="submit" data-icon="desktop" data-inline="true" data-theme="c" data-wrapper-class="custom-iframe-loader" data-iconpos="top" value="Header (Click to load example)" />\n + </form>\n + </li>\n + </ul>\n + <ul>\n + <li>\n + <p>\n + Alternatively the main element (title, image, logo, breadcrumb) is placed on the left with a single\n + button group on the opposite side. Note that buttons should be responsive\n + and change to icon-only on small devices.\n + </p>\n + <p>\n + This layout would allow for a search form inside the header.\n + </p>\n + </li>\n + <li>\n + <form class="jsbin-embed" action="gadget_manifest_example_header_alternative.html">\n + <input type="submit" data-icon="desktop" data-inline="true" data-theme="c" data-wrapper-class="custom-iframe-loader" data-iconpos="top" value="Alternative Header (click to load example)" />\n + </form>\n + </li>\n + </ul>\n + </section>\n + \n + <section class="ui-body-c ui-content-section ui-grid-container ui-responsive">\n + <h3 class="ui-content-header-inline">Page Subheader</h3>\n + <ul>\n + <li>\n + <p>\n + A header can have an subheader with a maximum of five buttons. This\n + fast-access navigation bar should display icons along with text for all\n + screen resolutions.\n + </p>\n + </li>\n + <li>\n + <form class="jsbin-embed" action="gadget_manifest_example_subheader.html">\n + <input type="submit" data-icon="desktop" data-inline="true" data-theme="c" data-wrapper-class="custom-iframe-loader" data-iconpos="top" value="Navbar (click to load example)" />\n + </form>\n + </li>\n + </ul>\n + </section>\n + \n + <section class="ui-body-c ui-content-section ui-grid-container ui-responsive">\n + <h3 class="ui-content-header-inline">Panels</h3>\n + <ul>\n + <li>\n + <p>\n + Panels can be used from either side. A left hand panel should always\n + provide links to key sections of the application (navigation) as well\n + as pages, that are used not frequently enough to warrant putting them\n + within direct reach (for example logout, settings menus).\n + </p>\n + <p>\n + On the other hand, a right hand panel should aid the user in performing\n + tasks, like filling out a form or selecting search/filtering criteria.\n + </p>\n + <p>\n + Panels should differentiate in color and contain a usage specific \n + header to indicate their purpos. The panel header should always\n + include a close button to hide the panel.\n + </p>\n + </li>\n + <li>\n + <form class="jsbin-embed" action="gadget_manifest_example_header_panel.html">\n + <input type="submit" data-icon="desktop" data-inline="true" data-theme="c" data-wrapper-class="custom-iframe-loader" data-iconpos="top" value="Panel (click to load example)" />\n + </form>\n + </li>\n + </ul>\n + </section>\n + \n + <section class="ui-content-header-plain">\n + <h3 class="ui-content-title ui-body-c">\n + <span class="ui-icon ui-icon-custom ui-icon-file-text-o"> </span>\n + Content Structure\n + </h3>\n + </section>\n + \n + <section class="ui-body-c ui-content-section ui-grid-container ui-responsive">\n + <h3 class="ui-content-header-inline">Headers/Content</h3>\n + <ul>\n + <li>\n + <p>\n + Content sections may contain four types of headers:\n + <ul>\n + <li>\n + <p>\n + A <b>fullwidth header</b> (immideately following and contrasting the page header) containing\n + title and optional subtitle and vis-a-vis content menu.\n + </p>\n + </li>\n + <li>\n + <p>\n + A <b>section header</b> - an introductory element containing title plus optional\n + subtitle and content menu. The section header should use one of the\n + gradient backgrounds or a background image.\n + </p>\n + </li>\n + <li>\n + <p>\n + A <b>plain header</b> made of an icon and title on plain background which\n + can be used repeatedly throughout a content section for highlighting and\n + structuring the layout.\n + </p>\n + </li>\n + <li>\n + <p>\n + A <b>inline header</b> used inside a content section containing\n + just a title. \n + </p>\n + </li>\n + </ul>\n + </p>\n + <p>\n + Page content itself is set in content-sections, which adapt to \n + the respective header used (fullwidth, section, plain).\n + </p>\n + </li>\n + <li>\n + <form class="jsbin-embed" action="gadget_manifest_example_content.html">\n + <input type="submit" data-icon="desktop" data-inline="true" data-theme="c" data-wrapper-class="custom-iframe-loader" data-iconpos="top" value="Panel (click to load example)" />\n + </form>\n + </li>\n + </ul>\n + </section>\n + \n + <section class="ui-content-header-plain">\n + <h3 class="ui-content-title ui-body-c">\n + <span class="ui-icon ui-icon-custom ui-icon-pencil"> </span>\n + Layout\n + </h3>\n + </section>\n +\n + <section class="ui-body-c ui-content-section ui-grid-container ui-responsive">\n + <h3 class="ui-content-header-inline">Grid</h3>\n + <ul>\n + <li>\n + <p>\n + Content should always be structured in a grid that expands from\n + single to multi columns with growing screen size. The grid can\n + be used within a section element or as a standalone grid.\n + </p>\n + </li>\n + <li>\n + <form class="jsbin-embed" action="gadget_manifest_example_grid.html">\n + <input type="submit" data-icon="desktop" data-inline="true" data-theme="c" data-wrapper-class="custom-iframe-loader" data-iconpos="top" value="Grid (click to load example)" />\n + </form>\n + </li>\n + </ul>\n + </section>\n + \n + <section class="ui-content-header-plain">\n + <h3 class="ui-content-title ui-body-c">\n + <span class="ui-icon ui-icon-custom ui-icon-picture-o"> </span>\n + Themes\n + </h3>\n + </section>\n + \n + <section class="ui-body-c ui-content-section ui-grid-container ui-responsive">\n + <h3 class="ui-content-header-inline">Palette</h3>\n + <ul>\n + <li>\n + <p>\n + A theme should consist of four colors (dark, medium, light hue and text color).\n + For most web applications, a colored, constrasting/accent, dark and light theme\n + should be sufficient.\n + </p>\n + <p>\n + Themes should provide two solid tones with one also available as\n + linear and/or radial gradient.\n + </p>\n + </li>\n + <li>\n + <form class="jsbin-embed" action="gadget_manifest_example_themes.html">\n + <input type="submit" data-icon="desktop" data-inline="true" data-theme="c" data-wrapper-class="custom-iframe-loader" data-iconpos="top" value="Themes (click to load example)" />\n + </form>\n + </li>\n + </ul>\n + </section>\n + \n + <section class="ui-content-header-plain">\n + <h3 class="ui-content-title ui-body-c">\n + <span class="ui-icon ui-icon-custom ui-icon-table"> </span>\n + Tables\n + </h3>\n + </section>\n + \n + <section class="ui-body-c ui-content-section ui-grid-container ui-responsive">\n + <h3 class="ui-content-header-inline">Basic Table</h3>\n + <ul>\n + <li>\n + <p>\n + Display tabular data on large displays should be column based while\n + smartphone should display a list with each table row becoming a\n + list element. This avoids having to deal with column priorities\n + and heavy DOM manipulations.\n + </p>\n + <p>\n + Tables should provide an associated toolbar as well as controls\n + for pagination and filter/sorting of tabular data.\n + </p>\n + </li>\n + </ul>\n + <ul>\n + <li>\n + <form class="jsbin-embed" action="gadget_manifest_example_tables.html">\n + <input type="submit" data-icon="desktop" data-inline="true" data-theme="c" data-wrapper-class="custom-iframe-loader" data-iconpos="top" value="Table (click to load example)" />\n + </form>\n + </li>\n + </ul>\n + </section>\n + \n + <section class="ui-body-c ui-content-section ui-grid-container ui-responsive">\n + <h3 class="ui-content-header-inline">Filter/Sorting/Pagination</h3>\n + <ul>\n + <li>\n + <p>\n + Similar to list controls a table should include controls to paginate,\n + filter, search and sort data.\n + </p>\n + <p>\n + Pagination should only be used on large screen sizes switching to\n + endless scroll loading of new records.\n + </p>\n + </li>\n + <li>\n + <p>\n + Search, Filter and Sorting should share syntax and UI components. Filters\n + are advanced search queries, which can be constructed and saved through\n + a filter menu (not pictured). Alternatively the syntax can be entered\n + directly into the search field along with plain (fulltext) searches.\n + </p>\n + <p>\n + All active criteria should be visible as tags either directly on the page or\n + in the respective menu (filtermenu > show active/existing filters, \n + sorting > show active/existing sorting criteria). Tags are editable by clicking on them.\n + This will load the underlying query into the search field. By default\n + all tags can be deleted. Filters entered directly into the search\n + input can be saved.\n + </p>\n + </li>\n + </ul>\n + <ul>\n + <li>\n + <form class="jsbin-embed" action="gadget_manifest_example_tables_extended.html">\n + <input type="submit" data-icon="desktop" data-inline="true" data-theme="c" data-wrapper-class="custom-iframe-loader" data-iconpos="top" value="Table (click to load example)" />\n + </form>\n + </li>\n + </ul>\n + </section>\n + \n + <section class="ui-content-header-plain">\n + <h3 class="ui-content-title ui-body-c">\n + <span class="ui-icon ui-icon-custom ui-icon-list-alt"> </span>\n + Forms\n + </h3>\n + </section>\n + \n + <section class="ui-body-c ui-content-section ui-grid-container ui-responsive">\n + <h3 class="ui-content-header-inline">Form Basics</h3>\n + <ul>\n + <li>\n + <p>\n + Forms are divided into half-screen and full-screen containers. On\n + small screen sizes all containers switch to fullscreen allowing with\n + additional separators to for spacings.\n + </p>\n + <p>\n + Labels are vis-a-vis the respective input when sufficient space is available.\n + On small screens they switch to being positioned above the input field\n + leaving enough space for validation messages. Labels and legends should\n + be distinctive from plain text, either by decreasing font-size, using italic\n + or a different letter-spacing.\n + </p>\n + </li>\n + </ul>\n + <ul>\n + <li>\n + <p>\n + Fields should leave space for a right-hand input button, for example \n + to invoke a date-selector gadget or apply filters to search inputs.\n + </p>\n + <p>\n + It should be differentiated between disabled and readonly fields, \n + the latter for example using transparency in addition to rendering\n + the input inaccessible.\n + </p>\n + </li>\n + </ul>\n + <ul>\n + <li>\n + <form class="jsbin-embed" action="gadget_manifest_example_forms.html">\n + <input type="submit" data-icon="desktop" data-inline="true" data-theme="c" data-wrapper-class="custom-iframe-loader" data-iconpos="top" value="Table (click to load example)" />\n + </form>\n + </li>\n + </ul>\n + </section>\n + \n + <section class="ui-content-header-plain">\n + <h3 class="ui-content-title ui-body-c">\n + <span class="ui-icon ui-icon-custom ui-icon-list"> </span>\n + List Elements\n + </h3>\n + </section>\n + \n + <section class="ui-body-c ui-content-section ui-grid-container ui-responsive">\n + <h3 class="ui-content-header-inline">List Basics</h3>\n + <ul>\n + <li>\n + <p>\n + List items can be used in multiple areas (Grids, Cards, Lists).\n + </p>\n + <p>\n + When working with plain lists, any of the following combinations of\n + content can be used with or without a link:\n + </p>\n + <ul>\n + <li><p>Divider (text only)</p></li>\n + <li><p>Headline only</p></li>\n + <li><p>Headline with subtext</p></li>\n + <li><p>Headline (with subtext) with image</p></li>\n + <li><p>Headline (with subtext) with icon (left)</p></li>\n + <li><p>Headline (with subtext) with custom icon (right)</p></li>\n + <!-- <li><p>Headline (with subtext) side button/radio/checkbox</p></li> -->\n + <li><p>All of the above with bubble counter</p></li>\n + </ul>\n + </p>\n + </li>\n + <li>\n + <form class="jsbin-embed" action="gadget_manifest_example_lists.html">\n + <input type="submit" data-icon="desktop" data-inline="true" data-theme="c" data-wrapper-class="custom-iframe-loader" data-iconpos="top" value="Table (click to load example)" />\n + </form>\n + </li>\n + </ul>\n + </section>\n + \n + </body>\n +</html> + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Page Components</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215567.26</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.12510.50981.29815</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432310704.71</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215546.56</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_components_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_components_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..9c07af66ae8a60dadd51b12f6b19031de29450f3 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_components_js.xml @@ -0,0 +1,582 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_page_components.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_page_components_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +/*global window, rJS, RSVP */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n + .ready(function (my_gadget) {\n + my_gadget.property_dict = {};\n + })\n +\n + .ready(function (my_gadget) {\n + return my_gadget.getElement()\n + .push(function (my_element) {\n + my_gadget.property_dict.element = my_element;\n + });\n + })\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + // thx https://github.com/jsbin/jsbin/blob/master/docs/embedding.md\n + .declareMethod("renderIframe", function (my_form) {\n + var relevant_link_list = [my_form],\n + className = \'\',\n + innerText,\n + i,\n + len;\n +\n + function findCodeInParent(my_element) {\n + var match = my_element;\n + \n + while (match = match.previousSibling) {\n + if (match.nodeName === \'PRE\') {\n + break;\n + }\n + if (match.getElementsByTagName) {\n + match = match.getElementsByTagName(\'pre\');\n + if (match.length) {\n + match = match[0]; // only grabs the first\n + break;\n + }\n + }\n + }\n + \n + if (match) {\n + return match;\n + }\n + \n + match = my_element.parentNode.getElementsByTagName(\'pre\');\n + \n + if (!match.length) {\n + if (my_element.parentNode) {\n + return findCodeInParent(my_element.parentNode);\n + } else {\n + return null;\n + }\n + }\n + \n + return match[0];\n + }\n +\n + function getQuery(my_querystring) {\n + var query = {};\n + \n + var pairs = my_querystring.split(\'&\'),\n + length = pairs.length,\n + keyval = [],\n + i = 0;\n + \n + for (; i < length; i++) {\n + keyval = pairs[i].split(\'=\', 2);\n + try {\n + keyval[0] = decodeURIComponent(keyval[0]); // key\n + keyval[1] = decodeURIComponent(keyval[1]); // value\n + } catch (e) {}\n + \n + if (query[keyval[0]] === undefined) {\n + query[keyval[0]] = keyval[1];\n + } else {\n + query[keyval[0]] += \',\' + keyval[1];\n + }\n + }\n + \n + return query;\n + }\n +\n + function findCode(my_link) {\n + var rel = my_link.rel,\n + query = my_link.search.substring(1),\n + element,\n + code;\n + \n + if (rel && (element = document.getElementById(rel.substring(1)))) {\n + code = element[innerText];\n + } else {\n + // go looking through it\'s parents\n + element = findCodeInParent(my_link);\n + if (element) {\n + code = element[innerText];\n + }\n + }\n + \n + return code;\n + }\n + \n + function detectLanguage(my_code) {\n + var htmlcount = (my_code.split("<").length - 1),\n + csscount = (my_code.split("{").length - 1),\n + jscount = (my_code.split(".").length - 1);\n + \n + if (htmlcount > csscount && htmlcount > jscount) {\n + return \'html\';\n + } else if (csscount > htmlcount && csscount > jscount) {\n + return \'css\';\n + } else {\n + return \'javascript\';\n + }\n + }\n + \n + function scoop(my_link) {\n + var code = findCode(my_link),\n + language = detectLanguage(code),\n + query = my_link.search.substring(1);\n + \n + if (language === \'html\' && code.toLowerCase().indexOf(\'<html\') === -1) {\n + // assume HTML fragment - so try to insert in the %code% position\n + language = \'code\';\n + }\n + \n + if (query.indexOf(language) === -1) {\n + query += \',\' + language + \'=\' + encodeURIComponent(code);\n + } else {\n + query = query.replace(\n + language,\n + language + \'=\' + encodeURIComponent(code)\n + );\n + }\n + \n + my_link.search = \'?\' + query;\n + }\n + \n + function embed(my_link) {\n + var iframe = document.createElement(\'iframe\'),\n + resize = document.createElement(\'div\'),\n + url = my_link.action.replace(/edit/, \'embed\'),\n + query,\n + onmessage;\n +\n + iframe.src = url.split(\'&\')[0];\n + iframe._src = url.split(\'&\')[0]; // support for google slide embed\n + iframe.className = my_link.className; // inherit all classes from link\n + iframe.id = my_link.id; // also inherit, give more style control to user\n + iframe.style.border = \'1px solid #aaa\';\n + \n + //query = getQuery(my_link.search);\n + query = {};\n + iframe.style.width = query.width || \'100%\';\n + iframe.style.minHeight = query.height || \'300px\';\n +\n + if (query.height) {\n + iframe.style.maxHeight = query.height;\n + }\n + my_link.parentNode.replaceChild(iframe, my_link);\n +\n + onmessage = function (event) {\n + event || (event = window.event);\n + // * 1 to coerse to number, and + 2 to compensate for border\n + iframe.style.height = (event.data.height * 1 + 2) + \'px\';\n + };\n + \n + if (window.addEventListener) {\n + window.addEventListener(\'message\', onmessage, false);\n + } else {\n + window.attachEvent(\'onmessage\', onmessage);\n + }\n + }\n + \n + // start\n + if (document.createElement(\'i\').innerText === undefined) {\n + innerText = \'textContent\';\n + } else {\n + innerText = \'innerText\';\n + }\n +\n + for (i = 0, len = relevant_link_list.length; i < len; i += 1) {\n + className = \' \' + relevant_link_list[i].className + \' \';\n + \n + if (className.indexOf(\' jsbin-scoop \') !== -1) {\n + scoop(relevant_link_list[i]);\n + } else if (className.indexOf(\' jsbin-embed \') !== -1) {\n + embed(relevant_link_list[i]);\n + }\n + }\n + \n + return {};\n + })\n +\n + .declareMethod("render", function (option_dict) {\n + return this;\n + })\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n + .declareService(function () {\n + var gadget = this,\n + element = gadget.property_dict.element,\n + form_list = element.querySelectorAll(\'form\'),\n + loop_list = [],\n + i,\n + len;\n +\n + function formSubmit(e) {\n + e.preventDefault();\n + gadget.renderIframe(e.target);\n + return false;\n + }\n +\n + // Listen to form submit\n + for (i = 0, len = form_list.length; i < len; i += 1) {\n + loop_list.push(\n + loopEventListener(form_list[i], \'submit\', false, formSubmit)\n + );\n + }\n + \n + return RSVP.all(loop_list);\n + });\n +\n +}(window, rJS, RSVP));\n + + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Page Components JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215606.07</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.10945.22885.62037</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432216457.85</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215589.04</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_contents_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_contents_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..5b31da889bb3cf6ac34414dec19527f539bee22e --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_contents_html.xml @@ -0,0 +1,413 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_page_contents.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_page_contents_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html>\n + <head>\n + <meta charset="utf-8" />\n + <meta name="viewport" content="width=device-width, user-scalable=no" />\n + <title>Web Manifest Frontpage Gadget</title>\n +\n + <!-- renderjs -->\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n +\n + <!-- custom script -->\n + <script src="gadget_manifest_page_contents.js" type="text/javascript"></script>\n +\n + </head>\n + <body>\n + \n + <section class="ui-body-a ui-linear ui-content-header-section">\n + <h1 class="ui-content-title">Content</h1>\n + <p class="ui-content-subtitle">Guidelines on Typography and Content Creation.</p>\n + </section>\n +\n + <section class="ui-body-c ui-content-section">\n + <h3 class="ui-content-header-inline">Overview</h3>\n + <p>\n + Usability of web applications is not only determined by functionality and UI components\n + but also through the way actual content is displayed. Following is a brief\n + overview of things to keep in mind when presenting content.\n + </p>\n + </section>\n + \n + <section class="ui-content-header-plain">\n + <h3 class="ui-content-title ui-body-c">\n + <span class="ui-icon ui-icon-custom ui-icon-header"> </span>\n + Text Structure\n + </h3>\n + </section>\n + \n + <section class="ui-body-c ui-content-section ui-grid-container ui-responsive">\n + <h3 class="ui-content-header-inline">Usage of Fonts</h3>\n + <p>\n + Not resorting to the default fonts provided by the browser can already \n + make a huge difference. Free webfonts are easily integratable (for example\n + Google WebFonts) and available via CDN.\n + </p>\n + <p>\n + When working with fonts make sure to have the font in all necessary version\n + available (cross-browser support) and try to limit usage to a few types (font-weight 400, 700 (bold))\n + for example. This will keep download size of fonts small.\n + </p>\n + </section>\n + \n + <section class="ui-body-c ui-content-section ui-grid-container ui-responsive">\n + <h3 class="ui-content-header-inline">Text Decoration</h3>\n + <p>\n + There are a number of CSS properties available to modify text content \n + (for example see uppercase/lowercase-ing text or letter-spacing). These\n + can easily be used to differentiate elements which would otherwise maybe\n + be difficult to distinguish (for example label & static input fields).\n + </p>\n + <p>\n + When doing so, it is always good to define a "theme" with certain rules\n + upfront and then implement the defined text decorations throughout the application.\n + </p>\n + </section>\n + \n + <section class="ui-body-c ui-content-section ui-grid-container ui-responsive">\n + <h3 class="ui-content-header-inline">Content Structuring</h3>\n + <p>\n + To keep text readable it should be structured to not overwhelm the user\n + with long passages of text. Adding subheaders and subsections can provide\n + useful information about the section following and aid the user in better\n + comprehending the presented content.\n + </p>\n + <p>\n + Subjective readability is also determined by a host of other factos, such\n + as the number of characters per line, the font-size used or the line-spacing.\n + While there is no defined standard on what is appropriate, numerous online resources\n + point to content characteristics, which foster text readability.\n + </p>\n + </section>\n + \n + </body>\n +</html>\n + + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget manifest Page Contents</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215768.84</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.10947.10542.10786</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432284382.48</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215754.36</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_contents_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_contents_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..df8e1f7c6d2c40cfa86a2ca8e49474f97d0836c8 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_contents_js.xml @@ -0,0 +1,371 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_page_contents.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_page_contents_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>/*global window, rJS, RSVP */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n +\n + rJS(window)\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n + .ready(function (my_gadget) {\n + my_gadget.property_dict = {};\n + })\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n + .declareMethod("render", function () {\n + return this;\n + });\n +\n +}(window, rJS, RSVP));\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Page Contents JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215735.41</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.10950.7336.38690</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432284032.99</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215719.23</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_front_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_front_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..a8cc4fa5eb4965a91c7c4cec7883d9705815090d --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_front_html.xml @@ -0,0 +1,396 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_page_front.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_page_front_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html>\n + <head>\n + <meta charset="utf-8" />\n + <meta name="viewport" content="width=device-width, user-scalable=no" />\n + <title>Web Manifest Components Gadget</title>\n +\n + <!-- renderjs -->\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="handlebars.js" type="text/javascript"></script>\n +\n + <script id="front-full-template" type="text/x-handlebars-template">\n + \n + <section class="ui-body-a ui-radial custom-landing-page ui-content-header-section">\n + <div class="custom-tagline">\n + <h1 class="custom-title ui-content-title">web manifest</h1>\n + <p class="custom-subtitle ui-content-subtitle">Guidelines for Developing Web Applications</p>\n + </div>\n + </section>\n + \n + <!-- sections -->\n + <div class="ui-grid-container ui-responsive">\n + <ul data-role="listview" data-inset="true" class="ui-responsive ui-card-deck custom-deck" data-theme="c">\n + <li class="ui-li-has-icon">\n + <span class="ui-icon-custom ui-icon-book ui-linear ui-body-c"> </span>\n + <h3 class="ui-card-title">Commandments</h3>\n + <p class="ui-card-text">An opinionated List of things to mind when developing Web Applications.</p>\n + <div class="ui-controlgroup ui-controlgroup-horizontal">\n + <div class="ui-controlgroup-controls">\n + <a href="{{url_commandments}}" class="ui-accent ui-btn ui-shadow ui-icon-carat-r ui-btn-icon-right ui-first-child ui-last-child">See the Rules</a>\n + </div>\n + </div>\n + </li>\n + <li class="ui-li-has-icon">\n + <span class="ui-icon-custom ui-icon-puzzle-piece ui-linear ui-body-d"> </span>\n + <h3 class="ui-card-title">Components</h3>\n + <p class="ui-card-text">A set of basic layout Principles And Examples.</p>\n + <div class="ui-controlgroup ui-controlgroup-horizontal">\n + <div class="ui-controlgroup-controls">\n + <a href="{{url_components}}" class="ui-accent ui-btn ui-shadow ui-icon-carat-r ui-btn-icon-right ui-first-child ui-last-child">View the Gallery</a>\n + </div>\n + </div>\n + </li>\n + <li class="ui-li-has-icon">\n + <span class="ui-icon-custom ui-icon-folder ui-linear ui-body-a"> </span>\n + <h3 class="ui-card-title">Content</h3>\n + <p class="ui-card-text">Guidelines on Typography and Content Creation.</p>\n + <div class="ui-controlgroup ui-controlgroup-horizontal">\n + <div class="ui-controlgroup-controls">\n + <a href="{{url_contents}}" class="ui-accent ui-btn ui-shadow ui-icon-carat-r ui-btn-icon-right ui-first-child ui-last-child">Learn More</a>\n + </div>\n + </div>\n + </li>\n + </ul>\n + </div>\n + \n + </script>\n + \n + <!-- custom script -->\n + <script src="gadget_manifest_page_front.js" type="text/javascript"></script>\n +\n + </head>\n + <body>\n +\n + </body>\n +</html>\n + + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Page Front</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432217734.65</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.16554.39822.33075</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432553517.78</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432217720.65</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_front_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_front_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..b0204f42143ddcb4098017214bbc050a123a4ec4 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_front_js.xml @@ -0,0 +1,410 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_page_front.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_page_front_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>/*global window, rJS, RSVP, Handlebars */\n +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +(function (window, rJS, RSVP, Handlebars) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // temlates\n + /////////////////////////////////////////////////////////////////\n + var gadget_klass = rJS(window),\n +\n + front_full_source = gadget_klass.__template_element\n + .getElementById("front-full-template")\n + .innerHTML,\n + front_full_template = Handlebars.compile(front_full_source);\n +\n + /////////////////////////////////////////////////////////////////\n + // api\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // some methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // RJS\n + /////////////////////////////////////////////////////////////////\n + gadget_klass\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n + .ready(function (my_gadget) {\n + my_gadget.property_dict = {};\n + })\n +\n + .ready(function (my_gadget) {\n + return my_gadget.getElement()\n + .push(function (element) {\n + my_gadget.property_dict.element = element;\n + });\n + })\n +\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // acquired methods\n + /////////////////////////////////////////////////////////////////\n + .declareAcquiredMethod("translateHtml", "translateHtml")\n + .declareAcquiredMethod(\n + "whoWantToDisplayThisFrontPage",\n + "whoWantToDisplayThisFrontPage"\n + )\n + /////////////////////////////////////////////////////////////////\n + // published methods\n + /////////////////////////////////////////////////////////////////\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod("render", function () {\n + var gadget = this;\n +\n + return new RSVP.Queue()\n + .push(function () {\n + return RSVP.all([\n + gadget.whoWantToDisplayThisFrontPage("commandments"),\n + gadget.whoWantToDisplayThisFrontPage("contents"),\n + gadget.whoWantToDisplayThisFrontPage("components")\n + ]);\n + })\n + .push(function (result_list) {\n + return gadget.translateHtml(front_full_template({\n + "url_commandments": result_list[0],\n + "url_contents": result_list[1],\n + "url_components": result_list[2]\n + }));\n + })\n + .push(function (my_translated_html) {\n + gadget.property_dict.element.innerHTML = my_translated_html;\n + });\n + });\n +\n + /////////////////////////////////////////////////////////////////\n + // declared service\n + /////////////////////////////////////////////////////////////////\n +\n +}(window, rJS, RSVP, Handlebars));\n +</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Page Front JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432217641.17</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.16560.14081.42120</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432553310.44</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432217625.53</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_panel_html.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_panel_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..5d79d22bb721ffa9882bd6245ea603d2985c41bb --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_panel_html.xml @@ -0,0 +1,396 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_panel.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_panel_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html>\n + <head>\n + <meta http-equiv="Content-type" content="text/html; charset=utf-8" />\n + <meta name="viewport" content="width=device-width, user-scalable=no" />\n + <title>E5G ECrm Custom Panel</title>\n +\n + <!-- renderjs -->\n + <script src="rsvp.js" type="text/javascript"></script>\n + <script src="renderjs.js" type="text/javascript"></script>\n + <script src="gadget_global.js" type="text/javascript"></script>\n + <script src="handlebars.js" type="text/javascript"></script>\n + <script src="jquery.js" type="text/javascript"></script>\n + <script src="jquerymobile.js" type="text/javascript"></script>\n +\n + <script id="panel-full-template" type="text/x-handlebars-template">\n + <div data-role="header">\n + <div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right">\n + <div class="ui-controlgroup-controls">\n + <form action="#" method="post">\n + <input type="submit" data-i18n="[value]Close" data-icon="delete" data-iconpos="notext" value="Close" />\n + </form>\n + </div>\n + </div>\n + <h1>Quicklinks</h1>\n + </div>\n + <div class="ui-content">\n + \n + <ul data-role="listview">\n + <li class="ui-li-divider" data-role="list-divider" role="heading">\n + <h1>Navigation</h1>\n + </li>\n + <li class="ui-li-has-icon">\n + <a href="{{url_commandments}}" class="ui-btn ui-body-inherit ui-btn-icon-right ui-icon-carat-r">\n + <span class="ui-li-icon ui-li-icon-custom ui-icon ui-icon-folder"> </span>\n + <h1>Commandments</h1>\n + <p>Guidelines for developing web apps</p>\n + </a>\n + </li>\n + <li class="ui-li-has-icon">\n + <a href="{{url_components}}" class="ui-btn ui-btn-icon-right ui-body-inherit ui-icon-carat-r">\n + <span class="ui-li-icon ui-li-icon-custom ui-icon ui-icon-puzzle-piece"> </span>\n + <h1>Components</h1>\n + <p>Layout recommendations</p>\n + </a>\n + </li>\n + <li class="ui-li-has-icon">\n + <a href="{{url_contents}}" class="ui-btn ui-btn-icon-right ui-body-inherit ui-icon-carat-r">\n + <span class="ui-li-icon ui-li-icon-custom ui-icon ui-icon-book"> </span>\n + <h1>Content</h1>\n + <p>Typography information</p>\n + </a>\n + </li>\n + </ul>\n + </div>\n + </div>\n + </script>\n +\n + <!-- custom script -->\n + <script src="gadget_manifest_panel.js" type="text/javascript"></script>\n +\n + </head>\n + <body>\n +\n + <div class="jqm-navmenu-panel"></div>\n + \n + </body>\n +</html> + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Panel</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215265.36</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.11068.23920.21248</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432283319.75</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215222.67</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_panel_js.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_panel_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..298be983820c18b3d9e309fa930a29056085e08d --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_panel_js.xml @@ -0,0 +1,447 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_manifest_panel.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_manifest_panel_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +/*jslint nomen: true, indent: 2, maxerr: 3 */\n +/*global window, rJS, Handlebars, jQuery, RSVP, loopEventListener */\n +(function (window, rJS, $, RSVP, Handlebars, loopEventListener) {\n + "use strict";\n +\n + /////////////////////////////////////////////////////////////////\n + // temlates\n + /////////////////////////////////////////////////////////////////\n + var gadget_klass = rJS(window),\n +\n + panel_full_source = gadget_klass.__template_element\n + .getElementById("panel-full-template")\n + .innerHTML,\n + panel_full_template = Handlebars.compile(panel_full_source);\n + \n + gadget_klass\n +\n + /////////////////////////////////////////////////////////////////\n + // ready\n + /////////////////////////////////////////////////////////////////\n + // Init local properties\n + .ready(function (g) {\n + g.props = {};\n + })\n +\n + //////////////////////////////////////////////\n + // acquired method\n + //////////////////////////////////////////////\n + .declareAcquiredMethod("translateHtml", "translateHtml")\n + .declareAcquiredMethod(\n + "whoWantToDisplayThisFrontPage",\n + "whoWantToDisplayThisFrontPage"\n + )\n +\n + // Assign the element to a variable\n + .ready(function (g) {\n + return g.getElement()\n + .push(function (element) {\n + g.props.element = element;\n + g.props.jelement = $(element.querySelector("div.jqm-navmenu-panel"));\n + });\n + })\n +\n + .ready(function (g) {\n + g.props.jelement.panel({\n + display: "overlay",\n + position: "left",\n + theme: "d"\n + // animate: false\n + });\n + })\n +\n + .ready(function (my_gadget) {\n + return new RSVP.Queue()\n + .push(function () {\n + return RSVP.all([\n + my_gadget.whoWantToDisplayThisFrontPage("commandments"),\n + my_gadget.whoWantToDisplayThisFrontPage("contents"),\n + my_gadget.whoWantToDisplayThisFrontPage("components")\n + ]);\n + })\n + .push(function (result_list) {\n + return my_gadget.translateHtml(panel_full_template({\n + "url_commandments": result_list[0],\n + "url_contents": result_list[1],\n + "url_components": result_list[2]\n + }));\n + })\n + .push(function (my_translated_html) {\n + my_gadget.props.jelement.html(my_translated_html);\n + my_gadget.props.jelement.trigger("create");\n + });\n + })\n +\n + /////////////////////////////////////////////////////////////////\n + // declared methods\n + /////////////////////////////////////////////////////////////////\n + .declareMethod(\'toggle\', function () {\n + this.props.jelement.panel("toggle");\n + })\n +\n + .declareMethod(\'render\', function () {\n + return this;\n + })\n +\n + /////////////////////////////////////////////////////////////////\n + // declared services\n + /////////////////////////////////////////////////////////////////\n + .declareService(function () {\n + var panel_gadget,\n + form_list,\n + event_list,\n + handler,\n + i,\n + len;\n +\n + function formSubmit() {\n + panel_gadget.toggle();\n + }\n +\n + panel_gadget = this;\n + form_list = panel_gadget.props.element.querySelectorAll(\'form\');\n + event_list = [];\n + handler = [formSubmit];\n +\n + // XXX: not robust - Will break when search field is active\n + for (i = 0, len = form_list.length; i < len; i += 1) {\n + event_list[i] = loopEventListener(\n + form_list[i],\n + \'submit\',\n + false,\n + handler[i]\n + );\n + }\n +\n + return new RSVP.Queue()\n + .push(function () {\n + return RSVP.all(event_list);\n + });\n + });\n +\n +}(window, rJS, jQuery, RSVP, Handlebars, loopEventListener));\n + + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Manifest Panel JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215324.7</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.11069.32567.1006</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432553064.02</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215299.36</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_site_module/manifest.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_site_module/manifest.xml new file mode 100644 index 0000000000000000000000000000000000000000..3a3c2c60a680b56b2293ca062cee6705e115b886 --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_site_module/manifest.xml @@ -0,0 +1,642 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Site" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Authenticated</string> + <string>Author</string> + <string>Manager</string> + <string>Member</string> + <string>Owner</string> + <string>Reviewer</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_folders_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Copy_or_Move_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Delete_objects_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Authenticated</string> + <string>Author</string> + <string>Manager</string> + <string>Member</string> + <string>Owner</string> + <string>Reviewer</string> + </tuple> + </value> + </item> + <item> + <key> <string>__before_publishing_traverse__</string> </key> + <value> + <object> + <klass> + <global name="MultiHook" module="ZPublisher.BeforeTraverse"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_defined_in_class</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>_hookname</string> </key> + <value> <string>__before_publishing_traverse__</string> </value> + </item> + <item> + <key> <string>_list</string> </key> + <value> + <list> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> + </list> + </value> + </item> + <item> + <key> <string>_prior</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>__before_traverse__</string> </key> + <value> + <dictionary> + <item> + <key> + <tuple> + <int>99</int> + <string>ERP5 Web Site/bug_tracker</string> + </tuple> + </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> + <tuple> + <int>99</int> + <string>ERP5 Web Site/e5g_ecrm</string> + </tuple> + </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> + <tuple> + <int>99</int> + <string>ERP5 Web Site/e5g_eproject</string> + </tuple> + </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> + <tuple> + <int>99</int> + <string>ERP5 Web Site/manifest</string> + </tuple> + </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + <item> + <key> + <tuple> + <int>99</int> + <string>ERP5 Web Site/renderjs_runner</string> + </tuple> + </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent> + </value> + </item> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>frontpage_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_frontpage_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_application_title</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_hateoas_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_view_action_category</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_default_view_action_reference</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_panel_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAo=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAs=</string> </persistent> + </value> + </item> + <item> + <key> <string>available_language</string> </key> + <value> + <tuple> + <string>en</string> + </tuple> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>aggregate/web_page_module/gadget_manifest_html</string> + </tuple> + </value> + </item> + <item> + <key> <string>configuration_application_title</string> </key> + <value> <string>Web Manifest</string> </value> + </item> + <item> + <key> <string>configuration_default_view_action_reference</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_frontpage_gadget_url</string> </key> + <value> <string>gadget_manifest_page_front.html</string> </value> + </item> + <item> + <key> <string>configuration_hateoas_url</string> </key> + <value> <string>hateoas/</string> </value> + </item> + <item> + <key> <string>configuration_panel_gadget_url</string> </key> + <value> <string>gadget_manifest_panel.html</string> </value> + </item> + <item> + <key> <string>configuration_view_action_category</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>container_layout</string> </key> + <value> <string>WebSection_renderDefaultPageAsGadget</string> </value> + </item> + <item> + <key> <string>content_layout</string> </key> + <value> <string>WebSection_renderDefaultPageAsGadget</string> </value> + </item> + <item> + <key> <string>custom_render_method_id</string> </key> + <value> <string>WebSection_renderDefaultPageAsGadget</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>frontpage_gadget_url</string> </key> + <value> <string>gadget_woelfel_pt_frontpage.html</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>manifest</string> </value> + </item> + <item> + <key> <string>layout_configuration_form_id</string> </key> + <value> <string>WebSection_viewHateoasPreference</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Site</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>skin_selection_name</string> </key> + <value> <string>Manifest</string> </value> + </item> + <item> + <key> <string>static_language_selection</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>MANIFEST</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAw=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="WebSiteTraversalHook" module="Products.ERP5.Document.WebSite"/> + </pickle> + <pickle> + <dictionary/> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WebSiteTraversalHook" module="Products.ERP5.Document.WebSite"/> + </pickle> + <pickle> + <dictionary/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WebSiteTraversalHook" module="Products.ERP5.Document.WebSite"/> + </pickle> + <pickle> + <dictionary/> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WebSiteTraversalHook" module="Products.ERP5.Document.WebSite"/> + </pickle> + <pickle> + <dictionary/> + </pickle> + </record> + <record id="6" aka="AAAAAAAAAAY="> + <pickle> + <global name="WebSiteTraversalHook" module="Products.ERP5.Document.WebSite"/> + </pickle> + <pickle> + <dictionary/> + </pickle> + </record> + <record id="7" aka="AAAAAAAAAAc="> + <pickle> + <global name="Length" module="BTrees.Length"/> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="8" aka="AAAAAAAAAAg="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="9" aka="AAAAAAAAAAk="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="10" aka="AAAAAAAAAAo="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="11" aka="AAAAAAAAAAs="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="12" aka="AAAAAAAAAAw="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>category_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAA0=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAA4=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="13" aka="AAAAAAAAAA0="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432215872.41</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="14" aka="AAAAAAAAAA4="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>943.11012.65345.10581</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1432287068.38</float> + <string>GMT</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/PathTemplateItem/web_site_module/manifest/hateoas.xml b/bt5/erp5_web_manifest/PathTemplateItem/web_site_module/manifest/hateoas.xml new file mode 100644 index 0000000000000000000000000000000000000000..f2d2b9d2717e8860528cd3183919ce1eff63f75f --- /dev/null +++ b/bt5/erp5_web_manifest/PathTemplateItem/web_site_module/manifest/hateoas.xml @@ -0,0 +1,313 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Section" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_folders_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Copy_or_Move_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Delete_objects_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>__before_publishing_traverse__</string> </key> + <value> + <object> + <klass> + <global name="MultiHook" module="ZPublisher.BeforeTraverse"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_defined_in_class</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>_hookname</string> </key> + <value> <string>__before_publishing_traverse__</string> </value> + </item> + <item> + <key> <string>_list</string> </key> + <value> + <list> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </list> + </value> + </item> + <item> + <key> <string>_prior</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>__before_traverse__</string> </key> + <value> + <dictionary> + <item> + <key> + <tuple> + <int>99</int> + <string>ERP5 Web Section/hateoas</string> + </tuple> + </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>default_view_action_reference</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>view_action_category</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>frontpage_gadget</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>frontpage_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_frontpage_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_application_title</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>configuration_application_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_frontpage_gadget_url</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>container_layout</string> </key> + <value> <string>ERP5Document_getHateoas</string> </value> + </item> + <item> + <key> <string>content_layout</string> </key> + <value> <string>ERP5Document_getHateoas</string> </value> + </item> + <item> + <key> <string>custom_render_method_id</string> </key> + <value> <string>ERP5Document_getHateoas</string> </value> + </item> + <item> + <key> <string>default_view_action_reference</string> </key> + <value> <string>view</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>empty_criterion_valid</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>frontpage_gadget</string> </key> + <value> <string>gadget_woelfel_pt_frontpage.html</string> </value> + </item> + <item> + <key> <string>frontpage_gadget_url</string> </key> + <value> <string>gadget_woelfel_pt_frontpage.html</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>hateoas</string> </value> + </item> + <item> + <key> <string>layout_configuration_form_id</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Section</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>skin_selection_name</string> </key> + <value> <string>RJS</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Restricted Hateoas</string> </value> + </item> + <item> + <key> <string>view_action_category</string> </key> + <value> <string>object_view</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="WebSectionTraversalHook" module="Products.ERP5.Document.WebSection"/> + </pickle> + <pickle> + <dictionary/> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_manifest/bt/dependency_list b/bt5/erp5_web_manifest/bt/dependency_list new file mode 100644 index 0000000000000000000000000000000000000000..6b7b89794e2f0be0bfa5249c01c6fbdb760a024f --- /dev/null +++ b/bt5/erp5_web_manifest/bt/dependency_list @@ -0,0 +1 @@ +erp5_web_renderjs_ui \ No newline at end of file diff --git a/bt5/erp5_web_manifest/bt/license b/bt5/erp5_web_manifest/bt/license new file mode 100644 index 0000000000000000000000000000000000000000..3a3e12bcad97e4b3bdd6a8bb499fd23a4bcb0819 --- /dev/null +++ b/bt5/erp5_web_manifest/bt/license @@ -0,0 +1 @@ +GPL \ No newline at end of file diff --git a/bt5/erp5_web_manifest/bt/template_format_version b/bt5/erp5_web_manifest/bt/template_format_version new file mode 100644 index 0000000000000000000000000000000000000000..56a6051ca2b02b04ef92d5150c9ef600403cb1de --- /dev/null +++ b/bt5/erp5_web_manifest/bt/template_format_version @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/bt5/erp5_web_manifest/bt/template_keep_last_workflow_history_only_path_list b/bt5/erp5_web_manifest/bt/template_keep_last_workflow_history_only_path_list new file mode 100644 index 0000000000000000000000000000000000000000..e4e9e67ae775ea932649d28fd6945d00ae1e438c --- /dev/null +++ b/bt5/erp5_web_manifest/bt/template_keep_last_workflow_history_only_path_list @@ -0,0 +1,2 @@ +web_page_module/gadget_manifest** +web_site_module/manifest \ No newline at end of file diff --git a/bt5/erp5_web_manifest/bt/template_keep_workflow_path_list b/bt5/erp5_web_manifest/bt/template_keep_workflow_path_list new file mode 100644 index 0000000000000000000000000000000000000000..e4e9e67ae775ea932649d28fd6945d00ae1e438c --- /dev/null +++ b/bt5/erp5_web_manifest/bt/template_keep_workflow_path_list @@ -0,0 +1,2 @@ +web_page_module/gadget_manifest** +web_site_module/manifest \ No newline at end of file diff --git a/bt5/erp5_web_manifest/bt/template_path_list b/bt5/erp5_web_manifest/bt/template_path_list new file mode 100644 index 0000000000000000000000000000000000000000..8ec2e02fba6e722bb0db25a6d473e96ccca88203 --- /dev/null +++ b/bt5/erp5_web_manifest/bt/template_path_list @@ -0,0 +1,3 @@ +web_page_module/gadget_manifest* +web_site_module/manifest +web_site_module/manifest/** \ No newline at end of file diff --git a/bt5/erp5_web_manifest/bt/title b/bt5/erp5_web_manifest/bt/title new file mode 100644 index 0000000000000000000000000000000000000000..9c3d8554a8fc58a77c5144e7d51b7eae3b0f94a1 --- /dev/null +++ b/bt5/erp5_web_manifest/bt/title @@ -0,0 +1 @@ +erp5_web_manifest \ No newline at end of file diff --git a/bt5/erp5_web_manifest/bt/version b/bt5/erp5_web_manifest/bt/version new file mode 100644 index 0000000000000000000000000000000000000000..ceab6e11ece0bcec917c12e11d350946f085d549 --- /dev/null +++ b/bt5/erp5_web_manifest/bt/version @@ -0,0 +1 @@ +0.1 \ No newline at end of file