Commit 839f4173 authored by Paul Graydon's avatar Paul Graydon

ors_wendelin: Rework web sites

parent 84a046ea
......@@ -18,7 +18,7 @@
<script src="gadget_global.js" type="text/javascript"></script>
<script src="domsugar.js" type="text/javascript"></script>
<script src="gadget_erp5_page_ors_wendelin_front.js" type="text/javascript"></script>
<script src="gadget_erp5_page_ors_wendelin_client_front.js" type="text/javascript"></script>
</head>
<body>
......
......@@ -73,7 +73,7 @@
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_erp5_page_ors_wendelin_front.html</string> </value>
<value> <string>gadget_erp5_page_ors_wendelin_client_front.html</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -83,7 +83,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ors_wendelin_front_html</string> </value>
<value> <string>gadget_erp5_page_ors_wendelin_client_front_html</string> </value>
</item>
<item>
<key> <string>language</string> </key>
......@@ -101,7 +101,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Gadget ORS Wendelin</string> </value>
<value> <string>Gadget ERP5 ORS Wendelin Client Frontpage</string> </value>
</item>
<item>
<key> <string>version</string> </key>
......@@ -240,7 +240,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1018.13042.17329.57821</string> </value>
<value> <string>1018.50852.35012.53094</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>1721983817.51</float>
<float>1724252441.26</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -69,7 +69,7 @@
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_erp5_page_ors_wendelin_front.js</string> </value>
<value> <string>gadget_erp5_page_ors_wendelin_client_front.js</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ors_wendelin_front_js</string> </value>
<value> <string>gadget_erp5_page_ors_wendelin_client_front_js</string> </value>
</item>
<item>
<key> <string>language</string> </key>
......@@ -97,7 +97,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Gadget ORS Wendelin JS</string> </value>
<value> <string>Gadget ERP5 ORS Wendelin Client Frontpage JS</string> </value>
</item>
<item>
<key> <string>version</string> </key>
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1018.13043.31705.44066</string> </value>
<value> <string>1018.50853.4336.61013</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>1721985955.28</float>
<float>1724252470.97</float>
<string>UTC</string>
</tuple>
</state>
......
<!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_ors_wendelin_manager_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
/*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_project_sort_list:json') ||
(argument_list[0] === 'field_listbox_movement_sort_list:json') ||
(argument_list[0] === 'field_listbox_ors_sort_list:json')
)) {
return [['modification_date', 'descending']];
}
return result;
});
})
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.declareMethod("render", function () {
var gadget = this;
return gadget.updateHeader({
page_title: 'ORS Wendelin'
})
.push(function () {
return gadget.getDeclaredGadget('form_view');
})
.push(function (form_gadget) {
return form_gadget.render({
erp5_document: {"_embedded": {"_view": {
"listbox_project": {
"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_project",
"lines": 10,
"list_method": "portal_catalog",
"query": "urn:jio:allDocs?query=portal_type%3A%28%22Project%22%29",
"portal_type": ["Project"],
"search_column_list": [],
"sort_column_list": [],
"title": "Latest Client Projects",
"type": "ListBox"
},
"listbox_ors": {
"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_ors",
"lines": 10,
"list_method": "portal_catalog",
"query": "urn:jio:allDocs?query=portal_type%3A%22Data%20Acquisition%20Unit%22",
"portal_type": ["Data Acquisition Unit"],
"search_column_list": [],
"sort_column_list": [],
"title": "Latest Open Radio Stations",
"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": 10,
"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"
}
}},
"_links": {
"type": {
// form_list display portal_type in header
name: ""
}
}},
form_definition: {
group_list: [
[
"bottom",
[["listbox_project"], ["listbox_ors"], ["listbox_movement"]]
]
]
}
});
});
});
}(window, rJS));
\ No newline at end of file
......@@ -25,7 +25,8 @@
<script src="gadget_global.js" type="text/javascript"></script>
<!-- custom script -->
<script src="gadget_ors_wendelin_panel.js" type="text/javascript"></script>
<script src="gadget_ors_wendelin_client_panel.js" type="text/javascript"></script>
<link href="gadget_ors_wendelin_panel.css" rel="stylesheet" type="text/css">
</head>
<body>
......@@ -36,7 +37,7 @@
<button data-i18n="Close" class="ui-btn-icon-notext ui-icon-delete">Close</button>
</div>
</div>
<div class="panel_img" style="height: 80pt !important; padding-top: 10pt;">
<div class="panel_img">
<img alt="ERP5" src="telecom-nexedi-logos?format=png"/>
</div>
</div>
......@@ -53,7 +54,7 @@
<!--div data-gadget-url="gadget_erp5_field_multicheckbox.html"
data-gadget-scope="erp5_checkbox"
data-gadget-sandbox="public"></div-->
<dl style="margin-top: 10pt;"></dl>
<dl class="action_list"></dl>
</div>
</div>
</body>
......
......@@ -73,7 +73,7 @@
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_ors_wendelin_panel.html</string> </value>
<value> <string>gadget_ors_wendelin_client_panel.html</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -83,7 +83,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>rjs_gadget_ors_wendelin_panel_html</string> </value>
<value> <string>rjs_gadget_ors_wendelin_client_panel_html</string> </value>
</item>
<item>
<key> <string>language</string> </key>
......@@ -101,7 +101,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Gadget ORS Wendelin Panel</string> </value>
<value> <string>Gadget ORS Wendelin Client Panel</string> </value>
</item>
<item>
<key> <string>version</string> </key>
......@@ -240,7 +240,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1018.12053.13607.46489</string> </value>
<value> <string>1018.50848.58785.37222</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>1721986238.09</float>
<float>1724252215.77</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -69,7 +69,7 @@
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_ors_wendelin_panel.js</string> </value>
<value> <string>gadget_ors_wendelin_client_panel.js</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>rjs_gadget_ors_wendelin_panel_js</string> </value>
<value> <string>rjs_gadget_ors_wendelin_client_panel_js</string> </value>
</item>
<item>
<key> <string>language</string> </key>
......@@ -97,7 +97,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Gadget ORS Wendelin Panel JS</string> </value>
<value> <string>Gadget ORS Wendelin Client Panel JS</string> </value>
</item>
<item>
<key> <string>version</string> </key>
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1018.13067.57075.39645</string> </value>
<value> <string>1018.50844.36147.23637</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>1721986260.92</float>
<float>1724251958.54</float>
<string>UTC</string>
</tuple>
</state>
......
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<title>ERP5 Panel</title>
<link rel="http://www.renderjs.org/rel/interface" href="interface_panel.html">
<!--
data-i18n=Editable
data-i18n=Home
data-i18n=Modules
data-i18n=Worklists
data-i18n=History
data-i18n=Search
data-i18n=Preferences
data-i18n=Logout
data-i18n=Views
data-i18n=Workflows
data-i18n=Actions
-->
<!-- renderjs -->
<script src="rsvp.js" type="text/javascript"></script>
<script src="renderjs.js" type="text/javascript"></script>
<script src="gadget_global.js" type="text/javascript"></script>
<!-- custom script -->
<script src="gadget_ors_wendelin_manager_panel.js" type="text/javascript"></script>
<link href="gadget_ors_wendelin_panel.css" rel="stylesheet" type="text/css">
</head>
<body>
<div>
<div data-role="header">
<div class="ui-btn-left">
<div class="ui-controlgroup-controls">
<button data-i18n="Close" class="ui-btn-icon-notext ui-icon-delete">Close</button>
</div>
</div>
<div class="panel_img">
<img alt="ERP5" src="telecom-nexedi-logos?format=png"/>
</div>
</div>
<div>
<form>
<button type="submit" class="ui-icon-action ui-btn-icon-right ui-screen-hidden">Submit</button>
<div data-gadget-url="gadget_erp5_searchfield.html"
data-gadget-scope="erp5_searchfield"
data-gadget-sandbox="public"></div>
</form>
<ul></ul>
<div data-gadget-url="gadget_erp5_field_multicheckbox.html"
data-gadget-scope="erp5_checkbox"
data-gadget-sandbox="public"></div>
<dl class="action_list"></dl>
</div>
</div>
</body>
</html>
\ No newline at end of file
.panel_img {
height: 80pt !important;
padding-top: 10pt;
}
.action_list {
margin-top: 10pt;
}
\ No newline at end of file
......@@ -104,7 +104,7 @@
<dictionary>
<item>
<key> <string>_defined_in_class</string> </key>
<value> <int>1</int> </value>
<value> <bool>True</bool> </value>
</item>
<item>
<key> <string>_hookname</string> </key>
......@@ -137,7 +137,7 @@
<key>
<tuple>
<int>99</int>
<string>ERP5 Web Site/ors_wendelin_front</string>
<string>ERP5 Web Site/ors_wendelin_client_front</string>
</tuple>
</key>
<value>
......@@ -389,7 +389,7 @@
</item>
<item>
<key> <string>configuration_frontpage_gadget_url</string> </key>
<value> <string>ors_wendelin_front</string> </value>
<value> <string>ors_wendelin_client_front</string> </value>
</item>
<item>
<key> <string>configuration_hateoas_url</string> </key>
......@@ -417,7 +417,7 @@
</item>
<item>
<key> <string>configuration_panel_gadget_url</string> </key>
<value> <string>gadget_ors_wendelin_panel.html</string> </value>
<value> <string>gadget_ors_wendelin_client_panel.html</string> </value>
</item>
<item>
<key> <string>configuration_precache_manifest_script_list</string> </key>
......@@ -471,7 +471,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ors_wendelin_front</string> </value>
<value> <string>ors_wendelin_client_front</string> </value>
</item>
<item>
<key> <string>int_index</string> </key>
......@@ -479,6 +479,12 @@
<none/>
</value>
</item>
<item>
<key> <string>language</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>layout_configuration_form_id</string> </key>
<value> <string>WebSection_viewRenderJSPreference</string> </value>
......@@ -521,7 +527,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>ORS Wendelin</string> </value>
<value> <string>ORS Wendelin Client</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
......@@ -714,7 +720,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1018.11925.26567.59340</string> </value>
<value> <string>1018.50853.27990.7782</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -734,7 +740,7 @@
</tuple>
<state>
<tuple>
<float>1721916860.74</float>
<float>1724252680.82</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -69,7 +69,7 @@
<dictionary>
<item>
<key> <string>_defined_in_class</string> </key>
<value> <int>1</int> </value>
<value> <bool>True</bool> </value>
</item>
<item>
<key> <string>_hookname</string> </key>
......
......@@ -69,7 +69,7 @@
<dictionary>
<item>
<key> <string>_defined_in_class</string> </key>
<value> <int>1</int> </value>
<value> <bool>True</bool> </value>
</item>
<item>
<key> <string>_hookname</string> </key>
......
......@@ -69,7 +69,7 @@
<dictionary>
<item>
<key> <string>_defined_in_class</string> </key>
<value> <int>1</int> </value>
<value> <bool>True</bool> </value>
</item>
<item>
<key> <string>_hookname</string> </key>
......
......@@ -13,12 +13,12 @@ portal_callables/IngestionPolicy_parseOrsFluentdTag
portal_categories/role/ors
portal_categories/role/ors/**
portal_ingestion_policies/ors_enb_log_ingestion
web_page_module/gadget_erp5_page_ors_wendelin_*
web_page_module/ndarray_bundle.js
web_page_module/ors_e_rab_kpi_*
web_page_module/ors_e_utran_ip_throughput_kpi_*
web_page_module/ors_wendelin_front_*
web_page_module/ors_wendelin_home_message_*
web_page_module/plotly_strict_v2.34.0.js
web_page_module/rjs_gadget_ors_*
web_site_module/ors_wendelin_front
web_site_module/ors_wendelin_front/**
\ No newline at end of file
web_site_module/ors_wendelin_*
web_site_module/ors_wendelin_*/**
\ No newline at end of file
......@@ -13,12 +13,12 @@ portal_callables/IngestionPolicy_parseOrsFluentdTag
portal_categories/role/ors
portal_categories/role/ors/**
portal_ingestion_policies/ors_enb_log_ingestion
web_page_module/gadget_erp5_page_ors_wendelin_*
web_page_module/ndarray_bundle.js
web_page_module/ors_e_rab_kpi_*
web_page_module/ors_e_utran_ip_throughput_kpi_*
web_page_module/ors_wendelin_front_*
web_page_module/ors_wendelin_home_message_*
web_page_module/plotly_strict_v2.34.0.js
web_page_module/rjs_gadget_ors_*
web_site_module/ors_wendelin_front
web_site_module/ors_wendelin_front/**
\ No newline at end of file
web_site_module/ors_wendelin_*
web_site_module/ors_wendelin_*/**
\ No newline at end of file
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