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
1
Merge Requests
1
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
Romain Courteaud
slapos.core
Commits
53f4fddc
Commit
53f4fddc
authored
Aug 17, 2022
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: change status gadget to support parameter configured on the gadget field
parent
37499954
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
8 deletions
+41
-8
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/gadget_slapos_status.js.js
...Item/portal_skins/slapos_cloud/gadget_slapos_status.js.js
+2
-0
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_certificate_login_view_js.xml
...e/rjs_gadget_erp5_page_slap_certificate_login_view_js.xml
+39
-8
No files found.
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/gadget_slapos_status.js.js
View file @
53f4fddc
...
...
@@ -234,6 +234,8 @@
'
status gadget did not receive jio_key and result values
'
);
}
// Save will force the gadget to be updated so
// result is empty.
var
state_dict
=
options
.
result
||
{};
state_dict
.
jio_key
=
options
.
jio_key
;
return
this
.
changeState
(
state_dict
);
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_certificate_login_view_js.xml
View file @
53f4fddc
...
...
@@ -16,6 +16,7 @@
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -69,6 +70,7 @@
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -78,9 +80,17 @@
<none/>
</value>
</item>
<item>
<key>
<string>
creators
</string>
</key>
<value>
<tuple>
<string>
zope
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_
erp5_page_slap_certificate_login_view
.js
</string>
</value>
<value>
<string>
gadget_
slapos_status
.js
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
...
...
@@ -90,12 +100,33 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
rjs_gadget_
erp5_page_slap_certificate_login_view
_js
</string>
</value>
<value>
<string>
rjs_gadget_
slapos_status
_js
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
en
</string>
</value>
</item>
<item>
<key>
<string>
modification_date
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<tuple>
<float>
1523884657.64
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Script
</string>
</value>
...
...
@@ -108,11 +139,11 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Gadget SlapOS
Certificate Login View
</string>
</value>
<value>
<string>
Gadget SlapOS
Status JS
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
00
3
</string>
</value>
<value>
<string>
00
1
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
...
...
@@ -198,7 +229,7 @@
</tuple>
<state>
<tuple>
<float>
1
691431608.8
3
</float>
<float>
1
513176912.2
3
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -247,7 +278,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
10
10.19559.12294.65348
</string>
</value>
<value>
<string>
10
02.12197.26478.31573
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -267,7 +298,7 @@
</tuple>
<state>
<tuple>
<float>
16
91437353.66
</float>
<float>
16
60733231.38
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -330,7 +361,7 @@
</tuple>
<state>
<tuple>
<float>
1
691431315.97
</float>
<float>
1
513176624.0
</float>
<string>
UTC
</string>
</tuple>
</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