mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
TLS Switching button
This commit is contained in:
parent
01510fa8bd
commit
a0069a0b6c
2 changed files with 10 additions and 0 deletions
|
@ -56,6 +56,9 @@ nav {
|
|||
.button-wrapper > .btn {
|
||||
width: 40px;
|
||||
}
|
||||
.button-wrapper > .btn-ssl {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
|
@ -8,6 +8,13 @@
|
|||
</div>
|
||||
|
||||
<div class="nav navbar-form navbar-right button-wrapper">
|
||||
<? if(startswith('//', @$GLOBALS['CONFIG']['BASEURL'])): ?>
|
||||
<a class="form-control btn btn-ssl btn-<?= ssl() ? 'success' : 'warning' ?>" href="<?=h( (ssl() ? 'http:' : 'https:').$GLOBALS['CONFIG']['BASEURL'])?>">
|
||||
<span class="fa fa-<?= ssl() ? 'lock' : 'unlock-alt' ?>"></span>
|
||||
TLS
|
||||
</a>
|
||||
<? endif ?>
|
||||
|
||||
<? if(!$conference->isClosed() && $feedback->isEnabled()): ?>
|
||||
<a class="form-control btn btn-default" href="<?=h($feedback->getUrl())?>">
|
||||
<span class="fa fa-bullhorn"></span>
|
||||
|
|
Loading…
Reference in a new issue