kevinburke / doony

UI Improvements for Jenkins
http://doony.org
Other
970 stars 116 forks source link

the "not built" status isn't stylized #59

Closed jorbsd closed 10 years ago

jorbsd commented 10 years ago

the grey bubble for "not built" isn't in the doony style

jorbsd commented 10 years ago
diff --git a/doony.css b/doony.css
index d2ff6df..3ec8470 100644
--- a/doony.css
+++ b/doony.css
@@ -809,6 +809,13 @@ a.yuimenulabel, a.yuimenuitemlabel,
   background-image: radial-gradient(circle at 3px 3px, #f0ad4e 0%, #d58512 100%);
 }

+.doony-circle-notbuilt {
+  background: #ababab;
+  background-image: -moz-radial-gradient(3px 3px 45deg, circle cover, #ababab 0%, #787878 100%);
+  background-image: -webkit-radial-gradient(3px 3px, circle cover, #ababab, #787878);
+  background-image: radial-gradient(circle at 3px 3px, #ababab 0%, #787878 100%);
+}
+
 .doony-theme {
   color: grey;
   margin-right: 10px;
diff --git a/doony.js b/doony.js
index d43061f..1f90b0e 100644
--- a/doony.js
+++ b/doony.js
@@ -11,7 +11,7 @@
  * of the Software, and to permit persons to whom the Software is furnished to do
  * so, subject to the following conditions:

- * The above copyright notice and this permission notice shall be included in
+ * The above ltcopyright notice and this permission notice shall be included in
  * all copies or substantial portions of the Software.

  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
@@ -570,6 +570,7 @@
         replaceBouncingFloatyBall("img[src*='grey_anime.gif']", '#999');
         replaceBouncingFloatyBall("img[src*='aborted_anime.gif']", '#999');
         replaceBouncingFloatyBall("img[src*='yellow_anime.gif']", '#f0ad4e');
+        replaceBouncingFloatyBall("img[src*='yellow_anime.gif']", '#f0ad4e');
     }, 10);
     setInterval(function() {
         replaceFloatyBall("img[src*='/grey.png']", "aborted");
@@ -577,6 +578,7 @@
         replaceFloatyBall("img[src*='/blue.png']", "success");
         replaceFloatyBall("img[src*='/red.png']", "failure");
         replaceFloatyBall("img[src*='/yellow.png']", "warning");
+        replaceFloatyBall("img[src*='/nobuilt.png']", "notbuilt");
     }, 10);

     if (isJobHomepage(window.location.pathname)) {
jorbsd commented 10 years ago

Patch that seems to be working for me, don't have a setup for minify for right now.

kevinburke commented 10 years ago

Applied the patch and pushed in bb2d566