Fix bootstrap
This commit is contained in:
parent
15d181d577
commit
047078a09e
@ -40,6 +40,10 @@ pre {
|
|||||||
border-top-right-radius: 0 !important;
|
border-top-right-radius: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.span9 {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
.affix {
|
.affix {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -26,7 +26,7 @@ global $servers;
|
|||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="span10">
|
<div class="span9">
|
||||||
<?php foreach ($servers as $pays => $ssh): ?>
|
<?php foreach ($servers as $pays => $ssh): ?>
|
||||||
<h1><?php echo $pays; ?></h1>
|
<h1><?php echo $pays; ?></h1>
|
||||||
<?php foreach ($ssh as $id => $param): ?>
|
<?php foreach ($ssh as $id => $param): ?>
|
||||||
|
@ -32,7 +32,7 @@ function callRequest(action, section, message) {
|
|||||||
|
|
||||||
var splitLabel = xhr.responseText.split("\n").reverse();
|
var splitLabel = xhr.responseText.split("\n").reverse();
|
||||||
label.classList.remove('label-warning');
|
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.classList.add('label-important');
|
||||||
label.innerHTML = 'Update needed';
|
label.innerHTML = 'Update needed';
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user