add a disconnect button

with-route-provider
Tor Hveem 12 years ago
parent 03523da2f4
commit 70ff24bd10
  1. 3
      css/glowingbear.css
  2. 2
      js/websockets.js

@ -94,6 +94,7 @@ input[type=text], input[type=password] {
width: 100%;
height: 25px;
z-index: 1;
line-height: 25px;
}
#topbar .brand {
height: 25px;
@ -105,6 +106,8 @@ input[type=text], input[type=password] {
#topbar .title {
padding-left: 14%;
}
#topbar .actions {
}
#topbar, #sidebar, .panel {
background: #282828;

@ -515,7 +515,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
$scope.connect = function() {
connection.connect($scope.host, $scope.port, $scope.password, $scope.ssl);
}
$scope.discconnect = function() {
$scope.disconnect = function() {
connection.disconnect();
}

Loading…
Cancel
Save