Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.toolbox
Commits
ae56309d
Commit
ae56309d
authored
Jul 16, 2014
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runner: update js to correctly display new /slapgridResult structure
parent
44643098
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
slapos/runner/static/js/scripts/process.js
slapos/runner/static/js/scripts/process.js
+2
-2
No files found.
slapos/runner/static/js/scripts/process.js
View file @
ae56309d
...
...
@@ -186,7 +186,7 @@ function setRunningState(data) {
$
(
"
#running
"
).
show
();
running
=
true
;
//change run menu title and style
if
(
data
.
software
)
{
if
(
data
.
software
.
state
)
{
if
(
$
(
"
#running
"
).
children
(
'
span
'
).
length
===
0
)
{
$
(
"
#softrun
"
).
removeClass
(
'
slapos_run
'
);
$
(
"
#softrun
"
).
addClass
(
'
slapos_stop
'
);
...
...
@@ -194,7 +194,7 @@ function setRunningState(data) {
}
processType
=
"
Software
"
;
}
if
(
data
.
instance
)
{
if
(
data
.
instance
.
state
)
{
///Draft!!
if
(
$
(
"
#running
"
).
children
(
'
span
'
).
length
===
0
)
{
$
(
"
#softrun
"
).
removeClass
(
'
slapos_run
'
);
...
...
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