Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arnaud Véron
slapos.core
Commits
07b5e0ea
Commit
07b5e0ea
authored
May 16, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: Fixup typo
Drop non required new line (it will be added anyway).
parent
114d59fa
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_add_instance_tree_js.js
..._module/rjs_gadget_erp5_page_slap_add_instance_tree_js.js
+1
-1
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_add_instance_tree_js.xml
...module/rjs_gadget_erp5_page_slap_add_instance_tree_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_parameter_form_js.js
...age_module/rjs_gadget_erp5_page_slap_parameter_form_js.js
+4
-4
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_parameter_form_js.xml
...ge_module/rjs_gadget_erp5_page_slap_parameter_form_js.xml
+2
-2
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_add_instance_tree_js.js
View file @
07b5e0ea
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
'
parameter
'
:
{
'
parameter
'
:
{
'
json_url
'
:
doc
.
url_string
.
split
(
'
?
'
)[
0
]
+
"
.json
"
,
'
json_url
'
:
doc
.
url_string
.
split
(
'
?
'
)[
0
]
+
"
.json
"
,
//'json_url': "https://lab.node.vifib.com/nexedi/slapos/raw/master/software/kvm/software.cfg.json",
//'json_url': "https://lab.node.vifib.com/nexedi/slapos/raw/master/software/kvm/software.cfg.json",
'
parameter_hash
'
:
btoa
(
'
<?xml version="1.0" encoding="utf-8" ?><instance
></instance
>
'
),
'
parameter_hash
'
:
btoa
(
'
<?xml version="1.0" encoding="utf-8" ?><instance
/
>
'
),
'
restricted_softwaretype
'
:
false
'
restricted_softwaretype
'
:
false
}
}
};
};
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_add_instance_tree_js.xml
View file @
07b5e0ea
...
@@ -279,7 +279,7 @@
...
@@ -279,7 +279,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
86.45437.22132.61764
</string>
</value>
<value>
<string>
9
99.2068.62564.17
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -297,7 +297,7 @@
...
@@ -297,7 +297,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
02158386.55
</float>
<float>
16
52724671.12
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_parameter_form_js.js
View file @
07b5e0ea
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
function
jsonDictToParameterXML
(
json
)
{
function
jsonDictToParameterXML
(
json
)
{
var
parameter_id
,
var
parameter_id
,
xml_output
=
$
(
$
.
parseXML
(
'
<?xml version="1.0" encoding="UTF-8" ?>
\n
<instance />
'
));
xml_output
=
$
(
$
.
parseXML
(
'
<?xml version="1.0" encoding="UTF-8" ?><instance />
'
));
// Used by serialisation XML
// Used by serialisation XML
for
(
parameter_id
in
json
)
{
for
(
parameter_id
in
json
)
{
if
(
json
.
hasOwnProperty
(
parameter_id
))
{
if
(
json
.
hasOwnProperty
(
parameter_id
))
{
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
}
}
function
jsonDictToParameterJSONInXML
(
json
)
{
function
jsonDictToParameterJSONInXML
(
json
)
{
var
xml_output
=
$
(
$
.
parseXML
(
'
<?xml version="1.0" encoding="UTF-8" ?>
\n
<instance />
'
));
var
xml_output
=
$
(
$
.
parseXML
(
'
<?xml version="1.0" encoding="UTF-8" ?><instance />
'
));
// Used by serialisation XML
// Used by serialisation XML
$
(
'
instance
'
,
xml_output
).
append
(
$
(
'
instance
'
,
xml_output
).
append
(
$
(
'
<parameter />
'
,
xml_output
)
$
(
'
<parameter />
'
,
xml_output
)
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
value
:
json_field
[
'
enum
'
][
option_index
],
value
:
json_field
[
'
enum
'
][
option_index
],
text
:
json_field
[
'
enum
'
][
option_index
],
text
:
json_field
[
'
enum
'
][
option_index
],
"
data-format
"
:
data_format
,
"
data-format
"
:
data_format
,
selected
:
true
selected
:
selected
}));
}));
}
}
}
}
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_parameter_form_js.xml
View file @
07b5e0ea
...
@@ -280,7 +280,7 @@
...
@@ -280,7 +280,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
1000.1
4042.12571.63982
</string>
</value>
<value>
<string>
1000.1
8191.48252.54374
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -298,7 +298,7 @@
...
@@ -298,7 +298,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16527
12920.56
</float>
<float>
16527
24487.39
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
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