Merge pull request #753 from glowing-bear/gh-pages-tls-info

[WAIT] Add TLS info button to www.glowing-bear.org
gh-pages
David Cormier 9 years ago
commit 11aa21ee69
  1. 4
      index.html
  2. 1
      js/glowingbear.js
  3. 4
      min.js
  4. 2
      min.map

@ -39,6 +39,10 @@
<span>Glowing Bear</span>
<small>WeeChat web frontend</small>
</h2>
<div class="alert alert-info alert-dismissable" ng-show="!settings.hideTLSinfo">
<a href="#" class="close" ng-click="settings.hideTLSinfo=true;" aria-label="close">&times;</a>
<strong>We now support TLS!</strong> If you're using an encrypted relay, you should change your bookmarks to <a href="https://www.glowing-bear.org" style="">http<span style="color:#090; font-weight:bold">s</span>://www.glowing-bear.org</a>
</div>
<div class="alert alert-danger" ng-show="errorMessage">
<strong>Connection error</strong> The client was unable to connect to the WeeChat relay
</div>

@ -47,6 +47,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
'enableJSEmoji': (utils.isMobileUi() ? false : true),
'enableMathjax': false,
'customCSS': '',
'hideTLSinfo': false,
});
$scope.settings = settings;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save