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}
This commit is contained in:
Alexey Nikolaenko 2016-06-12 11:38:36 +01:00 committed by GitHub
parent 608e6925ab
commit 7549977ef1

View file

@ -1,7 +1,7 @@
<!-- StatusCake --> <!-- StatusCake -->
{% if STATUSCAKE['trackid'] %} {% if STATUSCAKE['trackid'] %}
<a href="https://www.statuscake.com" title="{{ SITENAME }} Uptime"> <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=6" alt="{{ SITENAME }} Uptime" width="96" height="15"/> <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> </a>
{% endif %} {% endif %}