add a disconnect button
This commit is contained in:
parent
03523da2f4
commit
70ff24bd10
|
@ -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;
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue