[CalendarServer-changes] [12802] CalendarServer/trunk/calendarserver/webadmin/work.xhtml
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 4 15:14:01 PST 2014
Revision: 12802
http://trac.calendarserver.org//changeset/12802
Author: wsanchez at apple.com
Date: 2014-03-04 15:14:01 -0800 (Tue, 04 Mar 2014)
Log Message:
-----------
center the chart
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/webadmin/work.xhtml
Modified: CalendarServer/trunk/calendarserver/webadmin/work.xhtml
===================================================================
--- CalendarServer/trunk/calendarserver/webadmin/work.xhtml 2014-03-04 23:07:46 UTC (rev 12801)
+++ CalendarServer/trunk/calendarserver/webadmin/work.xhtml 2014-03-04 23:14:01 UTC (rev 12802)
@@ -11,28 +11,34 @@
<style>
- .bar {
- fill: steelblue;
- }
+ #work_queue_chart {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ }
- .bar:hover {
- fill: brown;
- }
+ .bar {
+ fill: steelblue;
+ }
- .axis text {
- font: 10px sans-serif;
- }
+ .bar:hover {
+ fill: brown;
+ }
- .axis path, .axis line {
- fill: none;
- stroke: #000;
- shape-rendering: crispEdges;
- }
+ .axis text {
+ font: 10px sans-serif;
+ }
- .x.axis path {
- display: none;
- }
+ .axis path, .axis line {
+ fill: none;
+ stroke: #000;
+ shape-rendering: crispEdges;
+ }
+ .x.axis path {
+ display: none;
+ }
+
</style>
<script src="http://d3js.org/d3.v3.min.js"></script>
@@ -138,7 +144,7 @@
// Select chart
var chart =
- d3.select("#work_queues_chart")
+ d3.select("#work_queue_chart")
.attr("width", outerWidth)
.attr("height", outerHeight)
;
@@ -240,7 +246,7 @@
<h1><t:slot name="title" /></h1>
- <svg id="work_queues_chart" />
+ <svg id="work_queue_chart" />
</body>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140304/c78072cd/attachment.html>
More information about the calendarserver-changes
mailing list