Commit d50048bf authored by Paul Graydon's avatar Paul Graydon

ors_wendelin: Update client home page

parent 68538ec9
......@@ -250,7 +250,7 @@
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>invalidate</string> </value>
<value> <string>validate</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
......@@ -278,7 +278,7 @@
</tuple>
<state>
<tuple>
<float>1680185454.55</float>
<float>1718027568.51</float>
<string>UTC</string>
</tuple>
</state>
......@@ -287,7 +287,7 @@
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>invalidated</string> </value>
<value> <string>validated</string> </value>
</item>
</dictionary>
</list>
......
......@@ -5,7 +5,6 @@
var gadget_klass = rJS(window);
gadget_klass
.declareAcquiredMethod("getSetting", "getSetting")
.declareAcquiredMethod("jio_get", "jio_get")
......@@ -16,19 +15,18 @@
Plotly.Plots.resize(gadget.element.querySelector('.graph-initial-success-rate'));
Plotly.Plots.resize(gadget.element.querySelector('.graph-added-success-rate'));
});
})
.declareMethod('render', function (option_dict) {
var gadget = this,
i,
initial_success_data,
added_success_data,
label_list = ["vt", "vInititialEPSBEstabSR_lo","vInititialEPSBEstabSR_hi","vAddedEPSBEstabSR_lo", "vAddedEPSBEstabSR_hi"];
label_list = ["vt", "vInititialEPSBEstabSR_lo", "vInititialEPSBEstabSR_hi", "vAddedEPSBEstabSR_lo", "vAddedEPSBEstabSR_hi"];
return new RSVP.Queue().push(function () {
return wendelin.getArrayRawSlice(gadget, option_dict.data_array_key);
})
.push(function (result) {
var graph_data = nj.unpack(result.pick( null, label_list)),
var graph_data = nj.unpack(result.pick(null, label_list)),
date = [],
vInititialEPSBEstabSR_lo = [],
vInititialEPSBEstabSR_hi = [],
......@@ -111,7 +109,6 @@
}
}
);
Plotly.newPlot(
gadget.element.querySelector('.graph-added-success-rate'),
added_success_data,
......
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1007.32863.55523.57719</string> </value>
<value> <string>1017.10919.17136.25378</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1680610679.89</float>
<float>1718093827.83</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -10,6 +10,7 @@
return value[column];
});
}
function allEqual(array, value) {
return array.every(function (current) {
return current === value;
......@@ -79,7 +80,6 @@
Plotly.Plots.resize(gadget.element.querySelector('.upload-link'));
Plotly.Plots.resize(gadget.element.querySelector('.download-link'));
});
})
.declareMethod('render', function (option_dict) {
var gadget = this,
......@@ -159,7 +159,6 @@
}
}
);
Plotly.newPlot(
upload_link,
upload_data,
......
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1007.34352.37418.49595</string> </value>
<value> <string>1017.12308.4841.3874</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1680699889.54</float>
<float>1718094024.82</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -6,7 +6,7 @@
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<title>ERP5 PT Frontpage</title>
<!--title>ORS Wendelin</title-->
<link rel="http://www.renderjs.org/rel/interface" href="interface_page.html">
<!-- renderjs -->
......@@ -22,5 +22,9 @@
</head>
<body>
<div data-gadget-scope="html_view" data-gadget-url="gadget_html_viewer.html" data-gadget-sandbox="public"></div>
<div data-gadget-sandbox="public" data-gadget-scope="form_view" data-gadget-url="gadget_erp5_pt_form_view.html"></div>
<ul>
</ul>
</body>
</html>
\ No newline at end of file
......@@ -240,7 +240,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1007.27214.41940.31795</string> </value>
<value> <string>1018.13042.17329.57821</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>1680271778.06</float>
<float>1721983817.51</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1007.27217.52338.34133</string> </value>
<value> <string>1018.13043.31705.44066</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>1680271856.72</float>
<float>1721985955.28</float>
<string>UTC</string>
</tuple>
</state>
......
<h1>Welcome to ORS Wendelin</h1>
<div>Your registered Open Radio Stations are listed below.</div>
<li>ORS Device List: <a href="#!push_history?p.editable=true&n.jio_key=data_acquisition_unit_module">Link</a></li>
\ No newline at end of file
<div>To access the KPI graphs for an Open Radio Station, click on the corresponding list entry below. Then, in the <strong>Views</strong> menu on the left, click on <strong>E-RAB Accessibility KPI</strong> or <strong>E-UTRAN IP Throughput KPI</strong>, and the graph will be displayed.</div>
\ No newline at end of file
......@@ -10,9 +10,11 @@
<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>
......@@ -50,9 +52,11 @@
<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>
......@@ -69,7 +73,7 @@
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>ORS-WENDELIN.Home.Page</string> </value>
<value> <string>ors_wendelin_home_message.html</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -83,9 +87,7 @@
</item>
<item>
<key> <string>language</string> </key>
<value>
<none/>
</value>
<value> <string>en</string> </value>
</item>
<item>
<key> <string>short_title</string> </key>
......@@ -95,13 +97,11 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>ORS WENDELIN Home Page</string> </value>
<value> <string>ORS Wendelin Home Message</string> </value>
</item>
<item>
<key> <string>version</string> </key>
<value>
<none/>
</value>
<value> <string>001</string> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
......@@ -159,7 +159,7 @@
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>share_alive</string> </value>
<value> <string>publish_alive</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
......@@ -187,7 +187,7 @@
</tuple>
<state>
<tuple>
<float>1680271985.42</float>
<float>1717425573.33</float>
<string>UTC</string>
</tuple>
</state>
......@@ -196,7 +196,7 @@
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>shared_alive</string> </value>
<value> <string>published_alive</string> </value>
</item>
</dictionary>
</list>
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1007.27226.19038.61952</string> </value>
<value> <string>1017.24204.40844.49612</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>1680272308.71</float>
<float>1718807806.02</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_panel.js" type="text/javascript"></script>
</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" style="height: 80pt !important; padding-top: 10pt;">
<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 style="margin-top: 10pt;"></dl>
</div>
</div>
</body>
</html>
\ No newline at end of file
......@@ -6,6 +6,24 @@
</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>
......@@ -49,7 +67,24 @@
<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>
......@@ -102,7 +137,7 @@
<key>
<tuple>
<int>99</int>
<string>ERP5 Web Site/ors_runner</string>
<string>ERP5 Web Site/ors_wendelin_front</string>
</tuple>
</key>
<value>
......@@ -342,7 +377,7 @@
</item>
<item>
<key> <string>configuration_application_title</string> </key>
<value> <string>ERP5</string> </value>
<value> <string>ORS Wendelin</string> </value>
</item>
<item>
<key> <string>configuration_content_security_policy</string> </key>
......@@ -362,13 +397,13 @@
</item>
<item>
<key> <string>configuration_header_gadget_url</string> </key>
<value>
<none/>
</value>
<value> <string>gadget_erp5_header.html</string> </value>
</item>
<item>
<key> <string>configuration_icon_url</string> </key>
<value> <string>favicon.ico</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>configuration_jio_gadget_url</string> </key>
......@@ -382,11 +417,13 @@
</item>
<item>
<key> <string>configuration_panel_gadget_url</string> </key>
<value> <string>gadget_erp5_panel.html</string> </value>
<value> <string>gadget_ors_wendelin_panel.html</string> </value>
</item>
<item>
<key> <string>configuration_precache_manifest_script_list</string> </key>
<value> <string>WebSection_getORSRunnerPrecacheManifestList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>configuration_precache_manifest_url_list</string> </key>
......@@ -434,7 +471,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ors_runner</string> </value>
<value> <string>ors_wendelin_front</string> </value>
</item>
<item>
<key> <string>int_index</string> </key>
......@@ -484,7 +521,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>ORS Runner</string> </value>
<value> <string>ORS Wendelin</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
......@@ -600,13 +637,11 @@
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<none/>
</value>
<value> <string>publish</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <unicode>zope</unicode> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -630,7 +665,7 @@
</tuple>
<state>
<tuple>
<float>1680076676.69</float>
<float>1718011174.28</float>
<string>UTC</string>
</tuple>
</state>
......@@ -639,7 +674,7 @@
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>embedded</string> </value>
<value> <string>published</string> </value>
</item>
</dictionary>
</list>
......@@ -679,7 +714,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1007.44114.37887.20087</string> </value>
<value> <string>1018.11925.26567.59340</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -699,7 +734,7 @@
</tuple>
<state>
<tuple>
<float>1681286302.69</float>
<float>1721916860.74</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -446,7 +446,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <unicode>zope</unicode> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -460,7 +460,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1007.23965.61990.64136</string> </value>
<value> <string>1015.62830.47806.62054</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -480,7 +480,7 @@
</tuple>
<state>
<tuple>
<float>1680076689.65</float>
<float>1714745211.07</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -368,7 +368,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <unicode>zope</unicode> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -382,7 +382,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1007.23965.61990.64136</string> </value>
<value> <string>1015.62830.47806.62054</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -402,7 +402,7 @@
</tuple>
<state>
<tuple>
<float>1680076689.64</float>
<float>1714745211.06</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -8,5 +8,6 @@ portal_callables/IngestionPolicy_parseORSTag
portal_ingestion_policies/ors_ingestion
web_page_module/ndarray_bundle.js
web_page_module/ors_*
web_site_module/ors_runner
web_site_module/ors_runner/**
\ No newline at end of file
web_page_module/rjs_gadget_ors_*
web_site_module/ors_wendelin_front
web_site_module/ors_wendelin_front/**
\ No newline at end of file
......@@ -10,5 +10,6 @@ portal_callables/IngestionPolicy_parseORSTag
portal_ingestion_policies/ors_ingestion
web_page_module/ndarray_bundle.js
web_page_module/ors_*
web_site_module/ors_runner
web_site_module/ors_runner/**
\ No newline at end of file
web_page_module/rjs_gadget_ors_*
web_site_module/ors_wendelin_front
web_site_module/ors_wendelin_front/**
\ 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