whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Colour Legend
Date Wed, 06 Apr 2016 00:55:34 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  05a255c   Colour Legend
05a255c is described below

commit 05a255c48e5ec201aedfac4638a854947ee9df29
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Apr 6 01:55:26 2016 +0100

    Colour Legend
---
 www/status/css/status.css | 10 +++++-----
 www/status/index.cgi      | 15 +++++++++++++++
 2 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/www/status/css/status.css b/www/status/css/status.css
index 8623412..7290ae4 100644
--- a/www/status/css/status.css
+++ b/www/status/css/status.css
@@ -39,27 +39,27 @@ img.logo {
   margin-right: 5px;
 }
 
-a.list-group-item.alert-success {
+a.list-group-item.alert-success, .alert-success {
   color: #3c763d;
   background-color: #dff0d8;
 }
 
-a.list-group-item.alert-info {
+a.list-group-item.alert-info, .alert-info {
   color: #31708f;
   background-color: #d9edf7;
 }
 
-a.list-group-item.alert-warning {
+a.list-group-item.alert-warning, .alert-warning {
   color: #8a6d3b;
   background-color: #fcf8e3;
 }
 
-a.list-group-item.alert-danger {
+a.list-group-item.alert-danger, .alert-danger {
   background-color: #f2dede;
   color: #a94442;
 }
 
-a.list-group-item.alert-fatal {
+a.list-group-item.alert-fatal, .alert-fatal {
   background-color: #ff0000;
   color: #FFFFFF;
 }
diff --git a/www/status/index.cgi b/www/status/index.cgi
index 1716f1f..59767b2 100755
--- a/www/status/index.cgi
+++ b/www/status/index.cgi
@@ -54,6 +54,21 @@ print <<-EOF
       Loading...
     </div>
 
+    <table>
+    <tr>
+      <td class="alert-success">Success</td>
+      <td>&nbsp;</td>
+      <td class="alert-info">Info</td>
+      <td>&nbsp;</td>
+      <td class="alert-warning">Warning</td>
+      <td>&nbsp;</td>
+      <td class="alert-danger">Danger</td>
+      <td>&nbsp;</td>
+      <td class="alert-fatal">Fatal</td>
+    </tr>
+    </table>
+    <br/>
+
     <p>
       This status is monitored by:
       <a href="https://www.pingmybox.com/dashboard?location=470">Ping My

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message