refresh btn
This commit is contained in:
parent
2889e388e4
commit
dbe6f62956
@ -293,6 +293,12 @@ header {
|
|||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.refresh-btn {
|
||||||
|
border: 1px solid whitesmoke;
|
||||||
|
float: right;
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
.create-form {
|
.create-form {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
||||||
@ -449,7 +455,7 @@ table td {
|
|||||||
transition-timing-function: ease;
|
transition-timing-function: ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
table td:active {
|
.vbox-table table td:active {
|
||||||
background-color: whitesmoke;
|
background-color: whitesmoke;
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,6 +26,7 @@ function Menu(args) {
|
|||||||
sendInstanceState,
|
sendInstanceState,
|
||||||
sendPlayerMmCrypsSet,
|
sendPlayerMmCrypsSet,
|
||||||
sendInstanceJoin,
|
sendInstanceJoin,
|
||||||
|
sendInstanceList,
|
||||||
sendCrypSpawn,
|
sendCrypSpawn,
|
||||||
instances,
|
instances,
|
||||||
} = args;
|
} = args;
|
||||||
@ -78,6 +79,9 @@ function Menu(args) {
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{instancePanels}
|
{instancePanels}
|
||||||
|
<tr className="right" onClick={() => sendInstanceList()}>
|
||||||
|
<td colSpan={3} >↺</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<InstanceCreateForm />
|
<InstanceCreateForm />
|
||||||
|
|||||||
@ -29,12 +29,17 @@ const addState = connect(
|
|||||||
return ws.sendInstanceState(instance.id);
|
return ws.sendInstanceState(instance.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function sendInstanceList() {
|
||||||
|
return ws.sendAccountInstances();
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
account,
|
account,
|
||||||
cryps,
|
cryps,
|
||||||
selectedCryps,
|
selectedCryps,
|
||||||
sendInstanceJoin,
|
sendInstanceJoin,
|
||||||
sendInstanceState,
|
sendInstanceState,
|
||||||
|
sendInstanceList,
|
||||||
sendCrypSpawn,
|
sendCrypSpawn,
|
||||||
sendPlayerMmCrypsSet,
|
sendPlayerMmCrypsSet,
|
||||||
instances,
|
instances,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user