Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
erp5
Commits
497aca11
Commit
497aca11
authored
Aug 04, 2023
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs_drone_capture_flag: API documentation page
parent
98aa5f07
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1598 additions
and
4 deletions
+1598
-4
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_API_page_css.css
...m/web_page_module/ojs_drone_capture_flag_API_page_css.css
+62
-0
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_API_page_css.xml
...m/web_page_module/ojs_drone_capture_flag_API_page_css.xml
+344
-0
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_API_page_html.html
...web_page_module/ojs_drone_capture_flag_API_page_html.html
+472
-0
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_API_page_html.xml
.../web_page_module/ojs_drone_capture_flag_API_page_html.xml
+344
-0
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_API_page_js.js
...tem/web_page_module/ojs_drone_capture_flag_API_page_js.js
+20
-0
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_API_page_js.xml
...em/web_page_module/ojs_drone_capture_flag_API_page_js.xml
+346
-0
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_panel_js.js
...teItem/web_page_module/ojs_drone_capture_flag_panel_js.js
+6
-3
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_panel_js.xml
...eItem/web_page_module/ojs_drone_capture_flag_panel_js.xml
+1
-1
bt5/erp5_officejs_drone_capture_flag/SkinTemplateItem/portal_skins/erp5_officejs_drone_capture_flag/WebSection_getDroneCaptureFlagPrecacheManifestList.py
...lag/WebSection_getDroneCaptureFlagPrecacheManifestList.py
+3
-0
No files found.
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_API_page_css.css
0 → 100644
View file @
497aca11
/* 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
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_API_page_css.xml
0 → 100644
View file @
497aca11
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_API_page_html.html
0 → 100644
View file @
497aca11
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_API_page_html.xml
0 → 100644
View file @
497aca11
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_API_page_js.js
0 → 100644
View file @
497aca11
/*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
:
"
Drone API Documentation
"
,
selection_url
:
url
});
});
});
}(
window
,
rJS
));
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_API_page_js.xml
0 → 100644
View file @
497aca11
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_panel_js.js
View file @
497aca11
...
@@ -156,11 +156,13 @@
...
@@ -156,11 +156,13 @@
.
push
(
function
()
{
.
push
(
function
()
{
return
RSVP
.
hash
({
return
RSVP
.
hash
({
url_list
:
gadget
.
getUrlForList
([
url_list
:
gadget
.
getUrlForList
([
{
command
:
'
display
'
,
options
:
{
page
:
"
drone_capture_flag_script_page
"
}}
{
command
:
'
display
'
,
options
:
{
page
:
"
drone_capture_flag_script_page
"
}},
{
command
:
'
display
'
,
options
:
{
page
:
"
drone_capture_flag_api_page
"
}}
]),
]),
translation_list
:
gadget
.
getTranslationList
([
translation_list
:
gadget
.
getTranslationList
([
'
Editable
'
,
'
Editable
'
,
'
Run Game
'
'
Run Game
'
,
'
API documentation
'
])
])
});
});
})
})
...
@@ -168,7 +170,8 @@
...
@@ -168,7 +170,8 @@
var
editable_value
=
[],
var
editable_value
=
[],
element_list
=
[],
element_list
=
[],
icon_and_key_list
=
[
icon_and_key_list
=
[
'
puzzle-piece
'
,
null
'
puzzle-piece
'
,
null
,
'
paperclip
'
,
null
];
];
for
(
i
=
0
;
i
<
result_dict
.
url_list
.
length
;
i
+=
1
)
{
for
(
i
=
0
;
i
<
result_dict
.
url_list
.
length
;
i
+=
1
)
{
...
...
bt5/erp5_officejs_drone_capture_flag/PathTemplateItem/web_page_module/ojs_drone_capture_flag_panel_js.xml
View file @
497aca11
...
@@ -256,7 +256,7 @@
...
@@ -256,7 +256,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
82444688.11
</float>
<float>
16
91175603.36
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_drone_capture_flag/SkinTemplateItem/portal_skins/erp5_officejs_drone_capture_flag/WebSection_getDroneCaptureFlagPrecacheManifestList.py
View file @
497aca11
...
@@ -8,6 +8,9 @@ url_list = [
...
@@ -8,6 +8,9 @@ url_list = [
"gadget_erp5_panel_drone_capture_flag.js"
,
"gadget_erp5_panel_drone_capture_flag.js"
,
"gadget_erp5_page_drone_capture_flag_fixedwingdrone.js"
,
"gadget_erp5_page_drone_capture_flag_fixedwingdrone.js"
,
"gadget_erp5_page_drone_capture_flag_enemydrone.js"
,
"gadget_erp5_page_drone_capture_flag_enemydrone.js"
,
"gadget_erp5_page_drone_capture_flag_api_page.html"
,
"gadget_erp5_page_drone_capture_flag_api_page.js"
,
"gadget_erp5_page_drone_capture_flag_api_page.css"
,
"assets/map/terrain.jpg"
,
"assets/map/terrain.jpg"
,
"assets/map/map.babylon"
,
"assets/map/map.babylon"
,
"assets/drone/drone.babylon"
,
"assets/drone/drone.babylon"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment