GUAC-1376: Add reconnect button style.

This commit is contained in:
Michael Jumper
2015-11-02 13:35:09 -08:00
parent 835cb21315
commit f708e4b204
3 changed files with 20 additions and 22 deletions

View File

@@ -170,8 +170,9 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams
* Action which replaces the current client with a newly-connected client.
*/
var RECONNECT_ACTION = {
name : "CLIENT.ACTION_RECONNECT",
callback : function reconnectCallback() {
name : "CLIENT.ACTION_RECONNECT",
className : "reconnect button",
callback : function reconnectCallback() {
$scope.client = guacClientManager.replaceManagedClient($routeParams.id, $routeParams.params);
guacNotification.showStatus(false);
}

View File

@@ -79,30 +79,22 @@ input[type="submit"]:disabled, button:disabled, button.danger:disabled {
opacity: 0.75;
}
.button.logout,
button.logout,
.button.manage,
button.manage,
.button.back,
button.back,
.button.home,
button.home,
.button.change-password,
button.change-password {
.button.logout, button.logout,
.button.reconnect, button.reconnect,
.button.manage, button.manage,
.button.back, button.back,
.button.home, button.home,
.button.change-password, button.change-password {
position: relative;
padding-left: 1.8em;
}
.button.logout::before,
button.logout::before,
.button.manage::before,
button.manage::before,
.button.back::before,
button.back::before,
.button.home::before,
button.home::before,
.button.change-password::before,
button.change-password::before {
.button.logout::before, button.logout::before,
.button.reconnect::before, button.reconnect::before,
.button.manage::before, button.manage::before,
.button.back::before, button.back::before,
.button.home::before, button.home::before,
.button.change-password::before, button.change-password::before {
content: ' ';
position: absolute;
left: 0;
@@ -119,6 +111,11 @@ button.logout::before {
background-image: url('images/action-icons/guac-logout.png');
}
.button.reconnect::before,
button.reconnect::before {
background-image: url('images/circle-arrows.png');
}
.button.manage::before,
button.manage::before {
background-image: url('images/action-icons/guac-config.png');

Binary file not shown.

After

Width:  |  Height:  |  Size: 888 B