|
38 | 38 | color: #fff; |
39 | 39 | } |
40 | 40 |
|
| 41 | + .graph .bar { |
| 42 | + margin-bottom: 0; |
| 43 | + } |
| 44 | + |
| 45 | + .graph .bar td, |
| 46 | + .graph .bar th { |
| 47 | + line-height: 0; |
| 48 | + } |
| 49 | + |
41 | 50 | .issue-graph { |
42 | 51 | table-layout: fixed; |
43 | 52 | } |
|
54 | 63 | color: #848296; |
55 | 64 | } |
56 | 65 |
|
57 | | - .legend .all, |
58 | | - .issue-graph-bar .all { |
| 66 | + #events-seen .legend .all, |
| 67 | + #events-seen .bar .all { |
59 | 68 | background-color: #ebe9f7; |
60 | 69 | } |
61 | 70 |
|
62 | | - .legend .resolved, |
63 | | - .issue-graph-bar .resolved { |
| 71 | + #events-seen .legend .resolved, |
| 72 | + #events-seen .bar .resolved { |
64 | 73 | background-color: #6C5FC7; |
65 | 74 | } |
66 | 75 |
|
|
93 | 102 | vertical-align: middle; |
94 | 103 | } |
95 | 104 |
|
96 | | - .issue-graph, .issue-graph-bar { |
| 105 | + .issue-graph, .issue-graph .bar { |
97 | 106 | margin-bottom: 0; |
98 | 107 | } |
99 | 108 |
|
100 | | - .issue-graph-bar td { |
| 109 | + .issue-graph .bar td { |
101 | 110 | font-size: 0; |
102 | 111 | } |
103 | 112 |
|
104 | 113 | .project-breakdown { |
105 | | - margin-bottom: 40px; |
| 114 | + margin-bottom: 20px; |
106 | 115 | } |
107 | 116 |
|
108 | 117 | .project-breakdown .graph { |
109 | | - margin-bottom: 10px; |
110 | 118 | table-layout: fixed; |
111 | 119 | } |
112 | 120 |
|
|
228 | 236 | padding-right: 20px; |
229 | 237 | } |
230 | 238 |
|
| 239 | + #history-calendars h4 { |
| 240 | + margin-bottom: 0px; |
| 241 | + } |
| 242 | + |
231 | 243 | </style> |
232 | 244 |
|
233 | 245 | <style type="text/css" inline="false"> |
|
253 | 265 | text-align: center !important; |
254 | 266 | } |
255 | 267 |
|
256 | | - .issue-graph-bar .all { |
| 268 | + #events-seen .bar .all { |
257 | 269 | background-color: #6C5FC7 !important; |
258 | 270 | } |
259 | 271 |
|
|
302 | 314 | height: 8px !important; |
303 | 315 | } |
304 | 316 |
|
305 | | - #history-calendars h4 { |
306 | | - margin-bottom: 0px !important; |
307 | | - } |
308 | | - |
309 | 317 | .spectrum { |
310 | 318 | margin: 20px 0 0 !important; |
311 | 319 | text-align: center !important; |
312 | 320 | } |
313 | 321 |
|
314 | | - .spectrum .range span { |
315 | | - width: 10px !important; |
316 | | - } |
317 | | - |
318 | 322 | } |
319 | 323 |
|
320 | 324 | </style> |
@@ -363,7 +367,7 @@ <h4>Events Seen {{ duration.noun|title }}</h4> |
363 | 367 | {% with report.series.maximum as max %} |
364 | 368 | {% for timestamp, metrics in report.series.points %} |
365 | 369 | <td valign="bottom" style="width: {% widthratio 1 report.series.points|length 100 %}%"> |
366 | | - <table class="issue-graph-bar"> |
| 370 | + <table class="bar"> |
367 | 371 | {% if metrics.resolved or metrics.unresolved %} |
368 | 372 | <tr> |
369 | 373 | <td class="all" height="{% widthratio metrics.unresolved max 52 %}px" title="{{ metrics.unresolved }}"> </td> |
@@ -459,25 +463,27 @@ <h4>Events by Project</h4> |
459 | 463 | <tr> |
460 | 464 | {% for timestamp, values in series.points %} |
461 | 465 | <td valign="bottom" class="bar" style="height: {{ height }}px; width: {% widthratio 1 series.points|length 100 %}%"> |
462 | | - <table> |
| 466 | + <table class="bar"> |
463 | 467 | {% for key, count in values %} |
464 | 468 | <tr> |
465 | 469 | <td height="{% widthratio count series.maximum height %}" style="background-color: {{ key.color }};"> </td> |
466 | 470 | </tr> |
467 | 471 | {% empty %} |
468 | 472 | <tr> |
469 | 473 | <td height="1" style="background-color: #ebe9f7;"></td> |
470 | | - </td> |
471 | | - {% endfor %} |
472 | | - <tr> |
473 | | - <td class="label"> |
474 | | - {{ timestamp|date:duration.date_format }} |
475 | 474 | </tr> |
476 | | - </td> |
| 475 | + {% endfor %} |
477 | 476 | </table> |
478 | 477 | </td> |
479 | 478 | {% endfor %} |
480 | 479 | </tr> |
| 480 | + <tr> |
| 481 | + {% for timestamp, values in series.points %} |
| 482 | + <td class="label" style="width: {% widthratio 1 series.points|length 100 %}%"> |
| 483 | + {{ timestamp|date:duration.date_format }} |
| 484 | + </td> |
| 485 | + {% endfor %} |
| 486 | + </tr> |
481 | 487 | </table> |
482 | 488 |
|
483 | 489 | <table class="summary"> |
@@ -519,7 +525,7 @@ <h4>Events by Project</h4> |
519 | 525 | <th style="width: 300px;"> |
520 | 526 | <h4>3 Month History</h4> |
521 | 527 | </th> |
522 | | - <td class="spectrum"> |
| 528 | + <td class="spectrum" style="vertical-align: bottom;"> |
523 | 529 | Less Events |
524 | 530 | <div class="range">{% for color in report.calendar.legend %}<span style="background-color: {{ color }}"> </span>{% endfor %}</div> |
525 | 531 | More Events |
|
0 commit comments