Commit 59c9c360 authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: /viewLog now displays the date of last build and run

parent ea0d1c38
......@@ -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;
......
......@@ -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();
......
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment