changed cancel current button placement and style

This commit is contained in:
Abdallah Soliman
2016-08-26 22:54:03 -05:00
parent 7f1caff2e8
commit 9fe78243f6
2 changed files with 21 additions and 23 deletions

View File

@@ -334,7 +334,7 @@ function showApps() {
});
});
$("#game-grid").append($("<div>", {html:$("<img src=static\\res\\ic_remove_circle_white_24px.svg id=quitCurrentApp\>"), class: 'cancel-cell mdl-cell mdl-cell--3-col'}).append($("<span>", {html: 'Quit Current App', class:"game-title"})));
$(".mdl-layout__header-row").append($("<div>", {html:$("<img src=static\\res\\ic_remove_circle_white_24px.svg id=quitCurrentApp\>"), class: 'cancel-current'}).append($("<span>", {html: 'Quit Current App', class:"game-title"})));
$('#quitCurrentApp').on('click', function() {api.quitApp(); api.refreshServerInfo(); });
}, function (failedAppList) {