| 2a0c09c0 Andy McCall ↶ |
1 |
{# The year as a signal (oxygenhub#217): changes pushed each day of the |
| 2 |
last year, coloured by repository, the share pushed via agent tokens as a |
| 3 |
violet trace, releases on the peaks. Drawn by the script below from the |
| 4 |
page's JSON; nothing is fetched. #} |
| 5 |
<section class="card-box pulse-box" aria-label="Changes over the last year"> |
| c0095389 Andy McCall ↶ |
6 |
<div class="card-head"><h2 id="pulse-title">Last 12 months</h2><span class="pulse-total" id="pulse-total" data-total="{{ pulse_total }}">{{ pulse_total }}</span><span class="small mute">changes pushed</span> |
| 2a0c09c0 Andy McCall ↶ |
7 |
<div class="pulse-legend more" id="pulse-legend"></div></div> |
| 8 |
{% if pulse_total == 0 %}<p class="empty small">No changes pushed in the last year.</p>{% else %} |
| 9 |
<div class="pulse-stage" id="pulse-stage"><div class="pulse-card" id="pulse-card" aria-live="polite"></div></div> |
| 10 |
<script type="application/json" id="pulse-data">{{ pulse|safe }}</script> |
| a7aa76ac Andy McCall |
11 |
<script src="/static/pulse.js?v={{ shell.assets() }}" defer></script> |
| 2a0c09c0 Andy McCall ↶ |
12 |
{% endif %} |
| 13 |
</section> |