You are here

opigno-statistics-circle-indicator.html.twig in Opigno statistics 3.x

Same filename and directory in other branches
  1. 8 templates/opigno-statistics-circle-indicator.html.twig

Default theme implementation to display the circle indicator.

File

templates/opigno-statistics-circle-indicator.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display the circle indicator.
  5. */
  6. #}
  7. <div class="indicator-wrapper">
  8. <svg class="indicator" viewBox="0 0 {{ width }} {{ height }}">
  9. <circle cx="{{ cx }}" cy="{{ cy }}" r="{{ radius }}"></circle>
  10. <path d="M{{ cx }},{{ cy }}
  11. L{{ cx }},0
  12. {% if not val_rad %}
  13. A{{ radius }},{{ radius }} 1 0,1 {{ cx }},{{ cy + radius }}
  14. {% endif %}
  15. A{{ radius }},{{ radius }} 1 0,1 {{ x }},{{ y }} z"></path>
  16. <circle class="inner" cx="{{ cx }}" cy="{{ cy }}" r="{{ radius - 6 }}"></circle>
  17. </svg>
  18. </div>