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
Labels
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
cb192557
Commit
cb192557
authored
Aug 15, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: Minor fix on status gadget
parent
6ee586d5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_status_js.js
...mplateItem/web_page_module/rjs_gadget_slapos_status_js.js
+3
-5
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_status_js.xml
...plateItem/web_page_module/rjs_gadget_slapos_status_js.xml
+1
-1
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_status_js.js
View file @
cb192557
/*globals console, window, rJS, i18n, domsugar*/
/*globals console, window, rJS, i18n, domsugar
*/
/*jslint indent: 2, nomen: true, maxlen: 80*/
/*jslint indent: 2, nomen: true, maxlen: 80
*/
(
function
(
window
,
rJS
,
domsugar
)
{
(
function
(
window
,
rJS
,
domsugar
)
{
"
use strict
"
;
"
use strict
"
;
...
@@ -230,9 +230,7 @@
...
@@ -230,9 +230,7 @@
right_class
=
status_class
;
right_class
=
status_class
;
}
else
{
}
else
{
if
(
result
&&
result
.
partition
)
{
if
(
result
&&
result
.
partition
)
{
right_class
=
getComputePartitionStatus
(
right_class
=
getComputePartitionStatus
(
result
.
partition
);
{
compute_partition_news
:
result
.
partition
}
);
}
}
}
}
}
else
if
(
result
&&
result
.
portal_type
&&
}
else
if
(
result
&&
result
.
portal_type
&&
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_status_js.xml
View file @
cb192557
...
@@ -292,7 +292,7 @@
...
@@ -292,7 +292,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
58520198.62
</float>
<float>
16
60581838.54
</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