From 047078a09ed237673d2bcf9becb8645b09f6b1ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xe=CC=81fir=20Destiny?= Date: Fri, 1 Nov 2013 00:46:53 +0100 Subject: [PATCH] Fix bootstrap --- css/styles.css | 4 ++++ index.php | 2 +- js/app.js | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/css/styles.css b/css/styles.css index b121e60..7dc34d7 100644 --- a/css/styles.css +++ b/css/styles.css @@ -40,6 +40,10 @@ pre { border-top-right-radius: 0 !important; } +.span9 { + float: right; +} + @media (max-width: 767px) { .affix { position: relative; diff --git a/index.php b/index.php index fcdc887..0db787e 100644 --- a/index.php +++ b/index.php @@ -26,7 +26,7 @@ global $servers; -
+
$ssh): ?>

$param): ?> diff --git a/js/app.js b/js/app.js index 013210b..800d92d 100644 --- a/js/app.js +++ b/js/app.js @@ -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 {