add a disconnect button

This commit is contained in:
Tor Hveem 2013-10-16 14:44:44 +02:00
parent 03523da2f4
commit 70ff24bd10
2 changed files with 4 additions and 1 deletions

View File

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

View File

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