# HG changeset patch # User sean # Date 1439895955 -7200 # Node ID a43fa30655e92b6643b49b3324dc3c56f76bc6d0 # Parent accefaf00c6a57bd0f2959c4c5e3a4df345d5092 better alignment of the top-bar diff -r accefaf00c6a -r a43fa30655e9 doc/connect_with_mon/bottledash.alert --- a/doc/connect_with_mon/bottledash.alert Fri Aug 14 15:37:52 2015 +0200 +++ b/doc/connect_with_mon/bottledash.alert Tue Aug 18 13:05:55 2015 +0200 @@ -30,12 +30,11 @@ getopts ("S:s:g:h:t:l:f:u"); $ALERT = $opt_u ? "UPALERT" : "ALERT"; -$SERVICE = @ARGV; my $server_endpoint = "http://localhost:8000/updown"; my $ua = LWP::UserAgent->new; my $req = HTTP::Request->new(POST => $server_endpoint); $req->header('content-type' => 'x-www-form-urlencoded'); -my $post_data = "service=$SERVICE&status=$ALERT"; +my $post_data = "service=@ARGV&status=$ALERT"; $req->content($post_data); my $resp = $ua->request($req); diff -r accefaf00c6a -r a43fa30655e9 static/dash_style.css --- a/static/dash_style.css Fri Aug 14 15:37:52 2015 +0200 +++ b/static/dash_style.css Tue Aug 18 13:05:55 2015 +0200 @@ -21,6 +21,21 @@ padding-top: 8px; padding-bottom: 8px; font-family: Arial, Helvetica, sans-serif; + color: white; + text-align:center; +} + +#top_left{ + float: left; +} + +#top_center{ + display: inline-block; + float: center; +} + +#top_right{ + float: right; } .tile{ diff -r accefaf00c6a -r a43fa30655e9 views/bottledash_view.tpl --- a/views/bottledash_view.tpl Fri Aug 14 15:37:52 2015 +0200 +++ b/views/bottledash_view.tpl Tue Aug 18 13:05:55 2015 +0200 @@ -71,7 +71,6 @@ - + + +
+ Synced: 0 Minutes Ago +
+ + % end