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
Boxiang Sun
slapos.toolbox
Commits
48eeebec
Commit
48eeebec
authored
Jul 17, 2014
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runner: correctly displays right panel in view /viewLog
parent
a85d892f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
slapos/runner/static/css/styles.css
slapos/runner/static/css/styles.css
+4
-0
slapos/runner/static/js/scripts/process.js
slapos/runner/static/js/scripts/process.js
+5
-0
No files found.
slapos/runner/static/css/styles.css
View file @
48eeebec
...
@@ -434,6 +434,10 @@ padding: 10px;height: 80px;padding-bottom:15px;}
...
@@ -434,6 +434,10 @@ padding: 10px;height: 80px;padding-bottom:15px;}
.gradient
{
background-color
:
#f4f4f4
;
background
:
-moz-linear-gradient
(
#f4f4f4
,
#ececec
);
background
:
-webkit-linear-gradient
(
#f4f4f4
,
#ececec
);
-ms-filter
:
"progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4',endColorstr='#ececec')"
;
background
:
linear-gradient
(
#f4f4f4
,
#ececec
);}
.gradient
{
background-color
:
#f4f4f4
;
background
:
-moz-linear-gradient
(
#f4f4f4
,
#ececec
);
background
:
-webkit-linear-gradient
(
#f4f4f4
,
#ececec
);
-ms-filter
:
"progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4',endColorstr='#ececec')"
;
background
:
linear-gradient
(
#f4f4f4
,
#ececec
);}
#slapstate
{
display
:
none
;
}
.log_content
{
.log_content
{
border
:
solid
1px
#519ADA
;
border
:
solid
1px
#519ADA
;
padding
:
2px
;
padding
:
2px
;
...
...
slapos/runner/static/js/scripts/process.js
View file @
48eeebec
...
@@ -100,6 +100,11 @@ function getRunningState() {
...
@@ -100,6 +100,11 @@ function getRunningState() {
}
else
if
(
data
.
software
.
state
)
{
}
else
if
(
data
.
software
.
state
)
{
processType
=
"
Software
"
;
processType
=
"
Software
"
;
}
}
//show accurate right panel
if
(
running
)
{
$
(
"
#slapstate
"
).
show
();
$
(
"
#openloglist
"
).
hide
();
}
writeLogs
(
data
);
writeLogs
(
data
);
setRunningState
(
data
);
setRunningState
(
data
);
if
(
data
.
result
)
{
if
(
data
.
result
)
{
...
...
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