This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
2017-04-07 11:32:49 +02:00
|
|
|
<!-- Funktionen: -->
|
|
|
|
<!-- process_radius ANZAHL MAXANZAHL RADIUS -->
|
|
|
|
<!-- procent ANZAHL MAXANZAHL -->
|
|
|
|
<!-- ex. {procent .Count 10}%-->
|
2017-04-04 23:21:05 +02:00
|
|
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
|
|
<g class="arcs">
|
|
|
|
<circle cx="50" cy="50" r="40" fill="#fff" stroke="#aaa" stroke-width="5"/>
|
|
|
|
<circle cx="50" cy="50" r="40" fill="none" stroke="#26b" stroke-width="5" stroke-dasharray="251.33" stroke-dashoffset="{{process_radius .Count 10 40}}"/>
|
|
|
|
</g>
|
2017-04-07 11:32:49 +02:00
|
|
|
<text x="50" y="65" fill="#555" text-anchor="middle" style="font: 50px Roboto,Verdana,sans-serif;">{{.Count}}</text>
|
2017-04-04 23:21:05 +02:00
|
|
|
</svg>
|