Skip to content
Snippets Groups Projects
Commit 0274da32 authored by Chad Hanna's avatar Chad Hanna
Browse files

online webpages: tweaks

parent 3e193026
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ def livetime_plot(disconturl, livetimeurl, xlabel = "", ylabel = "", title = "")
explode = [0.0, 0, 0.15]
labels = ["Dead : %g (s)" % dt, "Live : %g (s)" % lt, "Drop : %g (s)" % discont]
h.pie(data, shadow=True, explode = explode, labels = labels, autopct='%1.1f%%', colors = ('0.5', '1.0', 'r')) #dropped is bad so we make it red
h.pie(data, shadow=True, explode = explode, labels = labels, autopct='%1.1f%%', colors = ('0.5', '1.0', (0.7, 0.7, 1.)))
plt.xlabel(xlabel)
plt.ylabel(ylabel)
......@@ -152,6 +152,7 @@ print """
<meta http-equiv="refresh" content="300">
</head>
<body bgcolor=#E0E0E0>
<img src="../lcbo.jpg"> <font size=10>Low-latency Compact Binary Online</font><hr><br>
"""
print "<table face='Arial'>"
......
......@@ -195,7 +195,9 @@ print """
"""
# title
print "<center><h1>Low-latency Compact Binary Online (LCBO) summary %s: %d - %s </h1></center><br>" % ("".join(ifos), int(now()), time.strftime("%a, %d %b %Y %H:%M:%S", time.localtime()))
print """
<font size=10><img src="../lcbo.jpg"> Low-latency Compact Binary Online </font><font size=6 color=#707070><b><right>%s: %d - %s </right></b><br></font><hr><br>
""" % ("".join(sorted(ifos)), int(now()), time.strftime("%a, %d %b %Y %H:%M:%S %Z", time.localtime()))
# start a table
print "<table>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment