diff --git a/templates/base.html b/templates/base.html index e483c7c1fa3eec3b9538058df50ede858f258ca6..efc48165b3aa38e54ffd18e732a56348bc64990e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -81,6 +81,22 @@ {{ navbaricon(n) }} {% endfor %} + <li> + <a href="https://beta.video.fsmpi.rwth-aachen.de" style="padding: 10px 6px; margin-left: 1em; color: rgb(10, 156, 10);"> + <span aria-hidden="true" class="fa fa-external-link-square-alt"></span> + Zur neuen Seite + </a> + + <script> + $(function() { + $('a[href="https://beta.video.fsmpi.rwth-aachen.de"]').on('click', function(e) { + e.preventDefault(); + window.location.href = 'https://beta.video.fsmpi.rwth-aachen.de' + window.location.pathname; + }); + }); + </script> + </li> + {% for grouper, list in navbar|rejectattr("group", "none")|groupby("group") if ismod() %} <li{% if request.endpoint in list|map(attribute='endpoint') %} class="active dropdown"{% endif %}> <a data-toggle="dropdown" data-boundary="viewport" class="dropdown-toggle" style="padding: 10px 6px; cursor: pointer;">{{ grouper }}<span class="caret"></span></a>