add a disconnect button
This commit is contained in:
parent
03523da2f4
commit
70ff24bd10
2 changed files with 4 additions and 1 deletions
|
@ -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…
Reference in a new issue