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
7
Merge Requests
7
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
59c9c360
Commit
59c9c360
authored
Jul 22, 2014
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runner: /viewLog now displays the date of last build and run
parent
ea0d1c38
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
slapos/runner/static/css/styles.css
slapos/runner/static/css/styles.css
+3
-0
slapos/runner/static/js/scripts/process.js
slapos/runner/static/js/scripts/process.js
+2
-0
slapos/runner/templates/viewLog.html
slapos/runner/templates/viewLog.html
+4
-0
No files found.
slapos/runner/static/css/styles.css
View file @
59c9c360
...
...
@@ -510,6 +510,9 @@ padding: 10px;height: 80px;padding-bottom:15px;}
font-size
:
16px
;
}
.last_build
{
font-size
:
0.9em
;
}
.log_content_box
{
padding
:
10px
5px
;
font-size
:
14px
;
...
...
slapos/runner/static/js/scripts/process.js
View file @
59c9c360
...
...
@@ -98,6 +98,8 @@ function getRunningState() {
}
else
if
(
data
.
software
.
state
)
{
currentProcess
=
processTypes
.
software
;
}
$
(
"
#last_build_software
"
).
text
(
"
last build:
"
+
data
.
software
.
last_build
);
$
(
"
#last_build_instance
"
).
text
(
"
last run:
"
+
data
.
instance
.
last_build
);
//show accurate right panel
if
(
running
)
{
$
(
"
#slapstate
"
).
show
();
...
...
slapos/runner/templates/viewLog.html
View file @
59c9c360
...
...
@@ -37,6 +37,8 @@
<p>
Processing
</p>
<div
class=
"clear"
></div>
</div>
<p
id=
"last_build_software"
class=
"last_build"
></p><br/>
<div
class=
"clear"
></div>
<p>
SlapOS rebuild your software from source, allowing you to easily patch or add any free software.
<a
href=
"{{ url_for('viewLog', logfile='software.log') }}"
>
Learn how!
</a></p>
</div>
...
...
@@ -49,6 +51,8 @@
<p>
Waiting for starting
</p>
<div
class=
"clear"
></div>
</div>
<p
id=
"last_build_instance"
class=
"last_build"
></p><br/>
<div
class=
"clear"
></div>
<p>
SlapOS configure your running environment to match your needs.
<a
href=
"{{ url_for('viewLog', logfile='instance.log') }}"
>
Learn how!
</a></p>
</div>
...
...
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