aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--assets/css/_structure.less3
-rw-r--r--template/assemblies/header.phtml7
2 files changed, 10 insertions, 0 deletions
diff --git a/assets/css/_structure.less b/assets/css/_structure.less
index 6500773..89f91a6 100644
--- a/assets/css/_structure.less
+++ b/assets/css/_structure.less
@@ -56,6 +56,9 @@ nav {
.button-wrapper > .btn {
width: 40px;
}
+ .button-wrapper > .btn-ssl {
+ width: auto;
+ }
}
body {
diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml
index cdffea7..9043c82 100644
--- a/template/assemblies/header.phtml
+++ b/template/assemblies/header.phtml
@@ -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>