mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 00:26:56 +00:00
Host grid accessible
This commit is contained in:
parent
9cd90d5a8d
commit
8689032369
@ -92,7 +92,7 @@
|
||||
<div id="host-grid">
|
||||
<div class="page-title">Your PCs</div>
|
||||
<div class="add-host-card mdl-card mdl-shadow--4dp" id='addHostCell'>
|
||||
<div class="mdl-card__title mdl-card--expand" id="addHostIcon">
|
||||
<div class="mdl-card__title mdl-card--expand" id="addHostIcon" role="link" tabindex="0" aria-label="Add Host">
|
||||
<h2 class="mdl-card__title-text" >Add Host</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -336,10 +336,10 @@ function addHost() {
|
||||
// host is an NvHTTP object
|
||||
function addHostToGrid(host, ismDNSDiscovered) {
|
||||
|
||||
var outerDiv = $("<div>", {class: 'host-container mdl-card mdl-shadow--4dp', id: 'host-container-' + host.serverUid });
|
||||
var outerDiv = $("<div>", {class: 'host-container mdl-card mdl-shadow--4dp', id: 'host-container-' + host.serverUid, role: 'link', tabindex: 0, 'aria-label': host.hostname });
|
||||
var cell = $("<div>", {class: 'mdl-card__title mdl-card--expand', id: 'hostgrid-' + host.serverUid });
|
||||
$(cell).prepend($("<h2>", {class: "mdl-card__title-text", html: host.hostname}));
|
||||
var removalButton = $("<div>", {class: "remove-host", id: "removeHostButton-" + host.serverUid});
|
||||
var removalButton = $("<div>", {class: "remove-host", id: "removeHostButton-" + host.serverUid, role: 'button', tabindex: 0, 'aria-label': 'Remove host ' + host.hostname});
|
||||
removalButton.off('click');
|
||||
removalButton.click(function () {
|
||||
removeClicked(host);
|
||||
|
Loading…
x
Reference in New Issue
Block a user