feat(pol): refactor art 13 banner, use native bootstrap, fuck voss

This commit is contained in:
Daniel Malik 2019-03-23 00:05:21 +01:00
parent 1cfbd975f2
commit 374e21aa3d
No known key found for this signature in database
GPG Key ID: 5C910D027D510C07
2 changed files with 56 additions and 61 deletions

View File

@ -30,13 +30,13 @@
</ul> </ul>
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<script> <script>
$.getJSON("https://status.chaospott.de/api/").done(function(data) { $.getJSON("https://status.chaospott.de/api/").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");
} else { } else {
$( "#status_closed" ).css( "display", "block" ); $("#status_closed").css("display", "block");
$( "#status_bar" ).css( "borderColor", "#D9534F" ); $("#status_bar").css("borderColor", "#D9534F");
} }
}); });
</script> </script>
@ -54,3 +54,6 @@
</div> </div>
</div> </div>
</nav> </nav>
<div style="margin-bottom: 0;" class="alert alert-warning text-center">
<p><a href="https://pledge2019.eu/">Verhindert Artikel 13!</a> Ruft eure Abgeordneten an! Geht demonstrieren!</p>
</div>

View File

@ -12,14 +12,6 @@
</div> </div>
</div> </div>
</div> </div>
<div style="background-color: rgb(244,232,74); padding-top: 5px" class="">
<h2 align="center">
<a href="https://pledge2019.eu/">Verhindert Artikel 13!</a>
</h2>
<p align="center">
Das Internet, wie wir es kennen, ist in Gefahr. Verhindert die Zensur durch Uploadfilter! Ruft eure Abgeordneten an! Geht demonstrieren!
</p>
</div>
{{ content }} {{ content }}
{% include footer.html %} {% include footer.html %}
</div> </div>