Fix bootstrap

This commit is contained in:
Michel Roux 2013-11-01 00:46:53 +01:00
parent 15d181d577
commit 047078a09e
3 changed files with 6 additions and 2 deletions

View File

@ -40,6 +40,10 @@ pre {
border-top-right-radius: 0 !important;
}
.span9 {
float: right;
}
@media (max-width: 767px) {
.affix {
position: relative;

View File

@ -26,7 +26,7 @@ global $servers;
<?php endforeach; ?>
</ul>
</div>
<div class="span10">
<div class="span9">
<?php foreach ($servers as $pays => $ssh): ?>
<h1><?php echo $pays; ?></h1>
<?php foreach ($ssh as $id => $param): ?>

View File

@ -32,7 +32,7 @@ function callRequest(action, section, message) {
var splitLabel = xhr.responseText.split("\n").reverse();
label.classList.remove('label-warning');
if (splitLabel[1] !== 'nothing to commit (working directory clean)' || xhr.responseText.match(/by [0-9]* commit/)) {
if (splitLabel[1].match(/nothing to commit/) || xhr.responseText.match(/by [0-9]* commit/)) {
label.classList.add('label-important');
label.innerHTML = 'Update needed';
} else {