Commit 7ee783d6 authored by Roque's avatar Roque

(WIP) erp5_drone_simulator: documentation page

parent 50fd6505
/*global window, rJS*/
/*jslint indent:2, maxlen: 80, nomen: true */
(function (window, rJS) {
"use strict";
rJS(window)
.declareAcquiredMethod('updateHeader', 'updateHeader')
.declareAcquiredMethod('getUrlFor', 'getUrlFor')
.declareMethod('render', function () {
var gadget = this;
return gadget.getUrlFor({'command': 'history_previous'})
.push(function (url) {
return gadget.updateHeader({
page_title: "Rescue Swarm Documentation",
selection_url: url
});
});
});
}(window, rJS));
\ 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>Test drone simulator gadget</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 type="text/javascript" src="./js/libraries/seedrandom.min.js"></script>
<script src="gadget_erp5_page_rescue_swarm_test_drone_simulator.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="gadget_erp5_page_rescue_swarm_play.css">
<link rel="stylesheet" type="text/css" href="gadget_html_viewer.css">
</head>
<body>
<div id="fragment"></div>
<div data-gadget-url="gadget_html_viewer.html" data-gadget-scope="html_viewer"></div>
</body>
</html>
\ No newline at end of file
......@@ -85,7 +85,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>test_drone_simulator_gadget</string> </value>
<value> <string>test_drone_simulator_gadget_js</string> </value>
</item>
<item>
<key> <string>language</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1661445994.59</float>
<float>1661792178.61</float>
<string>UTC</string>
</tuple>
</state>
......
/* DOCUMENTATION */
.documentation p {
margin: 10px 0;
font-family: monospace;
color: #263238;
line-height: 18px;
}
.documentation pre {
line-height: 18px;
font-family: monospace;
}
.documentation h1 {
margin: 0 0 30px 0;
font-size: 2.3em;
}
.documentation h3 {
margin: 0 0 15px 0;
font-size: 1.6em;
}
.documentation h4 {
margin-top: 20px;
}
.documentation h5 {
font-weight: bold;
}
.documentation h4,
.documentation h5 {
margin: 0;
}
.documentation .line {
width: 100%;
height: 1px;
background-color: lightgrey;
margin: 30px 0;
}
.documentation .item-param-1,
.documentation .item-param-2 {
width: 25%;
display: inline-block;
}
.item-name {
background-color: #F8F8F8;
padding: 8px;
margin: 8px 0;
font-size: 1.2em; }
.item-name span:first-of-type {
font-weight: bold; }
.item-name span:last-of-type {
font-style: italic; }
.line {
width: 100%;
height: 1px;
background-color: lightgrey;
margin: 30px 0; }
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Cacheable__manager_id</string> </key>
<value> <string>must_revalidate_http_cache</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>documentation.css</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/css</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -3,4 +3,7 @@ rescue_swarm_script_module/emulate_bounce
rescue_swarm_script_module/emulate_loiter
rescue_swarm_script_module/log_bounce
rescue_swarm_script_module/log_loiter
web_page_module/test_drone_simulator_gadget
\ No newline at end of file
web_page_module/test_drone_simulator_gadget_html
web_page_module/test_drone_simulator_gadget_js
web_page_module/gadget_erp5_page_rescue_swarm_ailefixedoc_html
web_page_module/gadget_rescue_swarm_documentation_js
\ No newline at end of file
......@@ -3,4 +3,7 @@ rescue_swarm_script_module/emulate_bounce
rescue_swarm_script_module/emulate_loiter
rescue_swarm_script_module/log_bounce
rescue_swarm_script_module/log_loiter
web_page_module/test_drone_simulator_gadget
\ No newline at end of file
web_page_module/test_drone_simulator_gadget_html
web_page_module/test_drone_simulator_gadget_js
web_page_module/gadget_erp5_page_rescue_swarm_ailefixedoc_html
web_page_module/gadget_rescue_swarm_documentation_js
\ No newline at end of file
......@@ -3,4 +3,7 @@ rescue_swarm_script_module/emulate_bounce
rescue_swarm_script_module/emulate_loiter
rescue_swarm_script_module/log_bounce
rescue_swarm_script_module/log_loiter
web_page_module/test_drone_simulator_gadget
\ No newline at end of file
web_page_module/test_drone_simulator_gadget_html
web_page_module/test_drone_simulator_gadget_js
web_page_module/gadget_erp5_page_rescue_swarm_ailefixedoc_html
web_page_module/gadget_rescue_swarm_documentation_js
\ No newline at end of file
......@@ -3,4 +3,7 @@ rescue_swarm_script_module/emulate_bounce
rescue_swarm_script_module/emulate_loiter
rescue_swarm_script_module/log_bounce
rescue_swarm_script_module/log_loiter
web_page_module/test_drone_simulator_gadget
\ No newline at end of file
web_page_module/gadget_erp5_page_rescue_swarm_ailefixedoc_html
web_page_module/gadget_rescue_swarm_documentation_js
web_page_module/test_drone_simulator_gadget_html
web_page_module/test_drone_simulator_gadget_js
\ 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