whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/1] Commit de2f92b: add a logo
Date Sun, 17 Jan 2016 18:55:52 GMT
Commit de2f92b2d7af7871ef44fcf61a739916371adcf0:
    add a logo


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
www/status/css/status.css                                    | ++++++ 
www/status/index.cgi                                         | + 
www/status/js/status.js                                      | + -
------------------------------------------------------------
9 changes: 8 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/status/css/status.css b/www/status/css/status.css
index e26b596..2a9def8 100644
--- a/www/status/css/status.css
+++ b/www/status/css/status.css
@@ -2,6 +2,12 @@ body {
   padding: 0 15px;
 }
 
+img.logo {
+  width: 60px;
+  float: left;
+  margin-right: 10px;
+}
+
 .list-group.list-group-root {
   padding: 0;
   overflow: hidden;
diff --git a/www/status/index.cgi b/www/status/index.cgi
index 127fd81..1f2d7a7 100755
--- a/www/status/index.cgi
+++ b/www/status/index.cgi
@@ -44,6 +44,7 @@ print <<-EOF
   </head>
 
   <body>
+    <img src="../whimsy.svg" class="logo"/>
     <h1>Whimsy-Test Status</h1>
 
     <div class="list-group list-group-root well">
diff --git a/www/status/js/status.js b/www/status/js/status.js
index 5c8c23f..1fc418a 100644
--- a/www/status/js/status.js
+++ b/www/status/js/status.js
@@ -50,7 +50,7 @@ $(function() {
   // fetch status from the server
   $.get('status.json', function(status) {
     // remove 'loading...' line
-    $('.well').text('');
+    $('.list-group-root').text('');
 
     // replace with status
     listGroup(status.data, '', $('.well'));

Mime
View raw message