Commit 29367983 authored by Ivan Tyagov's avatar Ivan Tyagov

wendelin front page

See merge request !41
parents 33636898 e3ccdcff
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_acquisition_unit_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_aggregation_unit_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_analysis_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_array_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_configuration_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_descriptor_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_event_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_ingestion_batch_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_ingestion_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_license_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_operation_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_order_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_product_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_release_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_set_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_stream_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_supply_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>data_transformation_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>device_configuration_module</id>
<permission_list>
<permission type='tuple'>
......
<module>
<category_list>
<category>business_application/big_data</category>
</category_list>
<id>progress_indicator_module</id>
<permission_list>
<permission type='tuple'>
......
<base_category_list>
<portal_type id="Data Acquisition Unit Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Aggregation Unit Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Analysis Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Array Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Configuration Module">
<item>business_application</item>
</portal_type>
......@@ -11,6 +23,42 @@
<item>resource</item>
<item>source</item>
</portal_type>
<portal_type id="Data Event Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Ingestion Batch Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Ingestion Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data License Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Notebook Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Operation Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Order Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Product Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Release Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Set Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Stream Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Supply Module">
<item>business_application</item>
</portal_type>
<portal_type id="Data Transformation Module">
<item>business_application</item>
</portal_type>
......
Data Acquisition Unit Module | business_application
Data Aggregation Unit Module | business_application
Data Analysis Module | business_application
Data Array Module | business_application
Data Configuration Module | business_application
Data Descriptor Module | business_application
Data Event Module | business_application
Data Event | aggregate
Data Event | destination
Data Event | resource
Data Event | source
Data Ingestion Batch Module | business_application
Data Ingestion Module | business_application
Data License Module | business_application
Data Notebook Module | business_application
Data Operation Module | business_application
Data Order Module | business_application
Data Product Module | business_application
Data Release Module | business_application
Data Set Module | business_application
Data Stream Module | business_application
Data Supply Module | business_application
Data Transformation Module | business_application
Device Configuration Module | business_application
Progress Indicator Module | business_application
\ No newline at end of file
<!DOCTYPE html>
<html>
<!--
data-i18n=Others
-->
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<!--title>ERP5 PT Frontpage</title-->
<link rel="http://www.renderjs.org/rel/interface" href="interface_page.html">
<!-- renderjs -->
<script src="rsvp.js" type="text/javascript"></script>
<script src="renderjs.js" type="text/javascript"></script>
<!-- custom script -->
<script src="jiodev.js" type="text/javascript"></script>
<script src="gadget_global.js" type="text/javascript"></script>
<script src="domsugar.js" type="text/javascript"></script>
<script src="gadget_erp5_page_wendelin_front.js" type="text/javascript"></script>
</head>
<body>
<div data-gadget-sandbox="public" data-gadget-scope="form_view" data-gadget-url="gadget_erp5_pt_form_view.html">&nbsp;</div>
<ul>
</ul>
</body>
</html>
\ No newline at end of file
<?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>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<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>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>Manager</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_erp5_page_wendelin_front.html</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>gadget_erp5_page_wendelin_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>title</string> </key>
<value> <string>Gadget ERP5 Wendelin Frontpage</string> </value>
</item>
<item>
<key> <string>version</string> </key>
<value> <string>001</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
/*global window, rJS*/
/*jslint nomen: true, indent: 2, maxerr: 3 */
(function (window, rJS) {
"use strict";
rJS(window)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.declareAcquiredMethod("jio_allDocs", "jio_allDocs")
.declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("getUrlParameter", "getUrlParameter")
.allowPublicAcquisition('updateHeader', function () {
return;
})
.allowPublicAcquisition('getUrlParameter', function (argument_list) {
return this.getUrlParameter(argument_list)
.push(function (result) {
if ((result === undefined) && (
(argument_list[0] === 'field_listbox_storage_sort_list:json') ||
(argument_list[0] === 'field_listbox_movement_sort_list:json') ||
(argument_list[0] === 'field_listbox_transformation_sort_list:json') ||
(argument_list[0] === 'field_listbox_sensor_sort_list:json') ||
(argument_list[0] === 'field_listbox_notebook_sort_list:json')
)) {
return [['modification_date', 'descending']];
}
return result;
});
})
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.declareMethod("render", function () {
var gadget = this;
return gadget.updateHeader({
page_title: 'Wendelin'
})
.push(function () {
return gadget.getDeclaredGadget('form_view');
})
.push(function (form_gadget) {
return form_gadget.render({
erp5_document: {"_embedded": {"_view": {
"listbox_storage": {
"column_list": [
['title', 'Title'],
['portal_type', 'Portal Type'],
['translated_validation_state_title', 'State']
],
"show_anchor": 0,
"default_params": {},
"editable": 1,
"editable_column_list": [],
"key": "field_listbox_storage",
"lines": 5,
"list_method": "portal_catalog",
"query": "urn:jio:allDocs?query=portal_type%3A%28%22Data%20Stream%22%20OR%20%20%22Data%20Array%22%29",
"portal_type": ["Data Stream", "Data Array"],
"search_column_list": [],
"sort_column_list": [],
"title": "Latest Streams and Arrays",
"type": "ListBox"
},
"listbox_movement": {
"column_list": [
['title', 'Title'],
['portal_type', 'Portal Type'],
['translated_simulation_state_title', 'State']
],
"show_anchor": 0,
"default_params": {},
"editable": 1,
"editable_column_list": [],
"key": "field_listbox_movement",
"lines": 5,
"list_method": "portal_catalog",
"query": "urn:jio:allDocs?query=portal_type%3A%28%22Data%20Ingestion%22%20OR%20%20%22Data%20Analysis%22%29",
"portal_type": ["Data Ingestion", "Data Analysis"],
"search_column_list": [],
"sort_column_list": [],
"title": "Latest Ingestions and Analyses",
"type": "ListBox"
},
"listbox_transformation": {
"column_list": [
['title', 'Title'],
['portal_type', 'Portal Type'],
['translated_validation_state_title', 'State']
],
"show_anchor": 0,
"default_params": {},
"editable": 1,
"editable_column_list": [],
"key": "field_listbox_transformation",
"lines": 5,
"list_method": "portal_catalog",
"query": "urn:jio:allDocs?query=portal_type%3A%22Data%20Transformation%22",
"portal_type": ["Data Transformation"],
"search_column_list": [],
"sort_column_list": [],
"title": "Latest Transformations",
"type": "ListBox"
},
"listbox_sensor": {
"column_list": [
['title', 'Title'],
['portal_type', 'Portal Type'],
['translated_validation_state_title', 'State']
],
"show_anchor": 0,
"default_params": {},
"editable": 1,
"editable_column_list": [],
"key": "field_listbox_sensor",
"lines": 5,
"list_method": "portal_catalog",
"query": "urn:jio:allDocs?query=portal_type%3A%22Data%20Acquisition%20Unit%22",
"portal_type": ["Data Acquisition"],
"search_column_list": [],
"sort_column_list": [],
"title": "Latest Sensors",
"type": "ListBox"
},
"listbox_notebook": {
"column_list": [
['title', 'Title'],
['portal_type', 'Portal Type'],
['translated_validation_state_title', 'State']
],
"show_anchor": 0,
"default_params": {},
"editable": 1,
"editable_column_list": [],
"key": "field_listbox_notebook",
"lines": 5,
"list_method": "portal_catalog",
"query": "urn:jio:allDocs?query=portal_type%3A%22Notebook%22",
"portal_type": ["Notebook"],
"search_column_list": [],
"sort_column_list": [],
"title": "Latest Notebooks",
"type": "ListBox"
}
}},
"_links": {
"type": {
// form_list display portal_type in header
name: ""
}
}},
form_definition: {
group_list: [
[
"bottom",
[["listbox_notebook"],["listbox_storage"], ["listbox_movement"], ["listbox_transformation"], ["listbox_sensor"]]
]
]
}
});
});
});
}(window, rJS));
\ No newline at end of file
<?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>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<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>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>Manager</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_erp5_page_wendelin_front.js</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>gadget_erp5_page_wendelin_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>title</string> </key>
<value> <string>Gadget ERP5 Wendelin Frontpage JS</string> </value>
</item>
<item>
<key> <string>version</string> </key>
<value> <string>001</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
image_module/fif_*
web_page_module/*fif_*
web_page_module/*_wendelin_*
web_site_module/default_wendelin_data_lake
web_site_module/default_wendelin_data_lake/**
web_page_module/fif_*
......
image_module/fif_*
web_page_module/*fif_*
web_page_module/*_wendelin_*
web_site_module/default_wendelin_data_lake
web_site_module/default_wendelin_data_lake/**
web_page_module/fif_*
......
image_module/fif_*
web_page_module/*_wendelin_*
web_page_module/*fif_*
web_page_module/fif_*
web_page_module/gadget_fif_*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment