added tls support for status file

This commit is contained in:
Timm 2015-12-06 02:42:31 +01:00
parent a2612d2c8c
commit 65612827f5

View File

@ -26,7 +26,7 @@
</ul> </ul>
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<script> <script>
$.getJSON("http://status.chaospott.de/status.json").done(function(data) { $.getJSON("https://status.chaospott.de/status.json").done(function(data) {
if(data.state.open) { if(data.state.open) {
$( "#status_open" ).css( "display", "block" ); $( "#status_open" ).css( "display", "block" );
$( "#status_bar" ).css( "borderColor", "#5CB85C" ); $( "#status_bar" ).css( "borderColor", "#5CB85C" );