Commit 6fd3f978 authored by Leo Iannacone's avatar Leo Iannacone

if header is hidden show architecture and version in footer

parent b6264639
......@@ -5,6 +5,7 @@
* [new] add page commands which documents the tasks interface of Deb-o-Matic
* [new] better tooltip on action buttons (such as Download, View al file, Get all)
* [new] focus debomatic architecture in header description
* [new] if header is hidden show architecture and version in footer
# 0.4.2 (2014-06-15)
* [fix] calculate pidfile for debomatic status check after merging configurations
......
......@@ -134,9 +134,11 @@ function Page_Generic() {
this.preferences = function () {
if (config.preferences.header) {
$('#pageheader').show();
$('footer .info').hide();
$('.navbar .home-link').hide();
} else {
$('#pageheader').hide();
$('footer .info').show();
$('.navbar .home-link').show();
}
......
......@@ -102,6 +102,10 @@ footer {
border-top: 1px solid #f0f0f0;
}
footer .info {
margin-right: 5px;
}
#packages .search {
margin-bottom: 5px;
}
......
......@@ -4,6 +4,7 @@
<small class="copyright pull-right text-muted">
Fork me on <a href="https://github.com/LeoIannacone/debomatic-webui">github</a>
</small>
<small class="info pull-right text-muted"><%= web.debomatic.architecture %> (<%= version %>)</small>
<div id="status" class="clearfix">
<span class="label label-default">status:</span>
<span class="debomatic idle text-muted">Idle</span>
......
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