flex/templates/partial/statuscake.html
Alexey Nikolaenko 7549977ef1 Allow to setup design for Status Case badge
Now it's possible to setup desired design with STATUSCAKE property.
Example: { 'trackid': 'id', 'days': 7, 'design': 4, 'rumid': id}
2016-06-12 11:38:36 +01:00

12 lines
578 B
HTML

<!-- StatusCake -->
{% if STATUSCAKE['trackid'] %}
<a href="https://www.statuscake.com" title="{{ SITENAME }} Uptime">
<img src="https://www.statuscake.com/App/button/index.php?Track={{ STATUSCAKE['trackid'] }}&amp;Days={{ STATUSCAKE['days'] }}&amp;Design={{ STATUSCAKE['design'] }}" alt="{{ SITENAME }} Uptime"/>
</a>
{% endif %}
{% if STATUSCAKE['rumid'] %}
<script type="text/javascript">var SC_RumID = {{ STATUSCAKE['rumid'] }};</script>
<script type="text/javascript" async src="https://www.statuscake.com/App/RUM/embed.js"></script>
{% endif %}
<!-- End StatusCake -->