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
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
Klaus Wölfel
slapos.toolbox
Commits
5ee2f320
Commit
5ee2f320
authored
Apr 07, 2014
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runner: when runnin a command, load viewLog with logfile as parameter
parent
7dbcd5b4
Changes
1
Show 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 @
5ee2f320
...
@@ -130,7 +130,7 @@ function bindRun() {
...
@@ -130,7 +130,7 @@ function bindRun() {
}
else
{
}
else
{
if
(
!
isRunning
())
{
if
(
!
isRunning
())
{
setCookie
(
"
slapgridCMD
"
,
"
Software
"
);
setCookie
(
"
slapgridCMD
"
,
"
Software
"
);
window
.
location
.
href
=
$SCRIPT_ROOT
+
"
/viewLog
"
;
window
.
location
.
href
=
$SCRIPT_ROOT
+
"
/viewLog
?logfile=software.log
"
;
}
}
}
}
return
false
;
return
false
;
...
@@ -142,7 +142,7 @@ function bindRun() {
...
@@ -142,7 +142,7 @@ function bindRun() {
if
(
!
isRunning
())
{
if
(
!
isRunning
())
{
setCookie
(
"
slapgridCMD
"
,
"
Instance
"
);
setCookie
(
"
slapgridCMD
"
,
"
Instance
"
);
if
(
window
.
location
.
pathname
===
"
/viewLog
"
)
if
(
window
.
location
.
pathname
===
"
/viewLog
"
)
window
.
location
.
href
=
$SCRIPT_ROOT
+
"
/viewLog
"
;
window
.
location
.
href
=
$SCRIPT_ROOT
+
"
/viewLog
?logfile=instance.log
"
;
}
}
}
}
return
false
;
return
false
;
...
...
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